25 #include "common/hashmap.h" 26 #include "common/hash-str.h" 27 #include "common/stream.h" 28 #include "common/archive.h" 29 #include "common/str.h" 30 #include "common/util.h" 73 bool decompressFile(byte *&fileBuf,
const FileEntry &entry);
74 const FolderEntry *getFolder()
const {
79 const FolderEntry *_curFolder;
81 byte *_compressedBlock, *_decompressedBlock;
83 uint16 _startBlock, _inBlockStart, _endBlock, _inBlockEnd;
85 void copyBlock(byte *&data_ptr)
const;
88 kMszipCompression = 1,
89 kCabBlockSize = 0x8000,
90 kCabInputmax = kCabBlockSize + 12
94 mutable Decompressor *_decompressor;
98 mutable CacheMap _cache;
bool hasFile(const Common::Path &path) const override
Definition: archive.h:141
const Common::ArchiveMemberPtr getMember(const Common::Path &path) const override
Common::SeekableReadStream * createReadStreamForMember(const Common::Path &path) const override
int listMembers(Common::ArchiveMemberList &list) const override