Add remaining int settings from initStage1 to new API
The settings API does not deal with unsigned ints, it is the responsibility of the calling function to ensure that values are savable as signed ints.
This commit is contained in:
@@ -347,6 +347,23 @@ private:
|
||||
constexpr static auto intSettingsSize
|
||||
= static_cast<int>( IntSetting::LAST_ENUMERATOR ) + 1;
|
||||
std::array<IntSettingValue, intSettingsSize> m_intSettings{
|
||||
IntSettingValue{ IntSetting::PLAYSPACE_snapTurnAngle,
|
||||
SettingCategory::Playspace,
|
||||
QtInfo{ "snapTurnAngle" },
|
||||
4500 },
|
||||
IntSettingValue{ IntSetting::PLAYSPACE_smoothTurnRate,
|
||||
SettingCategory::Playspace,
|
||||
QtInfo{ "smoothTurnRate" },
|
||||
100 },
|
||||
IntSettingValue{ IntSetting::PLAYSPACE_dragComfortFactor,
|
||||
SettingCategory::Playspace,
|
||||
QtInfo{ "dragComfortFactor" },
|
||||
0 },
|
||||
IntSettingValue{ IntSetting::PLAYSPACE_turnComfortFactor,
|
||||
SettingCategory::Playspace,
|
||||
QtInfo{ "turnComfortFactor" },
|
||||
0 },
|
||||
|
||||
IntSettingValue{ IntSetting::UTILITY_alarmHour,
|
||||
SettingCategory::Utility,
|
||||
QtInfo{ "alarmHour" },
|
||||
|
||||
Reference in New Issue
Block a user