diff options
author | Martin Kiewitz | 2016-02-03 01:32:57 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-03 01:32:57 +0100 |
commit | 8271058a4598e25096fe305f2c0beb7d2613e178 (patch) | |
tree | 15d09329fae16381d7d360e7a3981998771f34a7 /engines/agi/agi.h | |
parent | 9fecbe58a1f99edc0dc067564e4fd53730faa933 (diff) | |
download | scummvm-rg350-8271058a4598e25096fe305f2c0beb7d2613e178.tar.gz scummvm-rg350-8271058a4598e25096fe305f2c0beb7d2613e178.tar.bz2 scummvm-rg350-8271058a4598e25096fe305f2c0beb7d2613e178.zip |
AGI: Implement messageBox() as inner loop
Also remove _game.keypress, _game.msgBoxTicks
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r-- | engines/agi/agi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h index df40344177..4b98a70ec7 100644 --- a/engines/agi/agi.h +++ b/engines/agi/agi.h @@ -389,7 +389,8 @@ enum CycleInnerLoopType { CYCLE_INNERLOOP_INVENTORY = 2, CYCLE_INNERLOOP_MENU_VIA_KEYBOARD = 3, CYCLE_INNERLOOP_MENU_VIA_MOUSE = 4, - CYCLE_INNERLOOP_SYSTEMUI_SELECTSAVEDGAMESLOT = 5 + CYCLE_INNERLOOP_SYSTEMUI_SELECTSAVEDGAMESLOT = 5, + CYCLE_INNERLOOP_MESSAGEBOX = 6 }; enum State { @@ -426,8 +427,6 @@ struct AgiGame { // internal variables int16 horizon; /**< horizon y coordinate */ - int keypress; - bool cycleInnerLoopActive; int16 cycleInnerLoopType; @@ -443,7 +442,6 @@ struct AgiGame { int gameFlags; /**< agi options flags */ // windows - uint32 msgBoxTicks; /**< timed message box tick counter */ AgiBlock block; // graphics & text @@ -945,9 +943,11 @@ public: void redrawScreen(); void inGameTimerReset(uint32 newPlayTime = 0); + void inGameTimerResetPassedCycles(); void inGameTimerPause(); void inGameTimerResume(); uint32 inGameTimerGet(); + uint32 inGameTimerGetPassedCycles(); void inGameTimerUpdate(); |