diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-21 04:20:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-21 04:21:53 +0300 |
commit | ec9f4b20aca50905d635db6d1e5398918a6dba5d (patch) | |
tree | c8c1126b5407fcfe8fe43b1db14e3970c656eda8 /src | |
parent | 1962fe593393d260c5f170c5fe6932e130e495bf (diff) | |
download | hercules-ec9f4b20aca50905d635db6d1e5398918a6dba5d.tar.gz hercules-ec9f4b20aca50905d635db6d1e5398918a6dba5d.tar.bz2 hercules-ec9f4b20aca50905d635db6d1e5398918a6dba5d.tar.xz hercules-ec9f4b20aca50905d635db6d1e5398918a6dba5d.zip |
Add names for some unnamed enums.
Need for packet parser.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/mmo.h | 4 | ||||
-rw-r--r-- | src/map/status.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index 84ed25e4c..52f68b719 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -422,7 +422,7 @@ enum e_item_bound_type { #endif }; -enum { +enum e_option { OPTION_NOTHING = 0x00000000, OPTION_SIGHT = 0x00000001, OPTION_HIDE = 0x00000002, @@ -922,7 +922,7 @@ enum { }; //These mark the ID of the jobs, as expected by the client. [Skotlex] -enum { +enum e_class { JOB_NOVICE, JOB_SWORDMAN, JOB_MAGE, diff --git a/src/map/status.h b/src/map/status.h index eb3cf491b..a104c66ab 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -1927,7 +1927,7 @@ enum e_mode //who were not on your field of sight when it happened) //opt1: Non stackable status changes. -enum { +enum e_opt1 { OPT1_STONE = 1, //Petrified OPT1_FREEZE, OPT1_STUN, @@ -1940,7 +1940,7 @@ enum { }; //opt2: Stackable status changes. -enum { +enum e_opt2 { OPT2_POISON = 0x0001, OPT2_CURSE = 0x0002, OPT2_SILENCE = 0x0004, @@ -1953,7 +1953,7 @@ enum { }; //opt3: (SHOW_EFST_*) -enum { +enum e_opt3 { OPT3_NORMAL = 0x00000000, OPT3_QUICKEN = 0x00000001, OPT3_OVERTHRUST = 0x00000002, |