From cc55cb13d3a673b21691c0fab58cf1385c7998e8 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 3 Feb 2016 03:07:50 +0100 Subject: AGI: Remove _game.state, not needed anymore --- engines/agi/agi.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'engines/agi/agi.h') diff --git a/engines/agi/agi.h b/engines/agi/agi.h index 5d14850509..ca539c9445 100644 --- a/engines/agi/agi.h +++ b/engines/agi/agi.h @@ -394,12 +394,6 @@ enum CycleInnerLoopType { CYCLE_INNERLOOP_HAVEKEY = 7 }; -enum State { - STATE_INIT = 0x00, - STATE_LOADED = 0x01, - STATE_RUNNING = 0x02 -}; - typedef Common::Array SavedGameSlotIdArray; /** @@ -410,8 +404,6 @@ typedef Common::Array SavedGameSlotIdArray; struct AgiGame { AgiEngine *_vm; - State state; /**< state of the interpreter */ - // TODO: Check whether adjMouseX and adjMouseY must be saved and loaded when using savegames. // If they must be then loading and saving is partially broken at the moment. int adjMouseX; /**< last given adj.ego.move.to.x.y-command's 1st parameter */ @@ -734,6 +726,8 @@ public: void adjustPosToGameScreen(int16 &x, int16 &y); private: + bool initialized; + int _keyQueue[KEY_QUEUE_SIZE]; int _keyQueueStart; int _keyQueueEnd; -- cgit v1.2.3