summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-12-12 12:23:58 -0700
committerFate <fate-tmw@googlemail.com>2008-12-12 12:23:58 -0700
commit9537c3f0086c8985d84eb0fa5823e8be185beada (patch)
tree4338d77c0bac1f9c3807d4fca6acca873ec73916 /src/map/map.h
parentdbd6ed3452751d45b866572fd42784bc8e7c8161 (diff)
downloadtmwa-9537c3f0086c8985d84eb0fa5823e8be185beada.tar.gz
tmwa-9537c3f0086c8985d84eb0fa5823e8be185beada.tar.bz2
tmwa-9537c3f0086c8985d84eb0fa5823e8be185beada.tar.xz
tmwa-9537c3f0086c8985d84eb0fa5823e8be185beada.zip
Added @hugo and @linus commands for iterating over logged-in players
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index d407016..0b52a38 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -748,6 +748,11 @@ void map_addnickdb(struct map_session_data *);
int map_scriptcont(struct map_session_data *sd,int id); /* Continues a script either on a spell or on an NPC */
struct map_session_data * map_nick2sd(char*);
+struct map_session_data * map_get_first_session();
+struct map_session_data * map_get_last_session();
+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ŠÖ˜A
int map_getcell(int,int,int);
int map_setcell(int,int,int,int);