aboutsummaryrefslogtreecommitdiff
path: root/src/enums.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-05-18 11:28:39 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-05-18 11:28:39 -0300
commitd95823652617598efbe21b398c2eb8f3137a5e3b (patch)
tree28bde4c037d547c4e05186a8ff54278eff535ba4 /src/enums.hh
parent17c2162362cbdbf6434e67b9ce446f92b4605b2e (diff)
downloadgame-d95823652617598efbe21b398c2eb8f3137a5e3b.tar.gz
game-d95823652617598efbe21b398c2eb8f3137a5e3b.zip
finish TSkill variants
Diffstat (limited to 'src/enums.hh')
-rw-r--r--src/enums.hh16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/enums.hh b/src/enums.hh
index 7791b5e..053a2ed 100644
--- a/src/enums.hh
+++ b/src/enums.hh
@@ -12,6 +12,19 @@ enum CreatureType: int {
NPC = 2,
};
+// NOTE(fusion): Not in debug symbols.
+enum PROFESSION: uint8 {
+ PROFESSION_NONE = 0,
+ PROFESSION_KNIGHT = 1,
+ PROFESSION_PALADIN = 2,
+ PROFESSION_SORCERER = 3,
+ PROFESSION_DRUID = 4,
+ PROFESSION_ELITE_KNIGHT = 11,
+ PROFESSION_ROYAL_PALADIN = 12,
+ PROFESSION_MASTER_SORCERER = 13,
+ PROFESSION_ELDER_DRUID = 14,
+};
+
enum RESULT: int {
ERROR = -1,
NOERROR = 0,
@@ -162,8 +175,7 @@ enum RIGHT: int {
NO_STATISTICS = 81,
};
-// NOTE(fusion): This didn't exist int the decompiled version but is handy when
-// accessing a creature's `Skills` table.
+// NOTE(fusion): Not in debug symbols.
enum Skill: int {
SKILL_LEVEL = 0,
SKILL_MAGIC_LEVEL = 1,