summaryrefslogtreecommitdiff
path: root/src/table/gameopt_settings.ini
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-03-06 15:51:44 +0000
committeralberth <alberth@openttd.org>2011-03-06 15:51:44 +0000
commit9fe65f93fea28f573160b85cbcf9505c0d9b2e3b (patch)
treeea3b13219379a1db9c9126edc528a41f6b819207 /src/table/gameopt_settings.ini
parent02bf850d95c5755677c5839ace3500859a73b7be (diff)
downloadopenttd-9fe65f93fea28f573160b85cbcf9505c0d9b2e3b.tar.xz
(svn r22210) -Add: Add a variable for the value strings in the settings tables.
Diffstat (limited to 'src/table/gameopt_settings.ini')
-rw-r--r--src/table/gameopt_settings.ini9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/table/gameopt_settings.ini b/src/table/gameopt_settings.ini
index dbf12b040..662b2a9da 100644
--- a/src/table/gameopt_settings.ini
+++ b/src/table/gameopt_settings.ini
@@ -36,11 +36,11 @@ static const SettingDesc _gameopt_settings[] = {
[post-amble]
};
[templates]
-SDTG_GENERAL = SDTG_GENERAL($name, $sdt_cmd, $sle_cmd, $type, $flags, $guiflags, $var, $length, $def, $min, $max, $interval, $full, $str, $proc, $from, $to),
+SDTG_GENERAL = SDTG_GENERAL($name, $sdt_cmd, $sle_cmd, $type, $flags, $guiflags, $var, $length, $def, $min, $max, $interval, $full, $str, $strval, $proc, $from, $to),
SDT_NULL = SDT_NULL($length, $from, $to),
-SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $guiflags, $def, $max, $full, $str, $proc, $from, $to),
-SDT_OMANY = SDT_OMANY($base, $var, $type, $flags, $guiflags, $def, $max, $full, $str, $proc, $from, $to, $load),
-SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $proc, $from, $to),
+SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $guiflags, $def, $max, $full, $str, $strval, $proc, $from, $to),
+SDT_OMANY = SDT_OMANY($base, $var, $type, $flags, $guiflags, $def, $max, $full, $str, $strval, $proc, $from, $to, $load),
+SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strval, $proc, $from, $to),
SDT_END = SDT_END()
[defaults]
@@ -48,6 +48,7 @@ flags = 0
guiflags = 0
interval = 0
str = STR_NULL
+strval = STR_NULL
proc = NULL
load = NULL
from = 0