diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-06-15 22:09:26 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 21:28:20 +0000 |
commit | fad34584b3019a9c46b4b2255e6428ffc3aa04b3 (patch) | |
tree | 6b68be8be7b66c6671cbba3928145794b420c7e8 /src/renderer | |
parent | 7de3b3918c13d34da9a8a468ee7bbe4c70504e87 (diff) |
- Small change to search path order - local files not in .pk3s take precedence over files in pk3s. Should make life easier for modders/mappers wanting to override textures that are already contained in some older pk3 - Make VM loading more robust, change loading order: when vm_* == 0 first try loading DLL, then QVM in *each* search directory/path - Fix FS_FileForHandle that would return a FILE pointer to invalid file handle 0
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/tr_public.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/tr_public.h b/src/renderer/tr_public.h index 5126ab49..1a7d93c2 100644 --- a/src/renderer/tr_public.h +++ b/src/renderer/tr_public.h @@ -149,7 +149,7 @@ typedef struct { // a -1 return means the file does not exist // NULL can be passed for buf to just determine existance int (*FS_FileIsInPAK)( const char *name, int *pCheckSum ); - int (*FS_ReadFile)( const char *name, void **buf ); + long (*FS_ReadFile)( const char *name, void **buf ); void (*FS_FreeFile)( void *buf ); char ** (*FS_ListFiles)( const char *name, const char *extension, int *numfilesfound ); void (*FS_FreeFileList)( char **filelist ); |