summaryrefslogtreecommitdiff
path: root/src/map/pc.t.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.t.hpp')
-rw-r--r--src/map/pc.t.hpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/map/pc.t.hpp b/src/map/pc.t.hpp
new file mode 100644
index 0000000..26e4d94
--- /dev/null
+++ b/src/map/pc.t.hpp
@@ -0,0 +1,42 @@
+#ifndef PC_T_HPP
+#define PC_T_HPP
+
+#include <cstdint>
+
+enum class PC_GAINEXP_REASON
+{
+ KILLING = 0,
+ HEALING = 1,
+ SCRIPT = 2,
+
+ COUNT,
+};
+
+enum class ADDITEM
+{
+ EXIST,
+ NEW,
+ OVERAMOUNT,
+
+ // when used as error in nullpo_retr
+ ZERO = 0,
+};
+
+enum class CalcStatus
+{
+ NOW,
+ LATER ,
+};
+
+enum class PickupFail : uint8_t
+{
+ OKAY = 0,
+ BAD_ITEM = 1,
+ TOO_HEAVY = 2,
+ TOO_FAR = 3,
+ INV_FULL = 4,
+ STACK_FULL = 5,
+ DROP_STEAL = 6,
+};
+
+#endif // PC_T_HPP