summaryrefslogtreecommitdiff
path: root/src/emap/status.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/status.h
parent00d1b8bf9fc3648730904b6f86696417f4445037 (diff)
downloadplugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.gz
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.bz2
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.xz
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.zip
Update function hook prototypes for support new hercules.
Diffstat (limited to 'src/emap/status.h')
-rw-r--r--src/emap/status.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/emap/status.h b/src/emap/status.h
index d81e12d..fce6c83 100644
--- a/src/emap/status.h
+++ b/src/emap/status.h
@@ -5,10 +5,19 @@
#define EVOL_MAP_STATUS
void status_init(void);
-void estatus_set_viewdata_post(struct block_list *bl, int *class_);
-void estatus_read_job_db_sub(int *idxPtr, const char *name, struct config_setting_t *jdb);
-int estatus_calc_pc__post(int retVal, struct map_session_data* sd, enum e_status_calc_opt *opt);
-int estatus_calc_pc_additional(struct map_session_data* sd, enum e_status_calc_opt *opt);
-unsigned short estatus_calc_speed_post(unsigned short retVal, struct block_list *bl, struct status_change *sc, int *speed);
+void estatus_set_viewdata_post(struct block_list *bl,
+ int class_);
+void estatus_read_job_db_sub_post(int idx,
+ const char *name,
+ struct config_setting_t *jdb);
+int estatus_calc_pc__post(int retVal,
+ struct map_session_data *sd,
+ enum e_status_calc_opt opt);
+void estatus_calc_pc_additional_pre(struct map_session_data **sdPtr,
+ enum e_status_calc_opt *optPtr);
+unsigned short estatus_calc_speed_post(unsigned short retVal,
+ struct block_list *bl,
+ struct status_change *sc,
+ int speed);
#endif // EVOL_MAP_STATUS