From 6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 10 Jan 2016 02:33:15 +0100 Subject: Added support to mark constants in db/constants.conf as deprecated Signed-off-by: Haru --- src/map/script.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/script.h') diff --git a/src/map/script.h b/src/map/script.h index 5f71662c6..dbb0f8a03 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -666,8 +666,8 @@ struct script_interface { struct script_data* (*push_str) (struct script_stack* stack, enum c_op type, char* str); struct script_data* (*push_copy) (struct script_stack* stack, int pos); void (*pop_stack) (struct script_state* st, int start, int end); - void (*set_constant) (const char* name, int value, bool isparameter); - void (*set_constant2) (const char *name, int value, bool isparameter); + void (*set_constant) (const char *name, int value, bool is_parameter, bool is_deprecated); + void (*set_constant2) (const char *name, int value, bool is_parameter, bool is_deprecated); bool (*get_constant) (const char* name, int* value); void (*label_add)(int key, int pos); void (*run) (struct script_code *rootscript, int pos, int rid, int oid); -- cgit v1.2.3-60-g2f50