summaryrefslogtreecommitdiff
path: root/src/resources/map/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/map.h')
-rw-r--r--src/resources/map/map.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index dc8c880b1..3afd6d8ef 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -216,8 +216,7 @@ class Map final : public Properties, public ConfigListener
*/
void addAnimation(const int gid, TileAnimation *const animation);
- void setDrawLayersFlags(const MapType::MapType &n)
- { mDrawLayersFlags = n; }
+ void setDrawLayersFlags(const MapType::MapType &n);
MapType::MapType getDrawLayersFlags() const A_WARN_UNUSED
{ return mDrawLayersFlags; }
@@ -327,6 +326,8 @@ class Map final : public Properties, public ConfigListener
void setMask(const int mask);
+ void updateDrawLayersList();
+
protected:
friend class Actor;
friend class Minimap;
@@ -377,6 +378,8 @@ class Map final : public Properties, public ConfigListener
MetaTile *const mMetaTiles;
WalkLayer *mWalkLayer;
Layers mLayers;
+ Layers mDrawUnderLayers;
+ Layers mDrawOverLayers;
Tilesets mTilesets;
Actors mActors;
bool mHasWarps;
@@ -452,7 +455,9 @@ class Map final : public Properties, public ConfigListener
const MapHeights *mHeights;
bool mRedrawMap;
bool mBeingOpacity;
+ bool mCachedDraw;
bool mCustom;
+ bool mDrawOnlyFringe;
};
#endif // RESOURCES_MAP_MAP_H