Skip to content

Commit

Permalink
Update IFileSystem interface to include new API functions from the 25…
Browse files Browse the repository at this point in the history
…th anniversary version
  • Loading branch information
SamVanheer committed Nov 17, 2023
1 parent fae5e01 commit 586b00e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Half-Life Updated changelog

## Changes in V1.0.0 Release Candidate 004

> Note: this release candidate has not been released yet.
### Bug fixes

* Updated IFileSystem interface to include new API functions from the 25th anniversary version

## Changes in V1.0.0 Release Candidate 003

### Bug fixes
Expand Down
3 changes: 3 additions & 0 deletions public/FileSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class IFileSystem : public IBaseInterface
virtual unsigned int Size( const char *pFileName ) = 0;

virtual long GetFileTime( const char *pFileName ) = 0;
virtual int GetFileModificationTime(const char* pFileName) = 0;
virtual void FileTimeToString( char* pStrip, int maxCharsIncludingTerminator, long fileTime ) = 0;

virtual bool IsOk( FileHandle_t file ) = 0;
Expand Down Expand Up @@ -178,6 +179,8 @@ class IFileSystem : public IBaseInterface
virtual FileHandle_t OpenFromCacheForRead( const char *pFileName, const char *pOptions, const char *pathID = 0L ) = 0;

virtual void AddSearchPathNoWrite( const char *pPath, const char *pathID ) = 0;

// More functions here, wait for Valve to release new SDK
};

// Steam3/Src compat
Expand Down

0 comments on commit 586b00e

Please sign in to comment.