mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-19 02:22:01 +00:00
Extra bloaty junk to modernise stuff a bit.
https://fte.triptohell.info/moodles/qss/
* common.c, common.h: Added new structure fshandle_t. Added new procedures FS_fread, FS_fseek, FS_ftell, FS_rewind, FS_feof, FS_ferror and FS_fclose. The new FS_*() stdio replacements are necessary if one is to perform non- sequential reads on files reopened on pak files because bookkeeping about file start/end positions is needed. Allocating and filling in the fshandle_t structure is the users' responsibility when the file is initially opened. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@353 af15c1b1-3010-417e-b628-4374ebc0bcbd |
||
---|---|---|
quakespasm |