53 return _zipFile->getFile(index, tryNoCopy);
58 for (Common::ZipFile::FileList::const_iterator file = files.begin(); file != files.end(); ++file) {
63 res.
index = file->index;
const ResourceList & getResources() const
Return the list of resources.
#define TypeMan
Shortcut for accessing the file type manager.
void reset(PointerType o=0)
Resets the pointer with the new value.
Common::SeekableReadStream * getResource(uint32 index, bool tryNoCopy=false) const
Return a stream of the resource's contents.
uint32 getResourceSize(uint32 index) const
Return the size of a resource.
Utility functions to handle files used in BioWare's Aurora engine.
Common::UString name
The resource's name.
std::list< File > FileList
std::list< Resource > ResourceList
A class encapsulating ZIP file access.
A resource within the archive.
static UString getStem(const UString &p)
Return a file name's stem.
ResourceList _resources
External list of resource names and types.
FileType type
The resource's type.
Interface for a seekable & readable data stream.
Utility class for manipulating file paths.
uint32 index
The resource's local index within the archive.
ZIPFile(Common::SeekableReadStream *zip)
Take over this stream and read a ZIP file out of it.
Common::ScopedPtr< Common::ZipFile > _zipFile
The actual zip file.