aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.h
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-03 03:07:50 +0100
committerMartin Kiewitz2016-02-03 03:07:50 +0100
commitcc55cb13d3a673b21691c0fab58cf1385c7998e8 (patch)
tree1f604bc78b3807a8c1038a54611c756086e58ff2 /engines/agi/agi.h
parent34117170f2955e854a93925a652af37575361b44 (diff)
downloadscummvm-rg350-cc55cb13d3a673b21691c0fab58cf1385c7998e8.tar.gz
scummvm-rg350-cc55cb13d3a673b21691c0fab58cf1385c7998e8.tar.bz2
scummvm-rg350-cc55cb13d3a673b21691c0fab58cf1385c7998e8.zip
AGI: Remove _game.state, not needed anymore
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;