ScummVM API documentation
M4::Riddle::Rooms::Room Class Reference
Inheritance diagram for M4::Riddle::Rooms::Room:
M4::Room M4::Riddle::Rooms::Maze M4::Riddle::Rooms::Room202 M4::Riddle::Rooms::Room205 M4::Riddle::Rooms::Room207 M4::Riddle::Rooms::Room301 M4::Riddle::Rooms::Room303 M4::Riddle::Rooms::Room304 M4::Riddle::Rooms::Room305 M4::Riddle::Rooms::Room309 M4::Riddle::Rooms::Room352 M4::Riddle::Rooms::Room354 M4::Riddle::Rooms::Room401 M4::Riddle::Rooms::Room402 M4::Riddle::Rooms::Room403 M4::Riddle::Rooms::Room404 M4::Riddle::Rooms::Room405 M4::Riddle::Rooms::Room406 M4::Riddle::Rooms::Room407 M4::Riddle::Rooms::Room408 M4::Riddle::Rooms::Room409 M4::Riddle::Rooms::Room410 M4::Riddle::Rooms::Room413 M4::Riddle::Rooms::Room456 M4::Riddle::Rooms::Room493 M4::Riddle::Rooms::Room494 M4::Riddle::Rooms::Room495 M4::Riddle::Rooms::Room501 M4::Riddle::Rooms::Room504 M4::Riddle::Rooms::Room506 M4::Riddle::Rooms::Room507 M4::Riddle::Rooms::Room508 M4::Riddle::Rooms::Room509 M4::Riddle::Rooms::Room510 M4::Riddle::Rooms::Room603 M4::Riddle::Rooms::Room604 M4::Riddle::Rooms::Room605 M4::Riddle::Rooms::Room607 M4::Riddle::Rooms::Room608 M4::Riddle::Rooms::Room610 M4::Riddle::Rooms::Room615 M4::Riddle::Rooms::Room701 M4::Riddle::Rooms::Room702 M4::Riddle::Rooms::Room703 M4::Riddle::Rooms::Room704 M4::Riddle::Rooms::Room705 M4::Riddle::Rooms::Room706 M4::Riddle::Rooms::Room707 M4::Riddle::Rooms::Room709 M4::Riddle::Rooms::Room710 M4::Riddle::Rooms::Room711 M4::Riddle::Rooms::Room801 M4::Riddle::Rooms::Room802 M4::Riddle::Rooms::Room803 M4::Riddle::Rooms::Room805 M4::Riddle::Rooms::Room806 M4::Riddle::Rooms::Room807 M4::Riddle::Rooms::Room808 M4::Riddle::Rooms::Room809 M4::Riddle::Rooms::Room810 M4::Riddle::Rooms::Room811 M4::Riddle::Rooms::Room818 M4::Riddle::Rooms::Room850 M4::Riddle::Rooms::Room860 M4::Riddle::Rooms::Room861 M4::Riddle::Rooms::Room903 M4::Riddle::Rooms::Room905 M4::Riddle::Rooms::Room906 M4::Riddle::Rooms::Room907 M4::Riddle::Rooms::Room908 M4::Riddle::Rooms::Room917 M4::Riddle::Rooms::Room918 M4::Riddle::Rooms::Room996 M4::Riddle::Rooms::Section2Room M4::Riddle::Rooms::Section8Room M4::Riddle::Rooms::Section9Room

Public Member Functions

void preload () override
 
- Public Member Functions inherited from M4::Room
virtual void init ()
 
virtual void daemon ()
 
virtual void pre_parser ()
 
virtual void parser ()
 
virtual void roomError ()
 
virtual void shutdown ()
 
virtual void syncGame (Common::Serializer &s)
 
virtual HotSpotReccustom_hotspot_which (int32 x, int32 y)
 

Protected Member Functions

void restoreAutosave ()
 
int checkFlags (bool flag)
 
void setFlag45 ()
 
int getNumKeyItemsPlaced () const
 
bool setItemsPlacedFlags ()
 
const char * getItemsPlacedDigi () const
 
void disableHotspots ()
 
void enableHotspots ()
 
bool checkStrings () const
 

Member Function Documentation

◆ checkFlags()

int M4::Riddle::Rooms::Room::checkFlags ( bool  flag)
protected

Checks various game flags for updates

Parameters
flagIf set, does extra checks
Returns
A count of the flag changes done

◆ getNumKeyItemsPlaced()

int M4::Riddle::Rooms::Room::getNumKeyItemsPlaced ( ) const
protected

Get the number of key items placed in room 305 (display room)

◆ disableHotspots()

void M4::Riddle::Rooms::Room::disableHotspots ( )
protected

Sets all the hotspots to be inactive

◆ enableHotspots()

void M4::Riddle::Rooms::Room::enableHotspots ( )
protected

Sets all the hotspots to be active


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