diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 18:08:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 18:08:05 +0300 |
commit | 0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac (patch) | |
tree | 600aba18b3c90967561ec3ed83f606266a99eff8 /src/resources/map/maplayer.h | |
parent | bcd76117e26e72ed74f9b8c2856a7128e1c27441 (diff) | |
download | mv-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.gz mv-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.bz2 mv-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.xz mv-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.zip |
Convert MapType enum into strong typed enum.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r-- | src/resources/map/maplayer.h | 4 |
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; |