summaryrefslogtreecommitdiff
path: root/src/emap/npc.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-19 01:00:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-19 17:37:00 +0300
commit7910c013eeda513e26711c61a650d23a581b9f28 (patch)
tree743e691c364508786b27cede22cb2a455204ed9c /src/emap/npc.h
parent2cfa1a8f0f8bb224654126eb08b67566ee4bc721 (diff)
downloadevol-hercules-7910c013eeda513e26711c61a650d23a581b9f28.tar.gz
evol-hercules-7910c013eeda513e26711c61a650d23a581b9f28.tar.bz2
evol-hercules-7910c013eeda513e26711c61a650d23a581b9f28.tar.xz
evol-hercules-7910c013eeda513e26711c61a650d23a581b9f28.zip
Allow full npc copy in instances.
Diffstat (limited to 'src/emap/npc.h')
-rw-r--r--src/emap/npc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/emap/npc.h b/src/emap/npc.h
index 1d6c254..ea6c77f 100644
--- a/src/emap/npc.h
+++ b/src/emap/npc.h
@@ -18,4 +18,20 @@ int enpc_buysellsel_pre(TBL_PC **sdPtr,
bool enpc_db_checkid_pre(const int *idPtr);
+bool enpc_duplicate_script_sub_pre(struct npc_data **ndPtr,
+ const struct npc_data **sndPtr,
+ int *xsPtr,
+ int *ysPtr,
+ int *optionsPtr);
+
+void enpc_set_var_num(TBL_NPC *const npc,
+ const char *var,
+ const int val);
+
+int enpc_get_var_num(const TBL_NPC *const npc,
+ const char *var);
+
+int enpc_unload_pre(struct npc_data** ndPtr,
+ bool *singlePtr);
+
#endif // EVOL_MAP_NPC