summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-28 23:33:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-28 23:33:52 +0300
commit674092152236dca6784081e5e93540069b54549e (patch)
tree3bf5030577d349b22f803158f20cdbb4426f913a /src/map/npc.h
parent489c589e3e0f9344ee2af40c04bbdcca30ab7696 (diff)
downloadhercules-674092152236dca6784081e5e93540069b54549e.tar.gz
hercules-674092152236dca6784081e5e93540069b54549e.tar.bz2
hercules-674092152236dca6784081e5e93540069b54549e.tar.xz
hercules-674092152236dca6784081e5e93540069b54549e.zip
Add function for create npc.
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 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);