diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-21 22:53:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-21 22:54:27 +0300 |
commit | 9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd (patch) | |
tree | 89caf6194c2cd01d845147db367c4ce888883995 /src/resources/map/tileinfo.h | |
parent | 27a943e95196a58103814edf3e4e3cd3a60ed8cd (diff) | |
download | plus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.gz plus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.bz2 plus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.xz plus-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/tileinfo.h')
-rw-r--r-- | src/resources/map/tileinfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/map/tileinfo.h b/src/resources/map/tileinfo.h index 4edd6d2b9..dc5120c95 100644 --- a/src/resources/map/tileinfo.h +++ b/src/resources/map/tileinfo.h @@ -28,11 +28,13 @@ class Image; struct TileInfo final { TileInfo() : - image(nullptr) + image(nullptr), + isEnabled(true) { } Image *image; + bool isEnabled; }; #endif // RESOURCES_MAP_TILEINFO_H |