summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-01-21 21:50:36 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-02-01 12:36:51 -0800
commit90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee (patch)
tree42667ee8211853727c14645c05280e2500a7a994 /src/map/magic-interpreter.hpp
parentb3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c (diff)
downloadtmwa-90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee.tar.gz
tmwa-90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee.tar.bz2
tmwa-90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee.tar.xz
tmwa-90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee.zip
Remove unnecessary includes, speeding up recompilation
Diffstat (limited to 'src/map/magic-interpreter.hpp')
-rw-r--r--src/map/magic-interpreter.hpp27
1 files changed, 3 insertions, 24 deletions
diff --git a/src/map/magic-interpreter.hpp b/src/map/magic-interpreter.hpp
index e79f0ab..9b7a035 100644
--- a/src/map/magic-interpreter.hpp
+++ b/src/map/magic-interpreter.hpp
@@ -3,31 +3,10 @@
#include "magic-interpreter.t.hpp"
-#include <cmath>
-#include <cstdio>
-#include <cstdlib>
-#include <cstring>
-
-#include "../common/nullpo.hpp"
-#include "../common/socket.hpp"
-#include "../common/timer.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"
-#include "party.hpp"
-#include "pc.hpp"
#include "script.hpp"
-#include "skill.hpp"
-#include "storage.hpp"
-#include "trade.hpp"
+#include "skill.t.hpp"
struct expr;
struct val;
@@ -371,7 +350,7 @@ teleport_anchor_t *magic_find_anchor(char *name);
* The parameter `param' must have been dynamically allocated; ownership is transferred to the resultant env_t.
*/
env_t *spell_create_env(magic_conf_t *conf, spell_t *spell,
- character_t *caster, int spellpower, char *param);
+ character_t *caster, int spellpower, char *param);
void magic_free_env(env_t *env);
@@ -379,7 +358,7 @@ void magic_free_env(env_t *env);
* near_miss is set to nonzero iff the spell only failed due to ephemereal issues (spell delay in effect, out of mana, out of components)
*/
effect_set_t *spell_trigger(spell_t *spell, character_t *caster,
- env_t *env, int *near_miss);
+ env_t *env, int *near_miss);
invocation_t *spell_instantiate(effect_set_t *effect, env_t *env);