22 #ifndef MYST3_ARCHIVE_H 23 #define MYST3_ARCHIVE_H 25 #include "common/array.h" 26 #include "common/file.h" 28 #include "math/vector3d.h" 33 class ResourceDescription;
43 kMagneticEffectMask = 3,
44 kShieldEffectMask = 4,
53 kLocalizedSpotItem = 69,
55 kMultitrackMovie = 72,
79 ResourceDescriptionArray listFilesMatching(
const Common::String &room, uint32 index, uint16 face,
86 bool open(
const char *fileName,
const char *room);
90 uint32 getDirectorySize()
const {
return _directorySize; }
95 uint32 _directorySize;
124 bool isValid()
const {
return _archive && _subentry; }
127 uint16 getFace()
const {
return _subentry->face; }
128 Archive::ResourceType getType()
const {
return _subentry->type; }
131 uint32 getMiscData(uint index)
const;
143 virtual void visitArchive(
Archive &archive) {}
Definition: archive.h:139
Definition: archive.h:112
Definition: archive.h:107
Definition: archive.h:105