-
Global Mossaderator
openfile is a stock function that only reads in the scriptdata directory.
You should look into the fopen, fread and fclose functions.
The documentation is missing these functions.
https://github.com/voron00/libcod/bl...utils.cpp#L588
https://en.cppreference.com/w/cpp/io/c/fopen
Last edited by Mitch; 23rd July 2023 at 20:12.
-
The Following User Says Thank You to Mitch For This Useful Post:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules