summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-12-30 04:15:32 -0700
committerFate <fate-tmw@googlemail.com>2008-12-30 04:15:32 -0700
commitef1cac570726f59c821ebafd1980302c0035d3ce (patch)
tree1e07cc5de2a43494fd35cb78bf59f4c3d39c3c55 /src/map/npc.h
parente22cc45c0dfffa33b981f8674743cacd9915d6e0 (diff)
downloadtmwa-ef1cac570726f59c821ebafd1980302c0035d3ce.tar.gz
tmwa-ef1cac570726f59c821ebafd1980302c0035d3ce.tar.bz2
tmwa-ef1cac570726f59c821ebafd1980302c0035d3ce.tar.xz
tmwa-ef1cac570726f59c821ebafd1980302c0035d3ce.zip
Added OnPCDieEvent and OnPCKillEvent label support
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index c843b56..03ad138 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -50,8 +50,11 @@ int do_init_npc(void);
int npc_event_do_oninit(void);
int npc_do_ontimer(int,struct map_session_data *,int);
-int npc_event_doall(const char *name);
-int npc_event_do(const char *name);
+struct argrec;
+int npc_event_doall_l(const char *name, int rid, int argc, struct argrec *argv);
+int npc_event_do_l(const char *name, int rid, int argc, struct argrec *argv);
+#define npc_event_doall(name) npc_event_doall_l(name, 0, 0, NULL)
+#define npc_event_do(name) npc_event_do_l(name, 0, 0, NULL)
int npc_timerevent_start(struct npc_data *nd);
int npc_timerevent_stop(struct npc_data *nd);