diff options
author | Zezula Ladislav <ladislav.zezula@avast.com> | 2017-08-17 10:20:11 +0200 |
---|---|---|
committer | Zezula Ladislav <ladislav.zezula@avast.com> | 2017-08-17 10:20:11 +0200 |
commit | adac4aa0f586c7aa2a3c19aa4e687d827dc86195 (patch) | |
tree | b3f5243778c5a0fb53945364826de356a8146871 /src/StormLib.h | |
parent | 2576998c8841c2d72d7d3fd9cb4f99aa1fbc2cd1 (diff) |
+ Fixed issue "Internal Files Creation Settings #96"
Diffstat (limited to 'src/StormLib.h')
-rw-r--r-- | src/StormLib.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/StormLib.h b/src/StormLib.h index ca84cbc..f7512e5 100644 --- a/src/StormLib.h +++ b/src/StormLib.h @@ -220,6 +220,8 @@ extern "C" { #define MPQ_FILE_COMPRESS_MASK 0x0000FF00 // Mask for a file being compressed +#define MPQ_FILE_DEFAULT_INTERNAL 0xFFFFFFFF // Use default flags for internal files + #define MPQ_FILE_VALID_FLAGS (MPQ_FILE_IMPLODE | \ MPQ_FILE_COMPRESS | \ MPQ_FILE_ENCRYPTED | \ @@ -915,9 +917,9 @@ typedef struct _SFILE_CREATE_MPQ void *pvUserData; // Reserved, must be NULL DWORD cbUserData; // Reserved, must be 0 DWORD dwStreamFlags; // Stream flags for creating the MPQ - DWORD dwFileFlags1; // File flags for (listfile). 0 = default - DWORD dwFileFlags2; // File flags for (attributes). 0 = default - DWORD dwFileFlags3; // File flags for (signature). 0 = default + DWORD dwFileFlags1; // File flags for (listfile). Use MPQ_FILE_DEFAULT_INTERNAL to set default flags + DWORD dwFileFlags2; // File flags for (attributes). Use MPQ_FILE_DEFAULT_INTERNAL to set default flags + DWORD dwFileFlags3; // File flags for (signature). Use MPQ_FILE_DEFAULT_INTERNAL to set default flags DWORD dwAttrFlags; // Flags for the (attributes) file. If 0, no attributes will be created DWORD dwSectorSize; // Sector size for compressed files DWORD dwRawChunkSize; // Size of raw data chunk |