ScummVM API documentation
Supernova::GameManager2 Class Reference
Inheritance diagram for Supernova::GameManager2:
Supernova::GameManager

Public Member Functions

 GameManager2 (SupernovaEngine *vm, Sound *sound)
 
void updateEvents () override
 
void executeRoom () override
 
bool serialize (Common::WriteStream *out) override
 
bool deserialize (Common::ReadStream *in, int version) override
 
void initState () override
 
void initRooms () override
 
void destroyRooms () override
 
bool canSaveGameStateCurrently () override
 
bool genericInteract (Action verb, Object &obj1, Object &obj2) override
 
void roomBrightness () override
 
void drawMapExits () override
 
void handleInput () override
 
void handleTime () override
 
void loadTime () override
 
void saveTime () override
 
void takeMoney (int amount) override
 
void taxi ()
 
void leaveTaxi ()
 
void taxiUnknownDestination ()
 
void taxiPayment (int price, int destination)
 
void playerTakeOut ()
 
void sober ()
 
void playCD ()
 
bool talk (int mod1, int mod2, int rest, MessagePosition pos, int id)
 
bool talkRest (int mod1, int mod2, int rest)
 
void pyramidEnd ()
 
void passageConstruction ()
 
byte wall (int s, int z, int direction, int stepsForward, int stepsRight)
 
bool move (Action verb, Object &obj)
 
void compass ()
 
void puzzleConstruction ()
 
void drawClock ()
 
void caught ()
 
void caught2 ()
 
void alarm ()
 
void crack (int time)
 
bool crackDoor (int time)
 
void museumDoorInteract (Action verb, Object &obj1, Object &obj2)
 
void securityEntrance ()
 
void pressureAlarmCount ()
 
void pressureAlarmEntrance ()
 
- Public Member Functions inherited from Supernova::GameManager
 GameManager (SupernovaEngine *vm, Sound *sound)
 
void processInput (Common::KeyState &state)
 
void processInput ()
 
void takeObject (Object &obj)
 
void setObjectNull (Object *&obj)
 
bool isNullObject (Object *obj)
 
void initGui ()
 
void getInput (bool onlyKeys=false)
 
void wait (int ticks, bool checkInput=false, bool waitForSpeech=false)
 
bool waitOnInput (int ticks, Common::KeyCode &keycode, bool waitForSpeech=false)
 
void screenShake ()
 
void showMenu ()
 
void animationOff ()
 
void animationOn ()
 
void edit (Common::String &input, int x, int y, uint length)
 
int invertSection (int section)
 
void drawStatus ()
 
void drawCommandBox ()
 
void drawInventory ()
 
void drawGUI ()
 
void changeRoom (RoomId id)
 
void resetInputState ()
 
void pauseTimer (bool pause)
 
void setAnimationTimer (int ticks)
 
void dead (int messageId)
 
int dialog (int num, byte rowLength[6], int text[6], int number)
 
void sentence (int number, bool brightness)
 
void say (int textId)
 
void say (const char *text)
 
void reply (int textId, int aus1, int aus2)
 
void reply (const char *text, int aus1, int aus2)
 
void mousePosDialog (int x, int y)
 

Public Attributes

GameState2 _state
 
byte _dials [6]
 
unsigned char _puzzleField [16]
 
bool _mapOn
 
bool _steps
 
bool _cracking
 
bool _alarmBefore
 
RoomId _securityTab [10]
 
int _restTime
 
- Public Attributes inherited from Supernova::GameManager
SupernovaEngine_vm
 
Sound_sound
 
Common::KeyState _key
 
Common::EventType _mouseClickType
 
bool _mouseClicked
 
bool _keyPressed
 
int _mouseX
 
int _mouseY
 
int _mouseField
 
Room_currentRoom
 
Room_lastRoom
 
bool _newRoom
 
Room ** _rooms
 
Inventory _inventory
 
bool _processInput
 
bool _guiEnabled
 
bool _animationEnabled
 
byte _roomBrightness
 
Action _inputVerb
 
Object _nullObject
 
Object_currentInputObject
 
Object_inputObject [2]
 
int32 _oldTime
 
uint _timePaused
 
bool _timerPaused
 
int32 _messageDuration
 
int32 _animationTimer
 
int _inventoryScroll
 
int _exitList [25]
 
GuiElement _guiCommandButton [10]
 
GuiElement _guiInventory [8]
 
GuiElement _guiInventoryArrow [2]
 
int _currentSentence
 
int _sentenceNumber [6]
 
int _texts [6]
 
byte _rows [6]
 
byte _rowsStart [6]
 
int32 _time
 
bool _dead
 

Additional Inherited Members

- Static Public Attributes inherited from Supernova::GameManager
static int guiCommands []
 
static int guiStatusCommands []
 

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