diff options
author | Paul Gilbert | 2015-01-11 20:35:32 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-11 20:35:32 -0500 |
commit | d8e23aa558ffda15e36d087dee6e3f3d1db659ff (patch) | |
tree | c22603aa68f40ebbb05411eaa936541f25bf191a /engines/xeen/interface.h | |
parent | 1b3473d3431ae8fcac15526f1a59f1dfd0c9fc58 (diff) | |
download | scummvm-rg350-d8e23aa558ffda15e36d087dee6e3f3d1db659ff.tar.gz scummvm-rg350-d8e23aa558ffda15e36d087dee6e3f3d1db659ff.tar.bz2 scummvm-rg350-d8e23aa558ffda15e36d087dee6e3f3d1db659ff.zip |
XEEN: Split up SCREEN_POSITIONING array and fix data
Diffstat (limited to 'engines/xeen/interface.h')
-rw-r--r-- | engines/xeen/interface.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/engines/xeen/interface.h b/engines/xeen/interface.h index d161169d68..1c110352bb 100644 --- a/engines/xeen/interface.h +++ b/engines/xeen/interface.h @@ -40,7 +40,12 @@ public: public: OutdoorDrawList(); - DrawStruct &operator[](int idx) { return _data[idx]; } + DrawStruct &operator[](int idx) { + assert(idx < size()); + return _data[idx]; + } + + int size() const { return 132; } }; class IndoorDrawList { @@ -54,7 +59,12 @@ public: public: IndoorDrawList(); - DrawStruct &operator[](int idx) { return _data[idx]; } + DrawStruct &operator[](int idx) { + assert(idx < size()); + return _data[idx]; + } + + int size() const { return 170; } }; @@ -98,6 +108,7 @@ private: bool _flag1; int _animCounter; bool _isAnimReset; + bool _charsShooting; byte _tillMove; int _objNumber; byte _wp[20]; @@ -132,6 +143,10 @@ private: void moveMonsters(); void setMainButtons(); + + void setMazeBits(); + + void getCell(); public: Interface(XeenEngine *vm); |