From 674092152236dca6784081e5e93540069b54549e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 28 Nov 2014 23:33:52 +0300 Subject: Add function for create npc. --- 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 97ea7713a..fba14d485 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -231,6 +231,7 @@ struct npc_interface { void (*parsename) (struct npc_data *nd, const char *name, const char *start, const char *buffer, const char *filepath); int (*parseview) (const char *w4, const char *start, const char *buffer, const char *filepath); bool (*viewisid) (const char *viewid); + struct npc_data* (*create_npc) (int m, int x, int y); 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); -- cgit v1.2.3-70-g09d2