diff options
author | Denis Kasak | 2009-08-15 02:42:34 +0000 |
---|---|---|
committer | Denis Kasak | 2009-08-15 02:42:34 +0000 |
commit | abf10049bb50d55020ee0f791646a6ca0c0baea8 (patch) | |
tree | b958a5cc41d20197bc5cab25e1df306b8fb1bcd9 /engines/draci/game.h | |
parent | fad77de23486d806f5cc94ae65e0df5953511a73 (diff) | |
download | scummvm-rg350-abf10049bb50d55020ee0f791646a6ca0c0baea8.tar.gz scummvm-rg350-abf10049bb50d55020ee0f791646a6ca0c0baea8.tar.bz2 scummvm-rg350-abf10049bb50d55020ee0f791646a6ca0c0baea8.zip |
* Implemented LoadPalette, SetPalette and BlackPalette GPL commands.
* Used a more natural condition (whether the scheduled room number is different from the current room number) instead of the _roomChange hack.
svn-id: r43391
Diffstat (limited to 'engines/draci/game.h')
-rw-r--r-- | engines/draci/game.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/draci/game.h b/engines/draci/game.h index 31e27f9708..8445bf7a72 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -73,6 +73,10 @@ enum { kNoDialogue = -1, kDialogueLines = 4 }; +enum { + kBlackPalette = -1 +}; + enum SpeechConstants { kBaseSpeechDuration = 200, kSpeechTimeUnit = 400 @@ -293,6 +297,9 @@ public: void dialogueDone(); void runDialogueProg(GPL2Program, int offset); + void schedulePalette(int paletteID); + int getScheduledPalette(); + bool _roomChange; private: @@ -341,6 +348,8 @@ public: int _animUnderCursor; int _markedAnimationIndex; //!< Used by the Mark GPL command + + int _scheduledPalette; }; } // End of namespace Draci |