Setting: Add setting flag: no new game (in game use only)

This commit is contained in:
Jonathan G Rennison
2019-04-30 23:48:53 +01:00
parent 8b1ee39ace
commit 79e49cf4a9
3 changed files with 37 additions and 25 deletions

View File

@@ -50,6 +50,7 @@ enum SettingGuiFlagLong {
SGF_PER_COMPANY = 1 << 8, ///< this setting can be different for each company (saved in company struct)
SGF_DECIMAL1 = 1 << 9, ///< display a decimal representation of the setting value divided by 10
SGF_ENUM = 1 << 10,///< the setting can take one of the values given by an array of struct SettingDescEnumEntry
SGF_NO_NEWGAME = 1 << 11,///< the setting does not apply and is not shown in a new game context
};
DECLARE_ENUM_AS_BIT_SET(SettingGuiFlagLong)
typedef SimpleTinyEnumT<SettingGuiFlagLong, uint16> SettingGuiFlag;