diff options
author | Paul Gilbert | 2015-01-06 22:48:04 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-06 22:48:04 -0500 |
commit | fa0d7722f1c7826887b6f2b28d2d6829c77c717a (patch) | |
tree | 77afae99bf94ce2e983d3256f71471353ea44104 /engines/xeen/map.h | |
parent | 31f4f5b843400531d3e091ae0eb673d6dacc227d (diff) | |
download | scummvm-rg350-fa0d7722f1c7826887b6f2b28d2d6829c77c717a.tar.gz scummvm-rg350-fa0d7722f1c7826887b6f2b28d2d6829c77c717a.tar.bz2 scummvm-rg350-fa0d7722f1c7826887b6f2b28d2d6829c77c717a.zip |
XEEN: Work on loading sprites for monsters and objects in Map::load
Diffstat (limited to 'engines/xeen/map.h')
-rw-r--r-- | engines/xeen/map.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/xeen/map.h b/engines/xeen/map.h index 882e495a58..c4ab348c91 100644 --- a/engines/xeen/map.h +++ b/engines/xeen/map.h @@ -24,6 +24,7 @@ #define XEEN_MAP_H #include "common/stream.h" +#include "common/array.h" #include "common/rect.h" #include "xeen/party.h" #include "xeen/sprites.h" @@ -199,12 +200,16 @@ public: }; struct MazeObject { +public: Common::Point _position; int _number; int _frame; int _id; Direction _direction; bool _flipped; + Common::Array<byte> _objBj; +public: + MazeObject(); }; struct MazeMonster { @@ -215,6 +220,8 @@ struct MazeMonster { int _hp; int _effect1, _effect2; int _effect3; + SpriteResource _sprites; + SpriteResource _attackSprites; }; class MonsterObjectData { |