From cb9605430dc3347c1187daf525ceffeda94492d1 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 4 Jan 2023 18:07:18 +0300 Subject: [PATCH] filesystem: bump FS_API_VERSION (removed unused argument from SysFileExists) --- filesystem/filesystem.h | 6 +++--- filesystem/filesystem_internal.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/filesystem/filesystem.h b/filesystem/filesystem.h index e9b0a2df..762c11fd 100644 --- a/filesystem/filesystem.h +++ b/filesystem/filesystem.h @@ -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 diff --git a/filesystem/filesystem_internal.h b/filesystem/filesystem_internal.h index fb586ebb..b60c271e 100644 --- a/filesystem/filesystem_internal.h +++ b/filesystem/filesystem_internal.h @@ -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 );