summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am1
-rw-r--r--src/emap/enum/beingflag.h21
2 files changed, 22 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index cf864f1..d3ffbd3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -113,6 +113,7 @@ MAP_SRC = emap/atcommand.c \
emap/data/session.h \
emap/data/skilld.c \
emap/data/skilld.h \
+ emap/enum/beingflag.h \
emap/enum/esctype.h \
emap/enum/esitype.h \
emap/struct/bgdext.h \
diff --git a/src/emap/enum/beingflag.h b/src/emap/enum/beingflag.h
new file mode 100644
index 0000000..9c8d96c
--- /dev/null
+++ b/src/emap/enum/beingflag.h
@@ -0,0 +1,21 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 - 2019 Evol developers
+
+// This is a ManaPlus enum:
+// https://gitlab.com/manaplus/manaplus/blob/master/src/being/beingflag.h
+
+#ifndef EVOL_MAP_ENUM_BEINGFLAG
+#define EVOL_MAP_ENUM_BEINGFLAG
+
+typedef enum BeingFlag
+{
+ BEINGFLAG_SHOP = 1,
+ BEINGFLAG_AWAY = 2,
+ BEINGFLAG_INACTIVE = 4,
+ BEINGFLAG_GENDER_HIDDEN = 32,
+ BEINGFLAG_GM = 64,
+ BEINGFLAG_GENDER_MALE = 128,
+ BEINGFLAG_SPECIAL = 128 + 64
+} BeingFlag;
+
+#endif // EVOL_MAP_ENUM_BEINGFLAG