X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=fs.h;h=05b869ca1ac41bad6e293134ab0c484f9af7d881;hb=da5398503836b26289ad12f270f28a74f78a37d9;hp=7a409e54ff5016dbdda417ffe748790f91a755ce;hpb=57252d1b300d96b2353bf9d564b0de281552d2c5;p=xonotic%2Fdarkplaces.git diff --git a/fs.h b/fs.h index 7a409e54..05b869ca 100644 --- a/fs.h +++ b/fs.h @@ -1,5 +1,5 @@ /* - Quake file system + DarkPlaces file system Copyright (C) 2003 Mathieu Olivier @@ -36,13 +36,13 @@ typedef struct qfile_s qfile_t; extern char fs_gamedir [MAX_OSPATH]; extern char fs_basedir [MAX_OSPATH]; -extern int fs_filesize; // set by FS_Open and FS_LoadFile +extern int fs_filesize; // set by FS_Open (in "read" mode) and FS_LoadFile // ------ Main functions ------ // -// NOTE: the file path is automatically prefixed by the current game directory for each -// file created by FS_WriteFile, or opened in "write" or "append" mode by FS_Open +// IMPORTANT: the file path is automatically prefixed by the current game directory for +// each file created by FS_WriteFile, or opened in "write" or "append" mode by FS_Open qfile_t *FS_Open (const char* filepath, const char* mode, qboolean quiet); int FS_Close (qfile_t* file);