Classes | |
| struct | RoomEntry |
Public Member Functions | |
| Resources (AccessEngine *vm) | |
| bool | load (Common::U32String &errorMessage) |
| virtual const byte * | getCursor (int num) const =0 |
| virtual const char * | getEgoName () const =0 |
| virtual int | getRMouse (int i, int j) const =0 |
| virtual int | inButtonXRange (int x) const =0 |
Static Public Member Functions | |
| static Resources * | init (AccessEngine *vm) |
Public Attributes | |
| Common::Array< Common::Path > | FILENAMES |
| Common::Array< Common::Array< byte > > | CHARTBL |
| Common::Array< RoomEntry > | ROOMTBL |
| Common::Array< DeathEntry > | DEATHS |
| Common::Array< InventoryEntry > | INVENTORY |
| Common::String | CANT_GET_THERE |
Protected Member Functions | |
| uint | findEntry (byte gameId, byte discType, byte demoType, Common::Language language) |
| virtual void | load (Common::SeekableReadStream &s) |
Protected Attributes | |
| AccessEngine * | _vm |
| Common::Array< DATEntry > | _datIndex |
|
protected |
Locate a specified entry in the index and return it's file offset
|
protectedvirtual |
Load data from the access.dat file
Reimplemented in Access::Amazon::AmazonResources, and Access::Martian::MartianResources.
| bool Access::Resources::load | ( | Common::U32String & | errorMessage | ) |
Load the access.dat file
|
pure virtual |
Get the raw data for the given cursor number
Implemented in Access::Amazon::AmazonResources, and Access::Martian::MartianResources.
|
pure virtual |
Get the name of the lead character
Implemented in Access::Amazon::AmazonResources, and Access::Martian::MartianResources.
|
pure virtual |
Get the room mouse values
Implemented in Access::Amazon::AmazonResources, and Access::Martian::MartianResources.
|
pure virtual |
Find if the mouse X is inside the range for a button, or -1 if no button range matches.
Implemented in Access::Amazon::AmazonResources, and Access::Martian::MartianResources.