aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.h
diff options
context:
space:
mode:
authorDavid Eriksson2003-10-04 08:50:48 +0000
committerDavid Eriksson2003-10-04 08:50:48 +0000
commit3c627375b8e6ad237e2d787618802652510f655c (patch)
treec2b7b498ded6633e1bb5f2c759ff833be05b2748 /queen/logic.h
parentf8ce610c2bb72330fa43f89b4cf6c07e647526b7 (diff)
downloadscummvm-rg350-3c627375b8e6ad237e2d787618802652510f655c.tar.gz
scummvm-rg350-3c627375b8e6ad237e2d787618802652510f655c.tar.bz2
scummvm-rg350-3c627375b8e6ad237e2d787618802652510f655c.zip
Added gameState to QueenLogic
svn-id: r10590
Diffstat (limited to 'queen/logic.h')
-rw-r--r--queen/logic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/queen/logic.h b/queen/logic.h
index 93af38d6b7..1ce226ad2b 100644
--- a/queen/logic.h
+++ b/queen/logic.h
@@ -68,6 +68,8 @@ public:
uint16 walkOffCount();
uint16 *walkOffData(int index);
+ int16 gameState(int index);
+ void gameState(int index, int16 newValue);
protected:
uint8 *_jas;
@@ -95,6 +97,13 @@ protected:
uint16 (*_actorData)[12];
int16 (*_area)[11][8];
uint16 (*_walkOffData)[3];
+
+ enum {
+ GAME_STATE_COUNT = 211
+ };
+
+ int16 _gameState[GAME_STATE_COUNT];
+
uint16 _maxAnimatedFrame, _maxStaticFrame, _maxAnimatedFrameLen; // FMAXA, FMAX, FMAXALEN
QueenResource *_resource;