22 #ifndef ULTIMA_SHARED_ENGINE_DATA_ARCHIVE_H 23 #define ULTIMA_SHARED_ENGINE_DATA_ARCHIVE_H 25 #include "common/archive.h" 26 #include "common/fs.h" 27 #include "common/path.h" 46 _zip(zip), _publicFolder(
"data/"), _innerfolder(subfolder) {}
83 const Common::Path &pattern,
bool matchPathComponents =
false)
const override;
110 #ifndef RELEASE_BUILD 151 const Common::Path &pattern,
bool matchPathComponents =
false)
const override;
Common::SeekableReadStream * createReadStreamForMember(const Common::Path &path) const override
int listMatchingMembers(Common::ArchiveMemberList &list, const Common::Path &pattern, bool matchPathComponents=false) const override
Definition: data_archive.h:119
static bool load(const Common::Path &subfolder, int reqMajorVersion, int reqMinorVersion, Common::U32String &errorMsg)
bool isRelativeTo(const Common::Path &other) const
Definition: path.h:480
bool hasFile(const Common::Path &path) const override
Definition: data_archive.h:140
Definition: archive.h:141
Definition: detection.h:27
bool hasFile(const Common::Path &path) const override
const Common::ArchiveMemberPtr getMember(const Common::Path &path) const override
Path relativeTo(const Common::Path &other) const
Definition: data_archive.h:38
int listMembers(Common::ArchiveMemberList &list) const override
bool isPathDirectory(const Common::Path &path) const override
WARN_UNUSED_RESULT Path join(const Path &x) const
Definition: path.h:449