summaryrefslogtreecommitdiff
path: root/src/enums/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 23:39:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 23:39:17 +0300
commit273b79cf4f52c846508f3493727e34b1811ecfd5 (patch)
tree2645bc865da16e851b593ca1f3860d70d7911e81 /src/enums/being
parentc593adb7fb0dffc62f1311e6c52f25bfafcdf0f4 (diff)
downloadmanaverse-273b79cf4f52c846508f3493727e34b1811ecfd5.tar.gz
manaverse-273b79cf4f52c846508f3493727e34b1811ecfd5.tar.bz2
manaverse-273b79cf4f52c846508f3493727e34b1811ecfd5.tar.xz
manaverse-273b79cf4f52c846508f3493727e34b1811ecfd5.zip
Convert CookingType enum into strong typed enum.
Diffstat (limited to 'src/enums/being')
-rw-r--r--src/enums/being/cookingtype.h22
1 files changed, 11 insertions, 11 deletions
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