33 #ifndef AGS_SHARED_UTIL_MULTI_FILE_LIB_H 34 #define AGS_SHARED_UTIL_MULTI_FILE_LIB_H 36 #include "ags/shared/core/asset.h" 37 #include "ags/shared/util/stream.h" 50 kMFLErrLibVersion = -2,
51 kMFLErrNoLibBase = -3,
52 kMFLErrLibAssetCount = -4,
53 kMFLErrAssetNameLong = -5
57 kMFLVersion_SingleLib = 6,
58 kMFLVersion_MultiV10 = 10,
59 kMFLVersion_MultiV11 = 11,
60 kMFLVersion_MultiV15 = 15,
61 kMFLVersion_MultiV20 = 20,
62 kMFLVersion_MultiV21 = 21,
63 kMFLVersion_MultiV30 = 30
67 const size_t MaxMultiLibFiles = 256;
69 MFLError TestIsMFL(Stream *in,
bool test_is_main =
false);
70 MFLError ReadHeader(AssetLibInfo &lib, Stream *in);
72 void WriteHeader(
const AssetLibInfo &lib, MFLVersion lib_version,
int lib_index, Stream *out);
73 void WriteEnder(soff_t lib_offset, MFLVersion lib_index, Stream *out);
Definition: achievements_tables.h:27