summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-04-28 17:32:33 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-13 23:13:17 +0200
commit95386dc2b8404519c91b9e0ad728c39fb1d9e118 (patch)
tree2ae78944bdb83d220e7d9574302848e26b39baf8 /src/table
parent77330d09fd8307261e94fe0eb0260f5ca5cc3898 (diff)
downloadopenttd-95386dc2b8404519c91b9e0ad728c39fb1d9e118.tar.xz
Codechange: move misc settings to std::string
Diffstat (limited to 'src/table')
-rw-r--r--src/table/misc_settings.ini17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini
index 39df34b78..37994644a 100644
--- a/src/table/misc_settings.ini
+++ b/src/table/misc_settings.ini
@@ -23,7 +23,6 @@ static const SettingDescGlobVarList _misc_settings[] = {
SDTG_LIST = SDTG_LIST($name, $type, $length, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
SDTG_MMANY = SDTG_MMANY($name, $type, $flags, $guiflags, $var, $def, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
SDTG_OMANY = SDTG_OMANY($name, $type, $flags, $guiflags, $var, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
-SDTG_STR = SDTG_STR($name, $type, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
SDTG_SSTR = SDTG_SSTR($name, $type, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
@@ -156,16 +155,16 @@ var = _cur_resolution
def = ""0,0""
cat = SC_BASIC
-[SDTG_STR]
+[SDTG_SSTR]
name = ""screenshot_format""
-type = SLE_STRB
+type = SLE_STR
var = _screenshot_format_name
def = nullptr
cat = SC_EXPERT
-[SDTG_STR]
+[SDTG_SSTR]
name = ""savegame_format""
-type = SLE_STRB
+type = SLE_STR
var = _savegame_format
def = nullptr
cat = SC_EXPERT
@@ -308,16 +307,16 @@ min = 0
max = 0xFF
cat = SC_BASIC
-[SDTG_STR]
+[SDTG_SSTR]
name = ""keyboard""
-type = SLE_STRB
+type = SLE_STR
var = _keyboard_opt[0]
def = nullptr
cat = SC_EXPERT
-[SDTG_STR]
+[SDTG_SSTR]
name = ""keyboard_caps""
-type = SLE_STRB
+type = SLE_STR
var = _keyboard_opt[1]
def = nullptr
cat = SC_EXPERT