From 273b79cf4f52c846508f3493727e34b1811ecfd5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 23:39:17 +0300 Subject: Convert CookingType enum into strong typed enum. --- src/enums/being/cookingtype.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/enums/being') diff --git a/src/enums/being/cookingtype.h b/src/enums/being/cookingtype.h index 0bd521387..47a579d41 100644 --- a/src/enums/being/cookingtype.h +++ b/src/enums/being/cookingtype.h @@ -22,18 +22,18 @@ #define ENUMS_BEING_COOKINGTYPE_H #ifdef EATHENA_SUPPORT -namespace CookingType +#include "enums/simpletypes/enumdefines.h" + +enumStart(CookingType) { - enum Type - { - Cooking = 1, - Arrow = 2, - Elemental = 3, - MixCooking = 4, - MakeBomb = 5, - Pharmacy = 6 - }; -} // namespace CookingType + Cooking = 1, + Arrow = 2, + Elemental = 3, + MixCooking = 4, + MakeBomb = 5, + Pharmacy = 6 +} +enumEnd(CookingType); #endif // EATHENA_SUPPORT #endif // ENUMS_BEING_COOKINGTYPE_H -- cgit v1.2.3-70-g09d2