summaryrefslogtreecommitdiff
path: root/src/table/window_settings.ini
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-16 00:09:52 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-17 21:01:21 +0100
commit00c66e709647fdd8120e087e4bd7a074d1b5a90f (patch)
tree3d4928dc4d405c661872238ca6432dd48ece93eb /src/table/window_settings.ini
parent8f5b8fd76958bf9ccd69e0e7362092238f869d82 (diff)
downloadopenttd-00c66e709647fdd8120e087e4bd7a074d1b5a90f.tar.xz
Codechange: Allow early-load settings that are not misc settings.
Diffstat (limited to 'src/table/window_settings.ini')
-rw-r--r--src/table/window_settings.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/table/window_settings.ini b/src/table/window_settings.ini
index 524e02fdf..e336d6447 100644
--- a/src/table/window_settings.ini
+++ b/src/table/window_settings.ini
@@ -10,8 +10,8 @@ static const SettingDesc _window_settings[] = {
[post-amble]
};
[templates]
-SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra),
-SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra),
+SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
+SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
SDT_END = SDT_END()
[defaults]
@@ -28,6 +28,7 @@ from = SL_MIN_VERSION
to = SL_MAX_VERSION
cat = SC_ADVANCED
extra = 0
+startup = false