summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 20:33:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 20:33:10 +0300
commit9f1994182d4225f630a93ae06b01927c4f7a9a37 (patch)
treeb3557f6c6e6a923170929fd6553b59f872634291 /src/enums
parentaef032f93b7bdc6e5908b2fa5f940a43bcfce50e (diff)
downloadManaVerse-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.gz
ManaVerse-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.bz2
ManaVerse-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.xz
ManaVerse-9f1994182d4225f630a93ae06b01927c4f7a9a37.zip
Convert ActorType enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/being/actortype.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/enums/being/actortype.h b/src/enums/being/actortype.h
index c9e39e1f7..d9bf7b3f5 100644
--- a/src/enums/being/actortype.h
+++ b/src/enums/being/actortype.h
@@ -22,24 +22,24 @@
#ifndef ENUMS_BEING_ACTORTYPE_H
#define ENUMS_BEING_ACTORTYPE_H
-namespace ActorType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(ActorType)
{
- enum Type
- {
- Unknown = 0,
- Player,
- Npc,
- Monster,
- FloorItem,
- Portal,
- LocalPet,
- Avatar,
+ Unknown = 0,
+ Player,
+ Npc,
+ Monster,
+ FloorItem,
+ Portal,
+ LocalPet,
+ Avatar,
#ifdef EATHENA_SUPPORT
- Pet,
- Mercenary,
- Homunculus
+ Pet,
+ Mercenary,
+ Homunculus
#endif
- };
-} // namespace ActorType
+}
+enumEnd(ActorType);
#endif // ENUMS_BEING_ACTORTYPE_H