From b3112bd3f6d0887fdf81610327c9edad08a0cfaf Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 10 Jan 2015 17:32:49 -0800 Subject: Use generated config for map --- src/map/chrif.hpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/map/chrif.hpp') diff --git a/src/map/chrif.hpp b/src/map/chrif.hpp index 59fb541..655103d 100644 --- a/src/map/chrif.hpp +++ b/src/map/chrif.hpp @@ -25,13 +25,8 @@ namespace tmwa { -void chrif_setuserid(AccountName); -void chrif_setpasswd(AccountPass); -AccountPass chrif_getpasswd(void); - -void chrif_setip(IP4Address); -void chrif_setport(int); - +namespace map +{ int chrif_isconnect(void); int chrif_authreq(dumb_ptr); @@ -50,8 +45,5 @@ int chrif_saveaccountreg2(dumb_ptr sd); int chrif_send_divorce(CharId char_id); void do_init_chrif(void); - -// only used by intif.cpp -// and clif.cpp for the new on_delete stuff ... -extern Session *char_session; +} // namespace map } // namespace tmwa -- cgit v1.2.3-60-g2f50