summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-10 02:33:15 +0100
committerHaru <haru@dotalux.com>2016-01-13 11:24:33 +0100
commit6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a (patch)
tree0eb4176eaa21e8d0e0d0eb36309d70aacfa49de2 /src/map/script.h
parenta8154726935b2d6a2273b75126a675e6e706edab (diff)
downloadhercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.gz
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.bz2
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.xz
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.zip
Added support to mark constants in db/constants.conf as deprecated
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h4
1 files changed, 2 insertions, 2 deletions
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);