diff options
author | Ladislav Zezula <zezula-at-volny-dot-cz> | 2018-06-13 15:49:23 +0200 |
---|---|---|
committer | Ladislav Zezula <zezula-at-volny-dot-cz> | 2018-06-13 15:49:23 +0200 |
commit | 4ad0bff21da0163917e1552960e6a43679586b89 (patch) | |
tree | 7bb0a72169c2a4736fc45ba563d1afc6a04f26c0 /src/StormLib.h | |
parent | 7292399efefe279c2f090d70ec7abf462a3f7f96 (diff) |
+ When opening a file by special name, the file is first checked whether that file is there.
Diffstat (limited to 'src/StormLib.h')
-rw-r--r-- | src/StormLib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StormLib.h b/src/StormLib.h index a0738d1..b9f60a4 100644 --- a/src/StormLib.h +++ b/src/StormLib.h @@ -1077,7 +1077,7 @@ bool WINAPI SFileCreateFile(HANDLE hMpq, const char * szArchivedName, ULONGLON bool WINAPI SFileWriteFile(HANDLE hFile, const void * pvData, DWORD dwSize, DWORD dwCompression); bool WINAPI SFileFinishFile(HANDLE hFile); -bool WINAPI SFileAddFileEx(HANDLE hMpq, const TCHAR * szFileName, const char * szArchivedName, DWORD dwFlags, DWORD dwCompression, DWORD dwCompressionNext); +bool WINAPI SFileAddFileEx(HANDLE hMpq, const TCHAR * szFileName, const char * szArchivedName, DWORD dwFlags, DWORD dwCompression, DWORD dwCompressionNext = MPQ_COMPRESSION_NEXT_SAME); bool WINAPI SFileAddFile(HANDLE hMpq, const TCHAR * szFileName, const char * szArchivedName, DWORD dwFlags); bool WINAPI SFileAddWave(HANDLE hMpq, const TCHAR * szFileName, const char * szArchivedName, DWORD dwFlags, DWORD dwQuality); bool WINAPI SFileRemoveFile(HANDLE hMpq, const char * szFileName, DWORD dwSearchScope); |