diff options
author | shennetsind <ind@henn.et> | 2013-06-08 17:20:12 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-08 17:20:12 -0300 |
commit | 27147633d447400d4a095a4166c64d3a0df4e078 (patch) | |
tree | 6fe2c0b85b7e4f124799bebe4aae3b225ea6b772 /src/map/pc.h | |
parent | 97b6ba1229f845dc8ae47c91586a195a5bf37e9c (diff) | |
download | hercules-27147633d447400d4a095a4166c64d3a0df4e078.tar.gz hercules-27147633d447400d4a095a4166c64d3a0df4e078.tar.bz2 hercules-27147633d447400d4a095a4166c64d3a0df4e078.tar.xz hercules-27147633d447400d4a095a4166c64d3a0df4e078.zip |
Follow up d73783f22b2bb881aab74524d153d89a5932a199
Adjusting pc.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i')
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 91f7750b3..f7c67b564 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -707,18 +707,18 @@ enum equip_pos { -#define pc_readglobalreg(sd,reg) iPc->readregistry(sd,reg,3) -#define pc_setglobalreg(sd,reg,val) iPc->setregistry(sd,reg,val,3) -#define pc_readglobalreg_str(sd,reg) iPc->readregistry_str(sd,reg,3) -#define pc_setglobalreg_str(sd,reg,val) iPc->setregistry_str(sd,reg,val,3) -#define pc_readaccountreg(sd,reg) iPc->readregistry(sd,reg,2) -#define pc_setaccountreg(sd,reg,val) iPc->setregistry(sd,reg,val,2) -#define pc_readaccountregstr(sd,reg) iPc->readregistry_str(sd,reg,2) -#define pc_setaccountregstr(sd,reg,val) iPc->setregistry_str(sd,reg,val,2) -#define pc_readaccountreg2(sd,reg) iPc->readregistry(sd,reg,1) -#define pc_setaccountreg2(sd,reg,val) iPc->setregistry(sd,reg,val,1) -#define pc_readaccountreg2str(sd,reg) iPc->readregistry_str(sd,reg,1) -#define pc_setaccountreg2str(sd,reg,val) iPc->setregistry_str(sd,reg,val,1) +#define pc_readglobalreg(sd,reg) pc->readregistry(sd,reg,3) +#define pc_setglobalreg(sd,reg,val) pc->setregistry(sd,reg,val,3) +#define pc_readglobalreg_str(sd,reg) pc->readregistry_str(sd,reg,3) +#define pc_setglobalreg_str(sd,reg,val) pc->setregistry_str(sd,reg,val,3) +#define pc_readaccountreg(sd,reg) pc->readregistry(sd,reg,2) +#define pc_setaccountreg(sd,reg,val) pc->setregistry(sd,reg,val,2) +#define pc_readaccountregstr(sd,reg) pc->readregistry_str(sd,reg,2) +#define pc_setaccountregstr(sd,reg,val) pc->setregistry_str(sd,reg,val,2) +#define pc_readaccountreg2(sd,reg) pc->readregistry(sd,reg,1) +#define pc_setaccountreg2(sd,reg,val) pc->setregistry(sd,reg,val,1) +#define pc_readaccountreg2str(sd,reg) pc->readregistry_str(sd,reg,1) +#define pc_setaccountreg2str(sd,reg,val) pc->setregistry_str(sd,reg,val,1) @@ -982,9 +982,9 @@ struct pc_interface { void (*baselevelchanged) (struct map_session_data *sd); int (*level_penalty_mod) (struct map_session_data *sd, struct mob_data * md, int type); -} iPc_s; +} pc_s; -struct pc_interface *iPc; +struct pc_interface *pc; void pc_defaults(void); |