mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 07:06:45 +00:00
Launcher checkbox
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
This commit is contained in:
parent
55ffb6d7d2
commit
136be62146
2 changed files with 12 additions and 0 deletions
apps/launcher
|
@ -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);
|
||||
|
||||
|
|
|
@ -426,6 +426,16 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QCheckBox" name="smoothAnimTransitionsCheckBox">
|
||||
<property name="toolTip">
|
||||
<string><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></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Smooth animation transitions</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
|
|
Loading…
Reference in a new issue