summaryrefslogtreecommitdiff
path: root/src/map/map.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/map.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/map.hpp')
-rw-r--r--src/map/map.hpp23
1 files changed, 9 insertions, 14 deletions
diff --git a/src/map/map.hpp b/src/map/map.hpp
index 20423ba..32194c0 100644
--- a/src/map/map.hpp
+++ b/src/map/map.hpp
@@ -4,14 +4,10 @@
#include "map.t.hpp"
#include <netinet/in.h>
-#include <sys/time.h>
-#include <cstdio>
-#include <ctime>
+#include <functional>
-#include "../common/cxxstdio.hpp"
#include "../common/db.hpp"
-#include "../common/mmo.hpp"
#include "../common/timer.hpp"
#include "battle.t.hpp"
@@ -686,12 +682,11 @@ void map_log(const_string line);
void map_clearflooritem_timer(timer_id, tick_t, custom_id_t, custom_data_t);
#define map_clearflooritem(id) map_clearflooritem_timer(0,0,id,1)
int map_addflooritem_any(struct item *, int amount, int m, int x, int y,
- struct map_session_data **owners,
- int *owner_protection,
- int lifetime, int dispersal);
+ struct map_session_data **owners, int *owner_protection,
+ int lifetime, int dispersal);
int map_addflooritem(struct item *, int, int, int, int,
- struct map_session_data *, struct map_session_data *,
- struct map_session_data *, int);
+ struct map_session_data *, struct map_session_data *,
+ struct map_session_data *, int);
// キャラid=>キャラ名 変換関連
void map_addchariddb(int charid, const char *name);
@@ -713,10 +708,10 @@ int compare_item(struct item *a, struct item *b);
struct map_session_data *map_get_first_session(void);
struct map_session_data *map_get_last_session(void);
-struct map_session_data *map_get_next_session(struct map_session_data
- *current);
-struct map_session_data *map_get_prev_session(struct map_session_data
- *current);
+struct map_session_data *map_get_next_session(
+ struct map_session_data *current);
+struct map_session_data *map_get_prev_session(
+ struct map_session_data *current);
// gat関連
int map_getcell(int, int, int);