From 136be62146a6038bd45964fab17e22c9be4a03f4 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 b7f97d24fb..dfddc45bc5 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); @@ -394,6 +395,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 9362920daf..b9fd9607e1 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 + + +