From 1d0e18a186f67844ccd873eabb56ebdaa3f47f11 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 25 May 2013 13:49:50 -0700 Subject: Switch block_list and subclasses to dumb_ptr Now we're well-defined, since we're actually calling ctors and dtors. Most of this code will not survive long ... --- src/map/intif.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/map/intif.hpp') diff --git a/src/map/intif.hpp b/src/map/intif.hpp index 25f69e3..766af59 100644 --- a/src/map/intif.hpp +++ b/src/map/intif.hpp @@ -3,28 +3,30 @@ #include "../common/const_array.hpp" +#include "map.hpp" + int intif_parse(int fd); void intif_GMmessage(const_string mes, int flag); -int intif_wis_message(struct map_session_data *sd, const char *nick, const char *mes, +int intif_wis_message(dumb_ptr sd, const char *nick, const char *mes, int mes_len); int intif_wis_message_to_gm(const char *Wisp_name, int min_gm_level, const char *mes, int mes_len); -int intif_saveaccountreg(struct map_session_data *sd); -int intif_request_accountreg(struct map_session_data *sd); +int intif_saveaccountreg(dumb_ptr sd); +int intif_request_accountreg(dumb_ptr sd); int intif_request_storage(int account_id); int intif_send_storage(struct storage *stor); -int intif_create_party(struct map_session_data *sd, const char *name); +int intif_create_party(dumb_ptr sd, const char *name); int intif_request_partyinfo(int party_id); int intif_party_addmember(int party_id, int account_id); int intif_party_changeoption(int party_id, int account_id, int exp, int item); int intif_party_leave(int party_id, int accound_id); -int intif_party_changemap(struct map_session_data *sd, int online); +int intif_party_changemap(dumb_ptr sd, int online); int intif_party_message(int party_id, int account_id, const char *mes, int len); int intif_party_checkconflict(int party_id, int account_id, const char *nick); -- cgit v1.2.3-60-g2f50