summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-16 10:59:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-27 11:23:03 +0300
commit5eca1fc09e4f93c1138382983a29cab300ba3fd3 (patch)
treed9d5b39f1cfaf5640cf7f50ba20819ca8dc40c17 /src/map/npc.h
parent1e81c48a5e13f0a0b0a94d93f40fdfda529acd61 (diff)
downloadhercules-5eca1fc09e4f93c1138382983a29cab300ba3fd3.tar.gz
hercules-5eca1fc09e4f93c1138382983a29cab300ba3fd3.tar.bz2
hercules-5eca1fc09e4f93c1138382983a29cab300ba3fd3.tar.xz
hercules-5eca1fc09e4f93c1138382983a29cab300ba3fd3.zip
Add function for parse/report unknown map flag.
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 9c497ffe9..efd787677 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -250,6 +250,7 @@ struct npc_interface {
void (*parse_mob2) (struct spawn_data *mobspawn);
const char* (*parse_mob) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
const char* (*parse_mapflag) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ void (*parse_unknown_mapflag) (const char *name, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
int (*parsesrcfile) (const char *filepath, bool runOnInit);
int (*script_event) (struct map_session_data *sd, enum npce_event type);
void (*read_event_script) (void);