Add setting flag to run string setting change callbacks on config load

This commit is contained in:
Jonathan G Rennison
2022-01-03 00:01:21 +00:00
parent 26eca815d3
commit 87f0c20bc0
2 changed files with 5 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ enum SettingFlag : uint32 {
SF_ENUM = 1 << 14, ///< the setting can take one of the values given by an array of struct SettingDescEnumEntry
SF_NO_NEWGAME = 1 << 15, ///< the setting does not apply and is not shown in a new game context
SF_DEC1SCALE = 1 << 16, ///< also display a float representation of the scale of a decimal1 scale parameter
SF_RUN_CALLBACKS_ON_PARSE = 1 << 17, ///< run callbacks when parsing from config file
};
DECLARE_ENUM_AS_BIT_SET(SettingFlag)