diff options
author | Paul Gilbert | 2015-01-09 08:29:28 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-09 08:29:28 -0500 |
commit | 08e64d0a6146b9fde774467cc1906f230571f72d (patch) | |
tree | 8cbcf6708d02d68672d546bde672f16e41aa0c41 /engines/xeen/interface.h | |
parent | 00ef21e2a22dc84531d325bc95734b63b5c7daed (diff) | |
download | scummvm-rg350-08e64d0a6146b9fde774467cc1906f230571f72d.tar.gz scummvm-rg350-08e64d0a6146b9fde774467cc1906f230571f72d.tar.bz2 scummvm-rg350-08e64d0a6146b9fde774467cc1906f230571f72d.zip |
XEEN: Added indoor/outdoor draw structure lists
Diffstat (limited to 'engines/xeen/interface.h')
-rw-r--r-- | engines/xeen/interface.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/engines/xeen/interface.h b/engines/xeen/interface.h index 475e71bbce..60250bd8e8 100644 --- a/engines/xeen/interface.h +++ b/engines/xeen/interface.h @@ -32,6 +32,29 @@ namespace Xeen { class XeenEngine; +class OutdoorDrawList { +public: + DrawStruct _data[132]; + DrawStruct &_skySprite; + DrawStruct &_groundSprite; +public: + OutdoorDrawList(); + + DrawStruct &operator[](int idx) { return _data[idx]; } +}; + +class IndoorDrawList { +public: + DrawStruct _data[170]; + DrawStruct &_skySprite; + DrawStruct &_groundSprite; +public: + IndoorDrawList(); + + DrawStruct &operator[](int idx) { return _data[idx]; } +}; + + class Interface: public ButtonContainer { private: XeenEngine *_vm; @@ -49,6 +72,8 @@ private: SpriteResource *_partyFaces[MAX_ACTIVE_PARTY]; DrawStruct _faceDrawStructs[4]; DrawStruct _mainList[16]; + OutdoorDrawList _outdoorList; + IndoorDrawList _indoorList; int _combatCharIds[8]; int _batUIFrame; |