diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-17 00:10:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-17 00:10:25 +0300 |
commit | d6da03bf0c4bd2e89429448f2d33c2bdc5083733 (patch) | |
tree | 771e9ccecc5d5fd739f9be5df9af443c9ab8b6e5 /src/map.h | |
parent | e3ce2827f14efc6630a4c2932b60e23d9b0321b0 (diff) | |
download | manaverse-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.gz manaverse-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.bz2 manaverse-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.xz manaverse-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.zip |
add code for loading map heights.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |