22 #ifndef SCUMM_IMUSE_DIGI_BUNDLE_MGR_H 23 #define SCUMM_IMUSE_DIGI_BUNDLE_MGR_H 25 #include "common/scummsys.h" 26 #include "common/file.h" 27 #include "scumm/imuse_digi/dimuse_defs.h" 61 int matchFile(
const char *filename);
64 int32 getNumFiles(
int slot);
65 bool isSndDataExtComp(
int slot);
80 CompTable *_compTable;
83 int _numCompItems = 0;
84 int _lastBlockDecompressedSize = 0;
86 int _curDecompressedFilePos = 0;
88 bool _compTableLoaded = 0;
89 bool _isUncompressed = 0;
90 int _fileBundleId = 0;
91 byte _compOutputBuff[0x2000] = {};
92 byte *_compInputBuff =
nullptr;
95 bool loadCompTable(int32 index);
102 bool open(
const char *filename,
bool &isCompressed,
bool errorFlag =
false);
105 int32 seekFile(int32 offset,
int size);
106 int32 readFile(
const char *name, int32 size, byte **compFinal,
bool headerOutside);
107 bool isExtCompBun(byte gameId);
Definition: dimuse_bndmgr.h:41
Definition: dimuse_bndmgr.h:68
Definition: dimuse_bndmgr.h:33
Definition: dimuse_bndmgr.h:35