aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/map.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-07 08:47:24 -0500
committerPaul Gilbert2015-01-07 08:47:24 -0500
commitbe53adbefc09f58325015b52b88f9290509a39f1 (patch)
treec5450787a245bfdb65d891bed6c5a7335c67276b /engines/xeen/map.h
parentfa0d7722f1c7826887b6f2b28d2d6829c77c717a (diff)
downloadscummvm-rg350-be53adbefc09f58325015b52b88f9290509a39f1.tar.gz
scummvm-rg350-be53adbefc09f58325015b52b88f9290509a39f1.tar.bz2
scummvm-rg350-be53adbefc09f58325015b52b88f9290509a39f1.zip
XEEN: Implemented map loading of wall item sprites
Diffstat (limited to 'engines/xeen/map.h')
-rw-r--r--engines/xeen/map.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/engines/xeen/map.h b/engines/xeen/map.h
index c4ab348c91..f39f2d8622 100644
--- a/engines/xeen/map.h
+++ b/engines/xeen/map.h
@@ -208,7 +208,7 @@ public:
Direction _direction;
bool _flipped;
Common::Array<byte> _objBj;
-public:
+
MazeObject();
};
@@ -222,6 +222,19 @@ struct MazeMonster {
int _effect3;
SpriteResource _sprites;
SpriteResource _attackSprites;
+
+ MazeMonster();
+};
+
+class MazeWallItem {
+public:
+ Common::Point _position;
+ int _id;
+ int _refId;
+ Direction _direction;
+ SpriteResource _sprites;
+public:
+ MazeWallItem();
};
class MonsterObjectData {
@@ -230,8 +243,7 @@ private:
public:
Common::Array<MazeObject> _objects;
Common::Array<MazeMonster> _monsters;
- Common::Array<int> _wallPicIds;
- Common::Array<MobStruct> _wallImages;
+ Common::Array<MazeWallItem> _wallItems;
public:
MonsterObjectData(XeenEngine *vm);