From 90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 21 Jan 2013 21:50:36 -0800 Subject: Remove unnecessary includes, speeding up recompilation --- src/map/script.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/map/script.cpp') diff --git a/src/map/script.cpp b/src/map/script.cpp index 093ced9..4304640 100644 --- a/src/map/script.cpp +++ b/src/map/script.cpp @@ -1,31 +1,28 @@ #include "script.hpp" -#include - -#include #include #include -#include #include #include #include #include +#include "../common/cxxstdio.hpp" #include "../common/db.hpp" #include "../common/extract.hpp" #include "../common/lock.hpp" #include "../common/mt_rand.hpp" #include "../common/socket.hpp" -#include "../common/timer.hpp" +#include "../common/utils.hpp" #include "atcommand.hpp" #include "battle.hpp" -#include "chat.hpp" #include "chrif.hpp" #include "clif.hpp" #include "intif.hpp" #include "itemdb.hpp" +#include "magic.hpp" #include "map.hpp" #include "mob.hpp" #include "npc.hpp" @@ -211,6 +208,7 @@ int add_str(const char *p) int i; char *lowcase; + // TODO remove lowcase lowcase = strdup(p); for (i = 0; lowcase[i]; i++) lowcase[i] = tolower(lowcase[i]); -- cgit v1.2.3-60-g2f50