X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=fs.h;h=c65b8525808f4496f0fc876a080c919ff896b2c0;hb=edd06453afd2b08aed878292f6bde5f9bc8ec0ca;hp=a55df4b7f637d7cbcc53f11e9daeae52a6de48dc;hpb=ea3f4513f96a21ae1bcbaae4a4997968ace1ab95;p=xonotic%2Fdarkplaces.git diff --git a/fs.h b/fs.h index a55df4b7..c65b8525 100644 --- a/fs.h +++ b/fs.h @@ -51,6 +51,8 @@ extern char fs_basedir [MAX_OSPATH]; // 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 +qboolean FS_AddPack(const char *pakfile, qboolean *already_loaded, qboolean keep_plain_dirs); // already_loaded may be NULL if caller does not care +const char *FS_WhichPack(const char *filename); qfile_t *FS_Open (const char* filepath, const char* mode, qboolean quiet, qboolean nonblocking); int FS_Close (qfile_t* file); fs_offset_t FS_Write (qfile_t* file, const void* data, size_t datasize);