summaryrefslogtreecommitdiff
path: root/src/settings_internal.h
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/settings_internal.h
parent8f5b8fd76958bf9ccd69e0e7362092238f869d82 (diff)
downloadopenttd-00c66e709647fdd8120e087e4bd7a074d1b5a90f.tar.xz
Codechange: Allow early-load settings that are not misc settings.
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r--src/settings_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h
index fcad02c3c..8fc6f961e 100644
--- a/src/settings_internal.h
+++ b/src/settings_internal.h
@@ -103,6 +103,7 @@ struct SettingDescBase {
OnChange *proc; ///< callback procedure for when the value is changed
OnConvert *proc_cnvt; ///< callback procedure when loading value mechanism fails
SettingCategory cat; ///< assigned categories of the setting
+ bool startup; ///< setting has to be loaded directly at startup?
};
struct SettingDesc {