Commit Graph
322 Commits
Author SHA1 Message Date
Vasily 0c07f0c207 Convert m_chaperoneShowDashboardDistance to new settings API 2019-12-10 08:28:41 +01:00
Vasily 292398fd98 Convert m_chaperoneAlarmSoundDistance to new settings API 2019-12-10 08:28:41 +01:00
Vasily 13c8eabeb0 Convert m_chaperoneHapticFeedbackDistance to new settings API 2019-12-10 08:28:41 +01:00
Vasily 81bbec52b4 Convert m_chaperoneSwitchToBeginnerDistance to new settings API 2019-12-10 08:28:41 +01:00
Vasily d47c570537 Convert m_disableChaperone to new settings API 2019-12-10 08:28:41 +01:00
Vasily be6a21d321 Convert m_enableChaperoneShowDashboard to new settings API 2019-12-10 08:28:41 +01:00
Vasily b6f0e22770 Convert m_chaperoneAlarmSoundAdjustVolume to new settings API 2019-12-10 08:28:41 +01:00
Vasily 3632fc03d5 Convert m_chaperoneAlarmSoundLooping to new settings API 2019-12-10 08:28:41 +01:00
Vasily 54022e0438 Convert m_enableChaperoneAlarmSound to new settings API 2019-12-10 08:28:41 +01:00
Vasily 4011674b0f Convert m_enableChaperoneHapticFeedback to new settings API 2019-12-10 08:28:41 +01:00
Vasily ee32cf90b5 Convert m_chaperoneSwitchToBeginnerActive to new settings API 2019-12-10 08:28:41 +01:00
Vasily 71b8a336c2 Convert m_alarmTime to new settings API 2019-12-10 08:28:41 +01:00
Vasily 09fcf79e8b Convert keyboardShortcuts to new settings API 2019-12-10 08:28:41 +01:00
Vasily 3375ee4b1a Convert m_vrcDebug to new settings API 2019-12-10 08:28:41 +01:00
Vasily a272decd73 Convert m_alarmIsModal to new settings API 2019-12-10 08:28:41 +01:00
Vasily e38c72ef42 Convert m_alarmEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily a014de8368 Convert m_micReversePtt to new settings API 2019-12-10 08:28:41 +01:00
Vasily c96b531ee1 Convert m_micProximitySensorCanMute to new settings API
The `saveAudioSettings()` function lead to an infinite loop of
saving.
2019-12-10 08:28:41 +01:00
Vasily fd43c66878 Add micReversePtt to new settings API 2019-12-10 08:28:41 +01:00
Vasily 15d314024a Add m_micProximitySensorCanMute to new settings API 2019-12-10 08:28:41 +01:00
Vasily 4be96344da Convert m_flingStrength to new settings API
Casts inside the functions because it isn't feasible to change all
floats to double.
2019-12-10 08:28:41 +01:00
Vasily 4918ff2a37 Convert m_gravityStrength to new settings API
Casts inside the function because it's not feasible to change all floats
to double.
2019-12-10 08:28:41 +01:00
Vasily 58a92f4b2b Convert m_heightToggleOffset to new settings API
Casts inside the function because it's not feasible at the moment to
change all floats to doubles.
2019-12-10 08:28:41 +01:00
Vasily ed1190020c Convert m_turnComfortFactor to new settings API 2019-12-10 08:28:41 +01:00
Vasily 214e1d26ed Convert m_dragComfortFactor to new settings API and change sign
There was no reason for it to be unsigned. This has been changed to int
for internal consistency.
2019-12-10 08:28:41 +01:00
Vasily 7a6c3fc53e Convert m_smoothTurnRate to new settings API 2019-12-10 08:28:41 +01:00
Vasily 22b52d403c Convert m_snapTurnAngle to new settings API 2019-12-10 08:28:41 +01:00
Vasily 065c5da456 Convert m_simpleRecenter to new settings API 2019-12-10 08:28:41 +01:00
Vasily bce378928d Convert m_enableSeatedMotion to new settings API 2019-12-10 08:28:41 +01:00
Vasily 909b9aefec Convert m_universeCenteredRotation to new settings API 2019-12-10 08:28:41 +01:00
Vasily 24e3081533 Convert m_oldStyleMotion to new settings API 2019-12-10 08:28:41 +01:00
Vasily 48209f6536 Convert m_allowExternalEdits to new settings API 2019-12-10 08:28:41 +01:00
Vasily e757c722f7 Convert m_showLogMatricesButton to new settings API 2019-12-10 08:28:41 +01:00
Vasily 363a9f4990 Convert m_momentumSave to new settings API 2019-12-10 08:28:41 +01:00
Vasily 500fe0a98f Convert m_turnBounds to new settings API 2019-12-10 08:28:41 +01:00
Vasily 2b7e33b51b Prefer public getter over explicit settings call
The getter call is more resistant to change and leads to less code
duplication.
2019-12-10 08:28:41 +01:00
Vasily ba30e0054f Convert m_dragBounds to new settings API 2019-12-10 08:28:41 +01:00
Vasily 89699825bf Remove MoveCenterTabController::outputLogSettings
If settings changes are logged to console it should be handled in the
settings API.
2019-12-10 08:28:41 +01:00
Vasily f91328298b Convert m_settingsRightHandTurnEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily 1061c39252 Convert m_settingsLeftHandTurnEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily c1b1756ccf Convert m_settingsLeftHandDragEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily a81eb2cbf4 Convert m_settingsRightHandDragEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily 289de29d69 Convert m_adjustChaperone to new settings API 2019-12-10 08:28:41 +01:00
Vasily 9755ffac64 Convert m_lockYToggle to new settings API 2019-12-10 08:28:41 +01:00
Vasily d5b98f8452 Convert m_lockZToggle to new settings API 2019-12-10 08:28:41 +01:00
Vasily 866d48cc9e Convert m_lockXToggle to new settings API 2019-12-10 08:28:41 +01:00
Vasily 4eb8a35d6b 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.
2019-12-03 08:26:10 +01:00
Vasily 3c3590539d Add remaining double/bool settings in initStage1 2019-12-03 08:26:10 +01:00
Vasily c2796273e7 Add adjustChaperone setting to BoolSetting
Meant to act as an example of how to add new settings.
2019-12-03 08:26:10 +01:00
Vasily d73fcf3443 Change MoveCenterTabController::initStage1 from QSettings to new API
Only the existing changes were moved.
The remaining were not initially added because they didn't show up in
the .ini files I based my initial prototypes on.
2019-12-03 08:26:10 +01:00