diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-11 10:40:52 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-11 10:40:52 +0000 |
commit | a24b7ddbd3dcc44f9a158414340283b2aa25ff6d (patch) | |
tree | 4de4a7ee7a8003650a828dff3b5101963d5d90fe /src/map/script.h | |
parent | 1142aaf9e81d4532aa3f49fbc4a69a8a53976999 (diff) | |
download | hercules-a24b7ddbd3dcc44f9a158414340283b2aa25ff6d.tar.gz hercules-a24b7ddbd3dcc44f9a158414340283b2aa25ff6d.tar.bz2 hercules-a24b7ddbd3dcc44f9a158414340283b2aa25ff6d.tar.xz hercules-a24b7ddbd3dcc44f9a158414340283b2aa25ff6d.zip |
* Expanded the script command 'input': (bugreport:811)
- two new optional arguments 'min' and 'max'
- return value indicating if it's in the correct range
- config variables for the default value of the arguments: 'input_min_value' and 'input_max_value' in script_athena.conf
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12192 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index e879854f4..036036ccc 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -12,6 +12,8 @@ extern struct Script_Config { unsigned warn_func_mismatch_paramnum : 1; int check_cmdcount; int check_gotocount; + int input_min_value; + int input_max_value; const char *die_event_name; const char *kill_pc_event_name; |