Browse Source

filesystem: bump FS_API_VERSION (removed unused argument from SysFileExists)

pull/2/head
Alibek Omarov 2 years ago
parent
commit
cb9605430d
  1. 6
      filesystem/filesystem.h
  2. 2
      filesystem/filesystem_internal.h

6
filesystem/filesystem.h

@ -28,8 +28,8 @@ extern "C" @@ -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 @@ -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

2
filesystem/filesystem_internal.h

@ -172,7 +172,7 @@ int FS_FileTime( const char *filename, qboolean gamedironly ); @@ -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 );

Loading…
Cancel
Save