summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-13 22:18:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-30 02:57:13 +0300
commit135c19b4337e1ab45cff40a306eadc52a061ddef (patch)
tree0a163ca1edd542aec5570b7e451034aafb4089dd /src/map.h
parent3a2bab265768c219b0c077eef10b69dfe8158131 (diff)
downloadmanaverse-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.gz
manaverse-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.bz2
manaverse-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.xz
manaverse-135c19b4337e1ab45cff40a306eadc52a061ddef.zip
add atlas textures support.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 4892bc590..0dbfbd44f 100644
--- a/src/map.h
+++ b/src/map.h
@@ -35,6 +35,7 @@ class Animation;
class AmbientLayer;
class MapLayer;
class Particle;
+class Resource;
class SimpleAnimation;
class Tileset;
class SpecialLayer;
@@ -395,6 +396,9 @@ class Map final : public Properties, public ConfigListener
std::map<int, TileAnimation*> &getTileAnimations()
{ return mTileAnimations; }
+ void setAtlas(Resource *atlas)
+ { mAtlas = atlas; }
+
protected:
friend class Actor;
friend class Minimap;
@@ -503,6 +507,7 @@ class Map final : public Properties, public ConfigListener
bool mRedrawMap;
bool mBeingOpacity;
bool mCustom;
+ Resource *mAtlas;
};
#endif