From 135c19b4337e1ab45cff40a306eadc52a061ddef Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 13 Aug 2012 22:18:03 +0300 Subject: add atlas textures support. --- src/map.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map.h') 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 &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 -- cgit v1.2.3-60-g2f50