diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-13 19:22:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-13 19:22:45 +0300 |
commit | 49081f4f7ab08849739330d47a1ef8ba3a9837a3 (patch) | |
tree | e4b900c4f61f6cd34cfe07ef7c528451a18d3c0f /src/map/script.h | |
parent | 54e5c090692a06a96b2525f1a23f669e3449ba1b (diff) | |
parent | 99f707e6a17eb68057b0d711e7fe785c09135e21 (diff) | |
download | hercules-49081f4f7ab08849739330d47a1ef8ba3a9837a3.tar.gz hercules-49081f4f7ab08849739330d47a1ef8ba3a9837a3.tar.bz2 hercules-49081f4f7ab08849739330d47a1ef8ba3a9837a3.tar.xz hercules-49081f4f7ab08849739330d47a1ef8ba3a9837a3.zip |
Merge pull request #1088 from HerculesWS/constdb
Constdb revamp
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 4 |
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); |