From d59df7395f890f1b0e3322238726464980f0c4fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Nov 2014 13:36:15 +0300 Subject: Add function for parse or report about unknown object in parsing script file. --- src/map/npc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index efd787677..97ea7713a 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -234,6 +234,7 @@ struct npc_interface { struct npc_data* (*add_warp) (char *name, short from_mapid, short from_x, short from_y, short xs, short ys, unsigned short to_mapindex, short to_x, short to_y); const char* (*parse_warp) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval); const char* (*parse_shop) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval); + const char* (*parse_unknown_object) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval); void (*convertlabel_db) (struct npc_label_list *label_list, const char *filepath); const char* (*skip_script) (const char *start, const char *buffer, const char *filepath, int *retval); const char* (*parse_script) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int options, int *retval); -- cgit v1.2.3-60-g2f50