From 0380eec2d9d03a2541e4f89640f452fb96a7914a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Oct 2013 21:18:45 +0300 Subject: Loading map layer masks from layer properties. --- src/maplayer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/maplayer.h') diff --git a/src/maplayer.h b/src/maplayer.h index f5b4c88a8..0706e438e 100644 --- a/src/maplayer.h +++ b/src/maplayer.h @@ -102,7 +102,7 @@ class MapLayer final: public ConfigListener * There can be only one fringe layer per map. */ MapLayer(const int x, const int y, const int width, const int height, - const bool isFringeLayer); + const bool isFringeLayer, const int mask); A_DELETE_COPY(MapLayer) @@ -190,6 +190,7 @@ class MapLayer final: public ConfigListener SpecialLayer *mTempLayer; typedef std::vector MapRows; MapRows mTempRows; + int mMask; bool mIsFringeLayer; /**< Whether the actors are drawn. */ bool mHighlightAttackRange; }; -- cgit v1.2.3-70-g09d2