ScummVM API documentation
Access::Resources Class Reference
Inheritance diagram for Access::Resources:
Access::Amazon::AmazonResources Access::Martian::MartianResources

Public Member Functions

 Resources (AccessEngine *vm)
 
bool load (Common::U32String &errorMessage)
 

Static Public Member Functions

static Resourcesinit (AccessEngine *vm)
 

Public Attributes

Common::Array< Common::PathFILENAMES
 
Common::Array< Common::Array< byte > > CHARTBL
 
Common::Array< RoomEntry > ROOMTBL
 
Common::Array< DeathEntry > DEATHS
 
Common::Array< InventoryEntry > INVENTORY
 
Common::Array< Common::Array< byte > > CURSORS
 
Common::String CANT_GET_THERE
 

Protected Member Functions

uint findEntry (byte gameId, byte discType, byte demoType, Common::Language language)
 
Common::String readString (Common::SeekableReadStream &s)
 
virtual void load (Common::SeekableReadStream &s)
 

Protected Attributes

AccessEngine_vm
 
Common::Array< DATEntry > _datIndex
 

Member Function Documentation

◆ findEntry()

uint Access::Resources::findEntry ( byte  gameId,
byte  discType,
byte  demoType,
Common::Language  language 
)
protected

Locate a specified entry in the index and return it's file offset

◆ readString()

Common::String Access::Resources::readString ( Common::SeekableReadStream s)
protected

Read a string in from the passed stream

◆ load() [1/2]

virtual void Access::Resources::load ( Common::SeekableReadStream s)
protectedvirtual

Load data from the access.dat file

Reimplemented in Access::Amazon::AmazonResources, and Access::Martian::MartianResources.

◆ load() [2/2]

bool Access::Resources::load ( Common::U32String errorMessage)

Load the access.dat file


The documentation for this class was generated from the following file: