mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
filesystem: bump FS_API_VERSION (removed unused argument from SysFileExists)
This commit is contained in:
parent
80507b2eca
commit
cb9605430d
@ -28,8 +28,8 @@ extern "C"
|
|||||||
{
|
{
|
||||||
#endif // __cplusplus
|
#endif // __cplusplus
|
||||||
|
|
||||||
#define FS_API_VERSION 1 // not stable yet!
|
#define FS_API_VERSION 2 // not stable yet!
|
||||||
#define FS_API_CREATEINTERFACE_TAG "XashFileSystem001" // follow FS_API_VERSION!!!
|
#define FS_API_CREATEINTERFACE_TAG "XashFileSystem002" // follow FS_API_VERSION!!!
|
||||||
|
|
||||||
// search path flags
|
// search path flags
|
||||||
enum
|
enum
|
||||||
@ -176,7 +176,7 @@ typedef struct fs_api_t
|
|||||||
fs_offset_t (*FileSize)( const char *filename, qboolean gamedironly );
|
fs_offset_t (*FileSize)( const char *filename, qboolean gamedironly );
|
||||||
qboolean (*Rename)( const char *oldname, const char *newname );
|
qboolean (*Rename)( const char *oldname, const char *newname );
|
||||||
qboolean (*Delete)( const char *path );
|
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 );
|
const char *(*GetDiskPath)( const char *name, qboolean gamedironly );
|
||||||
|
|
||||||
// file watcher
|
// file watcher
|
||||||
|
@ -172,7 +172,7 @@ int FS_FileTime( const char *filename, qboolean gamedironly );
|
|||||||
fs_offset_t FS_FileSize( 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_Rename( const char *oldname, const char *newname );
|
||||||
qboolean FS_Delete( const char *path );
|
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 );
|
const char *FS_GetDiskPath( const char *name, qboolean gamedironly );
|
||||||
void FS_CreatePath( char *path );
|
void FS_CreatePath( char *path );
|
||||||
qboolean FS_SysFolderExists( const char *path );
|
qboolean FS_SysFolderExists( const char *path );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user