diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-06-29 23:23:43 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-08-01 15:19:45 -0700 |
commit | 3b98f3439e33b15bba2036c402f9925340fdb2b9 (patch) | |
tree | f6a59330bb747d9cc64f5f83d06e7f76dc01d540 /src/map/pc.hpp | |
parent | 8d1480c1be7c9741876d89008277a2b3629a4d01 (diff) | |
download | tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.gz tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.bz2 tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.xz tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.zip |
Poison std::string and use the various string classes
Diffstat (limited to 'src/map/pc.hpp')
-rw-r--r-- | src/map/pc.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/map/pc.hpp b/src/map/pc.hpp index 4ebfa1b..4796011 100644 --- a/src/map/pc.hpp +++ b/src/map/pc.hpp @@ -62,8 +62,8 @@ int pc_checkequip(dumb_ptr<map_session_data> sd, EPOS pos); int pc_walktoxy(dumb_ptr<map_session_data>, int, int); int pc_stop_walking(dumb_ptr<map_session_data>, int); int pc_movepos(dumb_ptr<map_session_data>, int, int); -int pc_setpos(dumb_ptr<map_session_data>, const char *, int, int, BeingRemoveWhy); -void pc_setsavepoint(dumb_ptr<map_session_data>, const char *, int, int); +int pc_setpos(dumb_ptr<map_session_data>, MapName, int, int, BeingRemoveWhy); +void pc_setsavepoint(dumb_ptr<map_session_data>, MapName, int, int); int pc_randomwarp(dumb_ptr<map_session_data> sd, BeingRemoveWhy type); ADDITEM pc_checkadditem(dumb_ptr<map_session_data>, int, int); @@ -120,17 +120,17 @@ int pc_readparam(dumb_ptr<map_session_data>, SP); int pc_setparam(dumb_ptr<map_session_data>, SP, int); int pc_readreg(dumb_ptr<map_session_data>, SIR); void pc_setreg(dumb_ptr<map_session_data>, SIR, int); -const char *pc_readregstr(dumb_ptr<map_session_data> sd, SIR reg); -void pc_setregstr(dumb_ptr<map_session_data> sd, SIR reg, const char *str); -int pc_readglobalreg(dumb_ptr<map_session_data>, const char *); -int pc_setglobalreg(dumb_ptr<map_session_data>, const char *, int); -int pc_readaccountreg(dumb_ptr<map_session_data>, const char *); -int pc_setaccountreg(dumb_ptr<map_session_data>, const char *, int); -int pc_readaccountreg2(dumb_ptr<map_session_data>, const char *); -int pc_setaccountreg2(dumb_ptr<map_session_data>, const char *, int); +ZString pc_readregstr(dumb_ptr<map_session_data> sd, SIR reg); +void pc_setregstr(dumb_ptr<map_session_data> sd, SIR reg, FString str); +int pc_readglobalreg(dumb_ptr<map_session_data>, VarName ); +int pc_setglobalreg(dumb_ptr<map_session_data>, VarName , int); +int pc_readaccountreg(dumb_ptr<map_session_data>, VarName ); +int pc_setaccountreg(dumb_ptr<map_session_data>, VarName , int); +int pc_readaccountreg2(dumb_ptr<map_session_data>, VarName ); +int pc_setaccountreg2(dumb_ptr<map_session_data>, VarName , int); int pc_addeventtimer(dumb_ptr<map_session_data> sd, interval_t tick, - const char *name); + NpcEvent name); int pc_cleareventtimer(dumb_ptr<map_session_data> sd); int pc_calc_pvprank(dumb_ptr<map_session_data> sd); |