25 #ifndef AURORA_OBBFILE_H 26 #define AURORA_OBBFILE_H 38 class SeekableReadStream;
99 #endif // AURORA_OBBFILE_H OBBFile(Common::SeekableReadStream *obb)
Take over this stream and read an OBB file out of it.
uint32 uncompressedSize
The resource's uncompressed size.
const ResourceList & getResources() const
Return the list of resources.
Common::ScopedPtr< Common::SeekableReadStream > _obb
const IResource & getIResource(uint32 index) const
Handling various archive files.
ResourceList _resources
External list of resource names and types.
A simple scoped smart pointer template.
std::vector< IResource > IResourceList
void load(Common::SeekableReadStream &obb)
std::list< Resource > ResourceList
uint32 getResourceSize(uint32 index) const
Return the size of a resource.
Base for BioWare's Aurora engine files.
uint32 compressedSize
The resource's compressed size.
Internal resource information.
uint32 offset
The offset of the resource within the OBB.
Low-level type definitions to handle fixed width types portably.
Common::SeekableReadStream * getResource(uint32 index, bool tryNoCopy=false) const
Return a stream of the resource's contents.
Basic type definitions to handle files used in BioWare's Aurora engine.
void readResList(Common::SeekableReadStream &index)
Common::SeekableReadStream * getIndex(Common::SeekableReadStream &obb)
IResourceList _iResources
Internal list of resource offsets and sizes.
An abstract file archive.
Class to hold resource data of an OBB virtual filesystem.
Interface for a seekable & readable data stream.