summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 00:00:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 00:00:03 +0300
commit7abba762ddd14b63f34a3be9c9212db3a1939960 (patch)
tree1a5ecee6d78d80c597b87c4860663abdb6a6c327 /src/enums
parent41dfafa2ff6e878308c5edde056edfa944bf6f03 (diff)
downloadmv-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.gz
mv-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.bz2
mv-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.xz
mv-7abba762ddd14b63f34a3be9c9212db3a1939960.zip
Convert Rank enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/being/rank.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enums/being/rank.h b/src/enums/being/rank.h
index 3d2ee065e..c23e82c02 100644
--- a/src/enums/being/rank.h
+++ b/src/enums/being/rank.h
@@ -22,16 +22,16 @@
#define ENUMS_BEING_RANK_H
#ifdef EATHENA_SUPPORT
-namespace Rank
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(Rank)
{
- enum Rank
- {
- Blacksmith = 0,
- Alchemist = 1,
- Taekwon = 2,
- Pk = 3
- };
-} // namespace Rank
+ Blacksmith = 0,
+ Alchemist = 1,
+ Taekwon = 2,
+ Pk = 3
+}
+enumEnd(Rank);
#endif // EATHENA_SUPPORT
#endif // ENUMS_BEING_RANK_H