22 #ifndef DIRECTOR_ARCHIVE_H 23 #define DIRECTOR_ARCHIVE_H 25 #include "common/file.h" 29 class SeekableMemoryWriteStream;
30 class SeekableReadStreamEndian;
31 class SeekableReadStream;
44 uint32 compressionType;
64 void setPathName(
const Common::Path &name) { _pathName = name; }
65 virtual uint32 getFileSize();
67 bool isOpen()
const {
return _stream != 0; }
69 bool hasResource(uint32 tag,
int id)
const;
73 virtual Resource getResourceDetail(uint32 tag, uint16
id);
74 uint32 getOffset(uint32 tag, uint16
id)
const;
75 uint16 findResourceID(uint32 tag,
const Common::String &resName,
bool ignoreCase =
false)
const;
82 static uint32 convertTagToUppercase(uint32 tag);
86 void listUnaccessedChunks();
95 MovieChunkMap _movieChunks;
105 uint32 getFileSize()
override;
106 void close()
override;
140 Resource getResourceDetail(uint32 tag, uint16
id)
override;
153 uint32 _ilsBodyOffset;
174 bool isLoaded() {
return _isLoaded; }
Definition: archive.h:100
Definition: macresman.h:125
Definition: archive.h:165
Definition: archive.h:130
Definition: archive.h:141
Path
Definition: game.h:75
Definition: algorithm.h:29
Definition: archive.h:118
Definition: memstream.h:155