summaryrefslogtreecommitdiff
path: root/src/enums/resources/map
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/enums/resources/map
parentbcd76117e26e72ed74f9b8c2856a7128e1c27441 (diff)
downloadplus-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/map')
-rw-r--r--src/enums/resources/map/maptype.h24
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