From 0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Jun 2015 18:08:05 +0300 Subject: Convert MapType enum into strong typed enum. --- src/enums/resources/map/maptype.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/enums') 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 -- cgit v1.2.3-70-g09d2