aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/game.h
diff options
context:
space:
mode:
authorPaul Gilbert2006-05-23 12:41:28 +0000
committerPaul Gilbert2006-05-23 12:41:28 +0000
commite22de3ab3627d0dcff49ad1fbaa72da29512c2a0 (patch)
treecbfb269b83b37e46d0a7e8c7f1bbed3dfb28470c /engines/lure/game.h
parentdddaa015dfc5e5d95612f25cae295863f472fa9c (diff)
downloadscummvm-rg350-e22de3ab3627d0dcff49ad1fbaa72da29512c2a0.tar.gz
scummvm-rg350-e22de3ab3627d0dcff49ad1fbaa72da29512c2a0.tar.bz2
scummvm-rg350-e22de3ab3627d0dcff49ad1fbaa72da29512c2a0.zip
Added a new outer loop for what will later allow the restarting of the game. Also added the animation of the Skorl catching the player if the game state indicates it has happened
svn-id: r22581
Diffstat (limited to 'engines/lure/game.h')
-rw-r--r--engines/lure/game.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/lure/game.h b/engines/lure/game.h
index 658ad07f15..ece7a49e14 100644
--- a/engines/lure/game.h
+++ b/engines/lure/game.h
@@ -35,9 +35,12 @@
namespace Lure {
+enum GameState {GS_RESTORE_RESTART = 1, GS_CAUGHT = 2};
+
class Game {
private:
bool _slowSpeedFlag, _soundFlag;
+ uint8 _state;
void handleMenuResponse(uint8 selection);
void handleClick();
@@ -52,6 +55,7 @@ public:
void nextFrame();
void execute();
+ void setState(uint8 flags) { _state = flags; }
// Menu item support methods
void doDebugMenu();