summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 18:08:05 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 18:08:05 +0300
commit0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac (patch)
tree600aba18b3c90967561ec3ed83f606266a99eff8 /src/resources/map/maplayer.h
parentbcd76117e26e72ed74f9b8c2856a7128e1c27441 (diff)
downloadmanaplus-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.gz
manaplus-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.bz2
manaplus-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.xz
manaplus-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.zip
Convert MapType enum into strong typed enum.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 9b2617d32..4cf30ade1 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -129,7 +129,7 @@ class MapLayer final: public ConfigListener
void optionChanged(const std::string &value) override final;
- void setDrawLayerFlags(const MapType::MapType &n);
+ void setDrawLayerFlags(const MapTypeT &n);
void setActorsFix(const int y)
{ mActorsFix = y; }
@@ -145,7 +145,7 @@ class MapLayer final: public ConfigListener
const int mWidth;
const int mHeight;
Image **const mTiles;
- MapType::MapType mDrawLayerFlags;
+ MapTypeT mDrawLayerFlags;
const SpecialLayer *mSpecialLayer;
const SpecialLayer *mTempLayer;
typedef std::vector<MapRowVertexes*> MapRows;