From 6e9d71af6063560dddc0c46d29a6d9a9fcceab4c Mon Sep 17 00:00:00 2001 From: Max Yari Date: Thu, 4 Apr 2024 01:34:11 +0100 Subject: [PATCH] Launcher checkbox Signed-off-by: Sam Hellawell --- apps/launcher/settingspage.cpp | 2 ++ apps/launcher/ui/settingspage.ui | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/apps/launcher/settingspage.cpp b/apps/launcher/settingspage.cpp index 1641fa07d7..50046fe20f 100644 --- a/apps/launcher/settingspage.cpp +++ b/apps/launcher/settingspage.cpp @@ -189,6 +189,7 @@ bool Launcher::SettingsPage::loadSettings() loadSettingBool(Settings::game().mWeaponSheathing, *weaponSheathingCheckBox); loadSettingBool(Settings::game().mShieldSheathing, *shieldSheathingCheckBox); } + loadSettingBool(Settings::game().mSmoothAnimTransitions, *smoothAnimTransitionsCheckBox); loadSettingBool(Settings::game().mTurnToMovementDirection, *turnToMovementDirectionCheckBox); loadSettingBool(Settings::game().mSmoothMovement, *smoothMovementCheckBox); loadSettingBool(Settings::game().mPlayerMovementIgnoresAnimation, *playerMovementIgnoresAnimationCheckBox); @@ -405,6 +406,7 @@ void Launcher::SettingsPage::saveSettings() saveSettingBool(*weaponSheathingCheckBox, Settings::game().mWeaponSheathing); saveSettingBool(*shieldSheathingCheckBox, Settings::game().mShieldSheathing); saveSettingBool(*turnToMovementDirectionCheckBox, Settings::game().mTurnToMovementDirection); + saveSettingBool(*smoothAnimTransitionsCheckBox, Settings::game().mSmoothAnimTransitions); saveSettingBool(*smoothMovementCheckBox, Settings::game().mSmoothMovement); saveSettingBool(*playerMovementIgnoresAnimationCheckBox, Settings::game().mPlayerMovementIgnoresAnimation); diff --git a/apps/launcher/ui/settingspage.ui b/apps/launcher/ui/settingspage.ui index 665c9e9712..a48d0b3d11 100644 --- a/apps/launcher/ui/settingspage.ui +++ b/apps/launcher/ui/settingspage.ui @@ -426,6 +426,16 @@ + + + + <html><head/><body><p>If enabled - makes transitions between different animations/poses much smoother. Also allows to load animation blending config .yaml files that can be bundled with the modded animations in order to customise blending styles.</p></body></html> + + + Smooth animation transitions + + +