summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-21 20:31:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-21 20:31:25 +0300
commit27a943e95196a58103814edf3e4e3cd3a60ed8cd (patch)
treec68eedc10e7a1eba18d2c4209c8f7bc28e6673fd /src/resources/map/maplayer.h
parent1888670781a0a8f4d14f58e5eab9173feeddfe46 (diff)
downloadplus-27a943e95196a58103814edf3e4e3cd3a60ed8cd.tar.gz
plus-27a943e95196a58103814edf3e4e3cd3a60ed8cd.tar.bz2
plus-27a943e95196a58103814edf3e4e3cd3a60ed8cd.tar.xz
plus-27a943e95196a58103814edf3e4e3cd3a60ed8cd.zip
Add map layer attribute TileCondition.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 8c36fa771..2c1832691 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -60,7 +60,9 @@ class MapLayer final: public ConfigListener
*/
MapLayer(const int x, const int y,
const int width, const int height,
- const bool isFringeLayer, const int mask);
+ const bool isFringeLayer,
+ const int mask,
+ const int tileCondition);
A_DELETE_COPY(MapLayer)
@@ -166,6 +168,7 @@ class MapLayer final: public ConfigListener
typedef std::vector<MapRowVertexes*> MapRows;
MapRows mTempRows;
int mMask;
+ int mTileCondition;
int mActorsFix;
const bool mIsFringeLayer; /**< Whether the actors are drawn. */
bool mHighlightAttackRange;