extern char fs_gamedir [MAX_OSPATH];
extern char fs_basedir [MAX_OSPATH];
+extern char fs_userdir [MAX_OSPATH];
// list of active game directories (empty if not running a mod)
#define MAX_GAMEDIRS 16
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);
-int FS_SysOpenFD(const char *filepath, const char *mode, qboolean nonblocking);
+void FS_CreatePath (char *path);
+int FS_SysOpenFD(const char *filepath, const char *mode, qboolean nonblocking); // uses absolute path
+qfile_t* FS_SysOpen (const char* filepath, const char* mode, qboolean nonblocking); // uses absolute path
qfile_t* FS_OpenRealFile (const char* filepath, const char* mode, qboolean quiet);
qfile_t* FS_OpenVirtualFile (const char* filepath, qboolean quiet);
qfile_t* FS_FileFromData (const unsigned char *data, const size_t size, qboolean quiet);
qboolean FS_HasZlib(void);
+void FS_Init_SelfPack(void);
+void FS_Init(void);
+void FS_Shutdown(void);
+void FS_Init_Commands(void);
+
#endif