summaryrefslogtreecommitdiff
path: root/src/emap/npc.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
commit1fc6228436311da0d70f14176fe47f3e37f6faa6 (patch)
tree9434c90ab44ac55200daa199f524fa11f3168678 /src/emap/npc.h
parent00d1b8bf9fc3648730904b6f86696417f4445037 (diff)
downloadevol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.gz
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.bz2
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.xz
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.zip
Update function hook prototypes for support new hercules.
Diffstat (limited to 'src/emap/npc.h')
-rw-r--r--src/emap/npc.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/emap/npc.h b/src/emap/npc.h
index 2be72e0..1d6c254 100644
--- a/src/emap/npc.h
+++ b/src/emap/npc.h
@@ -4,11 +4,18 @@
#ifndef EVOL_MAP_NPC
#define EVOL_MAP_NPC
-void enpc_parse_unknown_mapflag(const char *name, const char *w3, const char *w4, const char* start,
- const char* buffer, const char* filepath, int *retval);
+void enpc_parse_unknown_mapflag_pre(const char **namePtr,
+ const char **w3Ptr,
+ const char **w4Ptr,
+ const char **startPtr,
+ const char **bufferPtr,
+ const char **filepathPtr,
+ int **retval);
-int enpc_buysellsel(TBL_PC* sd, int *id, int *type);
+int enpc_buysellsel_pre(TBL_PC **sdPtr,
+ int *id,
+ int *type);
-bool enpc_db_checkid(int *idPtr);
+bool enpc_db_checkid_pre(const int *idPtr);
#endif // EVOL_MAP_NPC