diff options
author | alberth <alberth@openttd.org> | 2011-03-06 15:51:44 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-03-06 15:51:44 +0000 |
commit | 9fe65f93fea28f573160b85cbcf9505c0d9b2e3b (patch) | |
tree | ea3b13219379a1db9c9126edc528a41f6b819207 /src/table/company_settings.ini | |
parent | 02bf850d95c5755677c5839ace3500859a73b7be (diff) | |
download | openttd-9fe65f93fea28f573160b85cbcf9505c0d9b2e3b.tar.xz |
(svn r22210) -Add: Add a variable for the value strings in the settings tables.
Diffstat (limited to 'src/table/company_settings.ini')
-rw-r--r-- | src/table/company_settings.ini | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/table/company_settings.ini b/src/table/company_settings.ini index 887995e70..f01a0b18e 100644 --- a/src/table/company_settings.ini +++ b/src/table/company_settings.ini @@ -14,8 +14,8 @@ static const SettingDesc _company_settings[] = { [post-amble] }; [templates] -SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $proc, $from, $to), -SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $proc, $from, $to), +SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $strval, $proc, $from, $to), +SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strval, $proc, $from, $to), SDT_END = SDT_END() [defaults] @@ -23,6 +23,7 @@ flags = 0 guiflags = SGF_PER_COMPANY interval = 0 str = STR_NULL +strval = STR_NULL proc = NULL load = NULL from = 0 |