diff options
author | frosch <frosch@openttd.org> | 2012-11-08 10:04:00 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-08 10:04:00 +0000 |
commit | 69a62452beab943a4f95d0aead7207d3f9de0a44 (patch) | |
tree | 4977654ebce513c7e02f77bce2a2f60dc5429692 /src/table/misc_settings.ini | |
parent | 79a1e6450b2fdf38c2e044d306bac2fa630db814 (diff) | |
download | openttd-69a62452beab943a4f95d0aead7207d3f9de0a44.tar.xz |
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
Diffstat (limited to 'src/table/misc_settings.ini')
-rw-r--r-- | src/table/misc_settings.ini | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini index eeca619f1..919e964ca 100644 --- a/src/table/misc_settings.ini +++ b/src/table/misc_settings.ini @@ -13,11 +13,11 @@ static const SettingDescGlobVarList _misc_settings[] = { [post-amble] }; [templates] -SDTG_LIST = SDTG_LIST($name, $type, $length, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to), -SDTG_MMANY = SDTG_MMANY($name, $type, $flags, $guiflags, $var, $def, $full, $str, $strhelp, $strval, $proc, $from, $to), -SDTG_STR = SDTG_STR($name, $type, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to), -SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to), -SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to), +SDTG_LIST = SDTG_LIST($name, $type, $length, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat), +SDTG_MMANY = SDTG_MMANY($name, $type, $flags, $guiflags, $var, $def, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat), +SDTG_STR = SDTG_STR($name, $type, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat), +SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat), +SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat), SDTG_END = SDTG_END() [defaults] @@ -31,6 +31,7 @@ proc = NULL load = NULL from = 0 to = SL_MAX_VERSION +cat = SC_ADVANCED @@ -50,42 +51,49 @@ def = true name = ""fullscreen"" var = _fullscreen def = false +cat = SC_BASIC [SDTG_STR] name = ""graphicsset"" type = SLE_STRQ var = BaseGraphics::ini_set def = NULL +cat = SC_BASIC [SDTG_STR] name = ""soundsset"" type = SLE_STRQ var = BaseSounds::ini_set def = NULL +cat = SC_BASIC [SDTG_STR] name = ""musicset"" type = SLE_STRQ var = BaseMusic::ini_set def = NULL +cat = SC_BASIC [SDTG_STR] name = ""videodriver"" type = SLE_STRQ var = _ini_videodriver def = NULL +cat = SC_EXPERT [SDTG_STR] name = ""musicdriver"" type = SLE_STRQ var = _ini_musicdriver def = NULL +cat = SC_EXPERT [SDTG_STR] name = ""sounddriver"" type = SLE_STRQ var = _ini_sounddriver def = NULL +cat = SC_EXPERT [SDTG_STR] name = ""blitter"" @@ -98,6 +106,7 @@ name = ""language"" type = SLE_STRB var = _config_language_file def = NULL +cat = SC_BASIC ; workaround for implicit lengthof() in SDTG_LIST [SDTG_LIST] @@ -106,18 +115,21 @@ type = SLE_INT length = 2 var = _cur_resolution def = ""640,480"" +cat = SC_BASIC [SDTG_STR] name = ""screenshot_format"" type = SLE_STRB var = _screenshot_format_name def = NULL +cat = SC_EXPERT [SDTG_STR] name = ""savegame_format"" type = SLE_STRB var = _savegame_format def = NULL +cat = SC_EXPERT [SDTG_BOOL] name = ""rightclick_emulate"" @@ -219,6 +231,7 @@ var = _sprite_cache_size def = 128 min = 1 max = 512 +cat = SC_EXPERT [SDTG_VAR] name = ""player_face"" @@ -227,6 +240,7 @@ var = _company_manager_face def = 0 min = 0 max = 0xFFFFFFFF +cat = SC_BASIC [SDTG_VAR] name = ""transparency_options"" @@ -235,6 +249,7 @@ var = _transparency_opt def = 0 min = 0 max = 0x1FF +cat = SC_BASIC [SDTG_VAR] name = ""transparency_locks"" @@ -243,6 +258,7 @@ var = _transparency_lock def = 0 min = 0 max = 0x1FF +cat = SC_BASIC [SDTG_VAR] name = ""invisibility_options"" @@ -251,18 +267,21 @@ var = _invisibility_opt def = 0 min = 0 max = 0xFF +cat = SC_BASIC [SDTG_STR] name = ""keyboard"" type = SLE_STRB var = _keyboard_opt[0] def = NULL +cat = SC_EXPERT [SDTG_STR] name = ""keyboard_caps"" type = SLE_STRB var = _keyboard_opt[1] def = NULL +cat = SC_EXPERT [SDTG_VAR] name = ""last_newgrf_count"" @@ -271,6 +290,7 @@ var = _settings_client.gui.last_newgrf_count def = 100 min = 0 max = UINT32_MAX +cat = SC_EXPERT [SDTG_END] |