diff options
author | Denis Kasak | 2009-08-17 19:37:55 +0000 |
---|---|---|
committer | Denis Kasak | 2009-08-17 19:37:55 +0000 |
commit | be0cfa50f29ae1bb5ddd2461c1e4d865d1b30899 (patch) | |
tree | e117999a28d8f676cbf56b82fab915582cc8d8be /engines/draci/game.h | |
parent | 85bf130a50acd6445042889f5c67a9489d894d51 (diff) | |
download | scummvm-rg350-be0cfa50f29ae1bb5ddd2461c1e4d865d1b30899.tar.gz scummvm-rg350-be0cfa50f29ae1bb5ddd2461c1e4d865d1b30899.tar.bz2 scummvm-rg350-be0cfa50f29ae1bb5ddd2461c1e4d865d1b30899.zip |
Removed public data variables of Game concerning dialogues and added getters/setters.
svn-id: r43492
Diffstat (limited to 'engines/draci/game.h')
-rw-r--r-- | engines/draci/game.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/engines/draci/game.h b/engines/draci/game.h index 5cefa5dec1..0197b167b6 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -324,6 +324,18 @@ public: void dialogueDone(); void runDialogueProg(GPL2Program, int offset); + bool isDialogueBegin(); + bool shouldExitDialogue(); + void setDialogueExit(bool exit); + int getDialogueBlockNum(); + int getDialogueVar(int dialogueID); + void setDialogueVar(int dialogueID, int value); + int getCurrentDialogue(); + int getDialogueCurrentBlock(); + int getDialogueLastBlock(); + int getDialogueLinesNum(); + int getCurrentDialogueOffset(); + void schedulePalette(int paletteID); int getScheduledPalette(); @@ -344,14 +356,11 @@ private: int _inventory[kInventorySlots]; bool _inventoryExit; - Room _currentRoom; int _currentGate; int _newRoom; int _newGate; -// HACK: remove public when tested and add getters instead -public: uint *_dialogueOffsets; int _currentDialogue; int *_dialogueVars; @@ -361,7 +370,7 @@ public: bool _dialogueExit; int _currentBlock; int _lastBlock; - int _dialogueLines; + int _dialogueLinesNum; int _blockNum; int _lines[kDialogueLines]; Animation *_dialogueAnims[kDialogueLines]; |