Public Member Functions | |
hResource (const char *resname) | |
hResContext * | newContext (hResID id, const char []) |
void | disposeContext (hResContext *con) |
void | readEntry (hResEntry &element) |
void | readResource (hResEntry &element) |
Public Member Functions inherited from Saga2::hResContext | |
hResContext (hResContext *sire, hResID id, const char []) | |
uint32 | getResID () |
uint32 | size (hResID id) |
uint32 | count () |
uint32 | count (hResID id) |
bool | seek (hResID id) |
void | rest () |
uint32 | readbytes (void *buffer, uint32 size) |
bool | eor () |
size_t | bytesleft () |
bool | read (void *buffer, uint32 size) |
bool | skip (uint32 amount) |
bool | get (hResID id, void *buffer, uint32 size) |
uint32 | getSize (hResID id, const char desc[]) |
byte * | loadResource (hResID id, const char desc[], const Common::Path &filename=Common::Path()) |
byte * | loadIndexResource (int16 index, const char desc[], const Common::Path &filename=Common::Path()) |
void | releaseIndexData () |
Common::File * | resFileHandle () |
Additional Inherited Members | |
Public Attributes inherited from Saga2::hResContext | |
bool | _valid |
Common::Path | _filename |
Protected Member Functions inherited from Saga2::hResContext | |
hResEntry * | findEntry (hResID id) |
Protected Attributes inherited from Saga2::hResContext | |
uint16 | _numEntries |
hResource * | _res |
hResContext * | _parent |
hResEntry * | _base |
DataMap | _indexData |
Common::File | _file |
Common::File * | _handle |
uint32 | _bytecount |
uint32 | _bytepos |