ScummVM API documentation
Access::Noctropolis::NoctropolisResources Class Reference
Inheritance diagram for Access::Noctropolis::NoctropolisResources:
Access::Resources

Public Member Functions

 NoctropolisResources (AccessEngine *vm)
 
const byte * getCursor (int num) const override
 
const char * getEgoName () const override
 
int getRMouse (int i, int j) const override
 
int inButtonXRange (int x) const override
 
void load (Common::SeekableReadStream &s) override
 
int getCursorWidth (int num) const override
 
int getCursorHeight (int num) const override
 
const char * getGeneralMessage (int command) const override
 
const char * getEndMessage () const
 
const char * getMeanwhileMessage () const
 
const char * getShotoTitle () const
 
const char * getShotoText () const
 
const char * getStilMessage () const
 
const char * getResponseTitle () const
 
const char * getAskItem (int num) const
 
const char * getMoreItemsText () const
 
const char * getPlaceName (int num) const
 
const char * getDeathTitle () const
 
const char * getImprisonedTitle () const
 
const char * getDeathText (int num) const
 
const ComicResourcegetLastComicResource () const
 
const ComicResourcegetSpecialComicResource () const
 
int menuAt (int16 x, int16 y) const
 
- Public Member Functions inherited from Access::Resources
 Resources (AccessEngine *vm)
 
bool load (Common::U32String &errorMessage)
 

Additional Inherited Members

- Static Public Member Functions inherited from Access::Resources
static Resourcesinit (AccessEngine *vm)
 
- Public Attributes inherited from Access::Resources
Common::Array< Common::PathFILENAMES
 
Common::Array< Common::Array< byte > > CHARTBL
 
Common::Array< RoomEntryROOMTBL
 
Common::Array< DeathEntry > DEATHS
 
Common::Array< InventoryEntry > INVENTORY
 
Common::String CANT_GET_THERE
 
- Protected Member Functions inherited from Access::Resources
uint findEntry (byte gameId, byte discType, byte demoType, Common::Language language)
 
- Protected Attributes inherited from Access::Resources
AccessEngine_vm
 
Common::Array< DATEntry > _datIndex
 

Member Function Documentation

◆ getCursor()

const byte* Access::Noctropolis::NoctropolisResources::getCursor ( int  num) const
overridevirtual

Get the raw data for the given cursor number

Implements Access::Resources.

◆ getEgoName()

const char* Access::Noctropolis::NoctropolisResources::getEgoName ( ) const
overridevirtual

Get the name of the lead character

Implements Access::Resources.

◆ getRMouse()

int Access::Noctropolis::NoctropolisResources::getRMouse ( int  i,
int  j 
) const
inlineoverridevirtual

Get the room mouse values

Implements Access::Resources.

◆ inButtonXRange()

int Access::Noctropolis::NoctropolisResources::inButtonXRange ( int  x) const
inlineoverridevirtual

Find if the mouse X is inside the range for a button, or -1 if no button range matches.

Implements Access::Resources.

◆ load()

void Access::Noctropolis::NoctropolisResources::load ( Common::SeekableReadStream s)
overridevirtual

Load data from the access.dat file

Reimplemented from Access::Resources.

◆ getCursorWidth()

int Access::Noctropolis::NoctropolisResources::getCursorWidth ( int  num) const
overridevirtual

Get the width of the cursor data for a given cursor num. In Martian and Amazon this is always 16.

Reimplemented from Access::Resources.

◆ getCursorHeight()

int Access::Noctropolis::NoctropolisResources::getCursorHeight ( int  num) const
overridevirtual

Get the height of the cursor data for a given cursor num In Martian and Amazon this is always 16.

Reimplemented from Access::Resources.

◆ getGeneralMessage()

const char* Access::Noctropolis::NoctropolisResources::getGeneralMessage ( int  command) const
overridevirtual

Get the generic failure message for a command, eg "THAT DOESN'T OPEN.". Messages will be localized as appropriate.

Reimplemented from Access::Resources.


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