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/enums/resources | |
parent | bcd76117e26e72ed74f9b8c2856a7128e1c27441 (diff) | |
download | plus-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.gz plus-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.bz2 plus-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.xz plus-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.zip |
Convert MapType enum into strong typed enum.
Diffstat (limited to 'src/enums/resources')
-rw-r--r-- | src/enums/resources/map/maptype.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/enums/resources/map/maptype.h b/src/enums/resources/map/maptype.h index 27a58bccf..bb3607aa4 100644 --- a/src/enums/resources/map/maptype.h +++ b/src/enums/resources/map/maptype.h @@ -23,18 +23,18 @@ #ifndef RESOURCES_MAP_MAPTYPE_H #define RESOURCES_MAP_MAPTYPE_H -namespace MapType +#include "enums/simpletypes/enumdefines.h" + +enumStart(MapType) { - enum MapType - { - NORMAL = 0, - DEBUG = 1, - SPECIAL = 2, - SPECIAL2 = 3, - SPECIAL3 = 4, - SPECIAL4 = 5, - BLACKWHITE = 6 - }; -} // namespace MapType + NORMAL = 0, + DEBUG = 1, + SPECIAL = 2, + SPECIAL2 = 3, + SPECIAL3 = 4, + SPECIAL4 = 5, + BLACKWHITE = 6 +} +enumEnd(MapType); #endif // RESOURCES_MAP_MAPTYPE_H |