diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-21 21:50:36 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-01 12:36:51 -0800 |
commit | 90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee (patch) | |
tree | 42667ee8211853727c14645c05280e2500a7a994 /src/map/mob.hpp | |
parent | b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c (diff) | |
download | tmwa-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/mob.hpp')
-rw-r--r-- | src/map/mob.hpp | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/map/mob.hpp b/src/map/mob.hpp index 357c4fa..8247102 100644 --- a/src/map/mob.hpp +++ b/src/map/mob.hpp @@ -3,6 +3,7 @@ #include "mob.t.hpp" +#include "../common/mmo.hpp" #include "../common/timer.hpp" #include "map.hpp" @@ -61,15 +62,17 @@ extern struct mob_db mob_db[]; int mobdb_searchname(const char *str); int mobdb_checkid(const int id); -int mob_once_spawn(struct map_session_data *sd, const char *mapname, - int x, int y, const char *mobname, int class_, int amount, - const char *event); -int mob_once_spawn_area(struct map_session_data *sd, const char *mapname, int x0, - int y0, int x1, int y1, const char *mobname, - int class_, int amount, const char *event); - -int mob_spawn_guardian(struct map_session_data *sd, const char *mapname, // Spawning Guardians [Valaris] - int x, int y, const char *mobname, int class_, int amount, const char *event, int guardian); // Spawning Guardians [Valaris] +int mob_once_spawn(struct map_session_data *sd, + const char *mapname, int x, int y, + const char *mobname, int class_, int amount, const char *event); +int mob_once_spawn_area(struct map_session_data *sd, + const char *mapname, int x0, int y0, int x1, int y1, + const char *mobname, int class_, int amount, const char *event); + +int mob_spawn_guardian(struct map_session_data *sd, + const char *mapname, int x, int y, + const char *mobname, int class_, int amount, + const char *event, int guardian); // Spawning Guardians [Valaris] int mob_target(struct mob_data *md, struct block_list *bl, int dist); int mob_stop_walking(struct mob_data *md, int type); |