summaryrefslogtreecommitdiff
path: root/src/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-26 21:18:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-26 23:23:32 +0300
commit0380eec2d9d03a2541e4f89640f452fb96a7914a (patch)
tree78d28c04511d26956fe5dad1bff30063cd755a88 /src/maplayer.h
parent344fc37de3bbc385e04ee4109600625f9aefbeba (diff)
downloadplus-0380eec2d9d03a2541e4f89640f452fb96a7914a.tar.gz
plus-0380eec2d9d03a2541e4f89640f452fb96a7914a.tar.bz2
plus-0380eec2d9d03a2541e4f89640f452fb96a7914a.tar.xz
plus-0380eec2d9d03a2541e4f89640f452fb96a7914a.zip
Loading map layer masks from layer properties.
Diffstat (limited to 'src/maplayer.h')
-rw-r--r--src/maplayer.h3
1 files changed, 2 insertions, 1 deletions
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<MapRowVertexes*> MapRows;
MapRows mTempRows;
+ int mMask;
bool mIsFringeLayer; /**< Whether the actors are drawn. */
bool mHighlightAttackRange;
};