summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums')
-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