summaryrefslogtreecommitdiff
path: root/src/emap/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/script.h')
-rw-r--r--src/emap/script.h36
1 files changed, 27 insertions, 9 deletions
diff --git a/src/emap/script.h b/src/emap/script.h
index 852c997..3985dcf 100644
--- a/src/emap/script.h
+++ b/src/emap/script.h
@@ -4,14 +4,32 @@
#ifndef EVOL_MAP_SCRIPT
#define EVOL_MAP_SCRIPT
-int escript_reload(void);
-void escript_load_translations(void);
-void escript_load_parameters(void);
-void eset_reg_npcscope_num(struct script_state* st, struct reg_db *n, int64 *num, const char* name, int *val);
-int eget_val_npcscope_num(struct script_state* st, struct reg_db *n, struct script_data* data);
-void eset_reg_npcscope_str(struct script_state* st, struct reg_db *n, int64 *num, const char* name, const char *str);
-char *eget_val_npcscope_str(struct script_state* st, struct reg_db *n, struct script_data* data);
-void script_run_item_amount_script(TBL_PC *sd, struct script_code *itemScript, int itemId, int amount);
-void script_run_card_script(TBL_PC *sd, struct script_code *itemScript, int itemId, int cardId);
+int escript_reload_pre(void);
+void escript_load_translations_pre(void);
+void escript_load_parameters_pre(void);
+void eset_reg_npcscope_num_pre(struct script_state **stPtr,
+ struct reg_db **nPtr,
+ int64 *numPtr,
+ const char **namePtr,
+ int *val);
+int eget_val_npcscope_num_pre(struct script_state **stPtr,
+ struct reg_db **nPtr,
+ struct script_data **dataPtr);
+void eset_reg_npcscope_str_pre(struct script_state **stPtr,
+ struct reg_db **nPtr,
+ int64 *num,
+ const char **namePtr,
+ const char **strPtr);
+char *eget_val_npcscope_str_pre(struct script_state **stPtr,
+ struct reg_db **nPtr,
+ struct script_data **dataPtr);
+void script_run_item_amount_script(TBL_PC *sd,
+ struct script_code *itemScript,
+ int itemId,
+ int amount);
+void script_run_card_script(TBL_PC *sd,
+ struct script_code *itemScript,
+ int itemId,
+ int cardId);
#endif // EVOL_MAP_SCRIPT