|
| QFile * | _QFS_FOpenFile (const char *filename, int zip) |
| | Open a file for reading. More...
|
| |
| QFile * | _QFS_VOpenFile (const char *filename, int zip, const vpath_t *start, const vpath_t *end) |
| |
| char * | QFS_CompressPath (const char *pth) |
| | Create a canonical path. More...
|
| |
| void | QFS_DefaultExtension (dstring_t *path, const char *extension) |
| | Set the file extention if not already present. More...
|
| |
| char * | QFS_FileBase (const char *in) |
| | Extract the non-extension part of the file name from the path. More...
|
| |
| const char * | QFS_FileExtension (const char *in) |
| | Return a pointer to the start of the extention part of the path. More...
|
| |
| void | QFS_FilelistAdd (filelist_t *filelist, const char *fname, const char *ext) |
| | Add a single file to the file list. More...
|
| |
| void | QFS_FilelistFill (filelist_t *list, const char *path, const char *ext, int strip) |
| | Add files from the gamedir within the specified path. More...
|
| |
| void | QFS_FilelistFree (filelist_t *list) |
| | Free a file list. More...
|
| |
| filelist_t * | QFS_FilelistNew (void) |
| | Create a new file list. More...
|
| |
| findfile_t * | QFS_FindFile (const char *fname, const vpath_t *start, const vpath_t *end) |
| | Search for a file in the quake file-system. More...
|
| |
| QFile * | QFS_FOpenFile (const char *filename) |
| | Open a file for reading. More...
|
| |
| void | QFS_Gamedir (const char *gamedir) |
| | Change the current game directory. More...
|
| |
| void | QFS_GamedirCallback (gamedir_callback_t *func) |
| | Register a callback function for when the gamedir changes. More...
|
| |
| void | QFS_Init (const char *game) |
| | Initialize the Quake Filesystem. More...
|
| |
| void | QFS_LoadCacheFile (QFile *file, struct cache_user_s *cu) |
| | Load a file into memeory. More...
|
| |
| byte * | QFS_LoadFile (QFile *file, int usehunk) |
| | Load a file into memory. More...
|
| |
| byte * | QFS_LoadHunkFile (QFile *file) |
| | Load a file into memeory. More...
|
| |
| int | QFS_NextFilename (dstring_t *filename, const char *prefix, const char *ext) |
| | Find available filename. More...
|
| |
| QFile * | QFS_Open (const char *path, const char *mode) |
| | Open a file from within the user directory. More...
|
| |
| int | QFS_Remove (const char *path) |
| | Delete a file. More...
|
| |
| int | QFS_Rename (const char *old_path, const char *new_path) |
| | Rename a file. More...
|
| |
| void | QFS_SetExtension (struct dstring_s *path, const char *extension) |
| | Set the file extention. More...
|
| |
| const char * | QFS_SkipPath (const char *pathname) |
| | Return a pointer to the start of the filename part of the path. More...
|
| |
| void | QFS_StripExtension (const char *in, char *out) |
| | Remove any extension from the path. More...
|
| |
| QFile * | QFS_VOpenFile (const char *filename, const vpath_t *start, const vpath_t *end) |
| |
| QFile * | QFS_WOpen (const char *path, int zip) |
| | Open a file for writing. More...
|
| |
| void | QFS_WriteFile (const char *filename, const void *data, int len) |
| | Write a block of data to a file. More...
|
| |