filesystem: bump FS_API_VERSION (removed unused argument from SysFileExists)

This commit is contained in:
Alibek Omarov 2023-01-04 18:07:18 +03:00
parent 80507b2eca
commit cb9605430d
2 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,8 @@ extern "C"
{
#endif // __cplusplus
#define FS_API_VERSION 1 // not stable yet!
#define FS_API_CREATEINTERFACE_TAG "XashFileSystem001" // follow FS_API_VERSION!!!
#define FS_API_VERSION 2 // not stable yet!
#define FS_API_CREATEINTERFACE_TAG "XashFileSystem002" // follow FS_API_VERSION!!!
// search path flags
enum
@ -176,7 +176,7 @@ typedef struct fs_api_t
fs_offset_t (*FileSize)( const char *filename, qboolean gamedironly );
qboolean (*Rename)( const char *oldname, const char *newname );
qboolean (*Delete)( const char *path );
qboolean (*SysFileExists)( const char *path, qboolean casesensitive );
qboolean (*SysFileExists)( const char *path );
const char *(*GetDiskPath)( const char *name, qboolean gamedironly );
// file watcher

View File

@ -172,7 +172,7 @@ int FS_FileTime( const char *filename, qboolean gamedironly );
fs_offset_t FS_FileSize( const char *filename, qboolean gamedironly );
qboolean FS_Rename( const char *oldname, const char *newname );
qboolean FS_Delete( const char *path );
qboolean FS_SysFileExists( const char *path, qboolean casesensitive );
qboolean FS_SysFileExists( const char *path );
const char *FS_GetDiskPath( const char *name, qboolean gamedironly );
void FS_CreatePath( char *path );
qboolean FS_SysFolderExists( const char *path );