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

Public Member Functions

 GameManager (SupernovaEngine *vm, Sound *sound)
 
virtual void updateEvents ()
 
void processInput (Common::KeyState &state)
 
void processInput ()
 
virtual void executeRoom ()
 
virtual bool serialize (Common::WriteStream *out)
 
virtual bool deserialize (Common::ReadStream *in, int version)
 
void takeObject (Object &obj)
 
void setObjectNull (Object *&obj)
 
bool isNullObject (Object *obj)
 
virtual void initState ()
 
virtual void initRooms ()
 
virtual void destroyRooms ()
 
void initGui ()
 
virtual bool canSaveGameStateCurrently ()
 
virtual bool genericInteract (Action verb, Object &obj1, Object &obj2)
 
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 ()
 
virtual void roomBrightness ()
 
void showMenu ()
 
void animationOff ()
 
void animationOn ()
 
void edit (Common::String &input, int x, int y, uint length)
 
int invertSection (int section)
 
virtual void drawMapExits ()
 
void drawStatus ()
 
void drawCommandBox ()
 
void drawInventory ()
 
void drawGUI ()
 
void changeRoom (RoomId id)
 
void resetInputState ()
 
virtual void handleInput ()
 
virtual void handleTime ()
 
void pauseTimer (bool pause)
 
virtual void loadTime ()
 
virtual void saveTime ()
 
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)
 
virtual void takeMoney (int amount)
 

Public Attributes

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
 

Static Public Attributes

static int guiCommands []
 
static int guiStatusCommands []
 

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