summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-17 00:10:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-17 00:10:25 +0300
commitd6da03bf0c4bd2e89429448f2d33c2bdc5083733 (patch)
tree771e9ccecc5d5fd739f9be5df9af443c9ab8b6e5 /src/map.h
parente3ce2827f14efc6630a4c2932b60e23d9b0321b0 (diff)
downloadmv-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.gz
mv-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.bz2
mv-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.xz
mv-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.zip
add code for loading map heights.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/map.h b/src/map.h
index cd539de04..a6eef01bf 100644
--- a/src/map.h
+++ b/src/map.h
@@ -37,14 +37,15 @@
class Animation;
class AmbientLayer;
class Image;
+class MapHeights;
+class MapItem;
class MapLayer;
+class ObjectsLayer;
class Particle;
class Resource;
class SimpleAnimation;
-class Tileset;
class SpecialLayer;
-class MapItem;
-class ObjectsLayer;
+class Tileset;
class WalkLayer;
typedef std::vector<Tileset*> Tilesets;
@@ -421,6 +422,8 @@ class Map final : public Properties, public ConfigListener
void setWalkLayer(WalkLayer *const layer)
{ mWalkLayer = layer; }
+ void addHeights(MapHeights *const heights);
+
protected:
friend class Actor;
friend class Minimap;
@@ -536,10 +539,11 @@ class Map final : public Properties, public ConfigListener
int mDrawY;
int mDrawScrollX;
int mDrawScrollY;
+ Resource *mAtlas;
+ MapHeights *mHeights;
bool mRedrawMap;
bool mBeingOpacity;
bool mCustom;
- Resource *mAtlas;
};
#endif // MAP_H