diff options
author | Denis Kasak | 2009-08-12 04:18:45 +0000 |
---|---|---|
committer | Denis Kasak | 2009-08-12 04:18:45 +0000 |
commit | 6693b22851dc7030922360e4275b73e2f9804cf0 (patch) | |
tree | 7c9e634e3e3137e192f9055e0928fdb6c1a44422 /engines/draci/game.h | |
parent | 100603e683b51cf89545756b5ef81775dc57337f (diff) | |
download | scummvm-rg350-6693b22851dc7030922360e4275b73e2f9804cf0.tar.gz scummvm-rg350-6693b22851dc7030922360e4275b73e2f9804cf0.tar.bz2 scummvm-rg350-6693b22851dc7030922360e4275b73e2f9804cf0.zip |
* Split loop status and substatus into two different enums since they are two separate concepts
* Fixed slight glitch where object titles (which normally disappear when objects are used/looked at) reappeared for a moment after the script has finished
svn-id: r43305
Diffstat (limited to 'engines/draci/game.h')
-rw-r--r-- | engines/draci/game.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/engines/draci/game.h b/engines/draci/game.h index a712542e9e..31e27f9708 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -175,10 +175,18 @@ struct Room { GPL2Program _program; }; -enum LoopStatus { - kStatusGate, kStatusOrdinary, kStatusInventory, - kStatusDialogue, kStatusTalk, kStatusStrange, - kStatusFade +enum LoopStatus { + kStatusOrdinary, + kStatusGate, + kStatusInventory, + kStatusDialogue +}; + +enum LoopSubstatus { + kSubstatusOrdinary, + kSubstatusTalk, + kSubstatusFade, + kSubstatusStrange }; /** @@ -262,9 +270,9 @@ public: void setMarkedAnimationIndex(int index); void setLoopStatus(LoopStatus status); - void setLoopSubstatus(LoopStatus status); + void setLoopSubstatus(LoopSubstatus status); LoopStatus getLoopStatus(); - LoopStatus getLoopSubstatus(); + LoopSubstatus getLoopSubstatus(); bool shouldQuit() { return _shouldQuit; } void setQuit(bool quit) { _shouldQuit = quit; } @@ -321,7 +329,7 @@ public: Animation *_dialogueAnims[4]; LoopStatus _loopStatus; - LoopStatus _loopSubstatus; + LoopSubstatus _loopSubstatus; bool _shouldQuit; bool _shouldExitLoop; |