summaryrefslogtreecommitdiff
path: root/src/map/tmw.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-05-25 13:49:50 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-05-25 13:49:50 -0700
commit1d0e18a186f67844ccd873eabb56ebdaa3f47f11 (patch)
tree94199c6dbcb6b4a86584c303f6e1e72073873f01 /src/map/tmw.hpp
parent87218e07b2bc89593eae1cb4abe859cd1a7eaa0f (diff)
downloadtmwa-1d0e18a186f67844ccd873eabb56ebdaa3f47f11.tar.gz
tmwa-1d0e18a186f67844ccd873eabb56ebdaa3f47f11.tar.bz2
tmwa-1d0e18a186f67844ccd873eabb56ebdaa3f47f11.tar.xz
tmwa-1d0e18a186f67844ccd873eabb56ebdaa3f47f11.zip
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 ...
Diffstat (limited to 'src/map/tmw.hpp')
-rw-r--r--src/map/tmw.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/tmw.hpp b/src/map/tmw.hpp
index d64f45e..26446b9 100644
--- a/src/map/tmw.hpp
+++ b/src/map/tmw.hpp
@@ -2,8 +2,11 @@
#define TMW_HPP
#include "../common/const_array.hpp"
+#include "../common/dumb_ptr.hpp"
-int tmw_CheckChatSpam(struct map_session_data *sd, const char *message);
+#include "map.hpp"
+
+int tmw_CheckChatSpam(dumb_ptr<map_session_data> sd, const char *message);
void tmw_GmHackMsg(const_string line);
void tmw_TrimStr(char *str);