summaryrefslogtreecommitdiff
path: root/src/resources/map/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-21 22:53:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-21 22:54:27 +0300
commit9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd (patch)
tree89caf6194c2cd01d845147db367c4ce888883995 /src/resources/map/map.h
parent27a943e95196a58103814edf3e4e3cd3a60ed8cd (diff)
downloadmanaplus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.gz
manaplus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.bz2
manaplus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.xz
manaplus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.zip
Add support for layers with conditional tiles.
For enable this mode for layer need add property: TileCondition and set value to one of BlockMask bits.
Diffstat (limited to 'src/resources/map/map.h')
-rw-r--r--src/resources/map/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index 65fcb8f00..c3f4c7cac 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -339,6 +339,8 @@ class Map final : public Properties, public ConfigListener
bool isHeightsPresent() const
{ return mHeights != nullptr; }
+ void updateConditionLayers();
+
protected:
friend class Actor;
friend class Minimap;