]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.h
removed detection of GL_NV_texture_shader extension which was previously used for...
[xonotic/darkplaces.git] / fs.h
diff --git a/fs.h b/fs.h
index c86870f9e0c4fa5e6313aaace46d8fa4971c5660..a55df4b7f637d7cbcc53f11e9daeae52a6de48dc 100644 (file)
--- a/fs.h
+++ b/fs.h
@@ -44,7 +44,6 @@ typedef long long fs_offset_t;
 extern char fs_gamedir [MAX_OSPATH];
 extern char fs_basedir [MAX_OSPATH];
 
-extern fs_offset_t fs_filesize;  // set by FS_Open (in "read" mode) and FS_LoadFile
 
 
 // ------ Main functions ------ //
@@ -77,7 +76,7 @@ fssearch_t;
 fssearch_t *FS_Search(const char *pattern, int caseinsensitive, int quiet);
 void FS_FreeSearch(fssearch_t *search);
 
-unsigned char *FS_LoadFile (const char *path, mempool_t *pool, qboolean quiet);
+unsigned char *FS_LoadFile (const char *path, mempool_t *pool, qboolean quiet, fs_offset_t *filesizepointer);
 qboolean FS_WriteFile (const char *filename, void *data, fs_offset_t len);