diff options
author | shennetsind <ind@henn.et> | 2013-09-29 15:42:33 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-29 15:42:33 -0300 |
commit | 4de6b8e083f5e14ebc5a453af7efce341852be7a (patch) | |
tree | 5e0ad74b3570299a301dc25c8a6228ef1c448036 /src/common/mmo.h | |
parent | dbd0dce80cdc7ea02391d5e096b6561f0b598259 (diff) | |
download | hercules-4de6b8e083f5e14ebc5a453af7efce341852be7a.tar.gz hercules-4de6b8e083f5e14ebc5a453af7efce341852be7a.tar.bz2 hercules-4de6b8e083f5e14ebc5a453af7efce341852be7a.tar.xz hercules-4de6b8e083f5e14ebc5a453af7efce341852be7a.zip |
HPM: Status.c Completed
Fully Interfaced.
Moved missing vars and declarations of interest into the interface.
Removed a couple things from pc.h into mmo.h due to circular dependence.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index f49a859e0..205cf8425 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -777,12 +777,63 @@ enum { JOB_MAX, }; +//Total number of classes (for data storage) +#define CLASS_COUNT (JOB_MAX - JOB_NOVICE_HIGH + JOB_MAX_BASIC) + enum { SEX_FEMALE = 0, SEX_MALE, SEX_SERVER }; +enum weapon_type { + W_FIST, //Bare hands + W_DAGGER, //1 + W_1HSWORD, //2 + W_2HSWORD, //3 + W_1HSPEAR, //4 + W_2HSPEAR, //5 + W_1HAXE, //6 + W_2HAXE, //7 + W_MACE, //8 + W_2HMACE, //9 (unused) + W_STAFF, //10 + W_BOW, //11 + W_KNUCKLE, //12 + W_MUSICAL, //13 + W_WHIP, //14 + W_BOOK, //15 + W_KATAR, //16 + W_REVOLVER, //17 + W_RIFLE, //18 + W_GATLING, //19 + W_SHOTGUN, //20 + W_GRENADE, //21 + W_HUUMA, //22 + W_2HSTAFF, //23 + MAX_WEAPON_TYPE, + // dual-wield constants + W_DOUBLE_DD, // 2 daggers + W_DOUBLE_SS, // 2 swords + W_DOUBLE_AA, // 2 axes + W_DOUBLE_DS, // dagger + sword + W_DOUBLE_DA, // dagger + axe + W_DOUBLE_SA, // sword + axe +}; + +enum ammo_type { + A_ARROW = 1, + A_DAGGER, //2 + A_BULLET, //3 + A_SHELL, //4 + A_GRENADE, //5 + A_SHURIKEN, //6 + A_KUNAI, //7 + A_CANNONBALL, //8 + A_THROWWEAPON //9 +}; + + // sanity checks... #if MAX_ZENY > INT_MAX #error MAX_ZENY is too big |