aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r--engines/agi/agi.h10
1 files changed, 2 insertions, 8 deletions
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<int16> SavedGameSlotIdArray;
/**
@@ -410,8 +404,6 @@ typedef Common::Array<int16> 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;