diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-19 01:00:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-19 17:37:00 +0300 |
commit | 7910c013eeda513e26711c61a650d23a581b9f28 (patch) | |
tree | 743e691c364508786b27cede22cb2a455204ed9c /src/emap/npc.h | |
parent | 2cfa1a8f0f8bb224654126eb08b67566ee4bc721 (diff) | |
download | evol-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.h | 16 |
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 |