mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-15 23:42:20 +00:00
Launcher checkbox
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
This commit is contained in:
parent
55ffb6d7d2
commit
136be62146
@ -189,6 +189,7 @@ bool Launcher::SettingsPage::loadSettings()
|
|||||||
loadSettingBool(Settings::game().mWeaponSheathing, *weaponSheathingCheckBox);
|
loadSettingBool(Settings::game().mWeaponSheathing, *weaponSheathingCheckBox);
|
||||||
loadSettingBool(Settings::game().mShieldSheathing, *shieldSheathingCheckBox);
|
loadSettingBool(Settings::game().mShieldSheathing, *shieldSheathingCheckBox);
|
||||||
}
|
}
|
||||||
|
loadSettingBool(Settings::game().mSmoothAnimTransitions, *smoothAnimTransitionsCheckBox);
|
||||||
loadSettingBool(Settings::game().mTurnToMovementDirection, *turnToMovementDirectionCheckBox);
|
loadSettingBool(Settings::game().mTurnToMovementDirection, *turnToMovementDirectionCheckBox);
|
||||||
loadSettingBool(Settings::game().mSmoothMovement, *smoothMovementCheckBox);
|
loadSettingBool(Settings::game().mSmoothMovement, *smoothMovementCheckBox);
|
||||||
loadSettingBool(Settings::game().mPlayerMovementIgnoresAnimation, *playerMovementIgnoresAnimationCheckBox);
|
loadSettingBool(Settings::game().mPlayerMovementIgnoresAnimation, *playerMovementIgnoresAnimationCheckBox);
|
||||||
@ -394,6 +395,7 @@ void Launcher::SettingsPage::saveSettings()
|
|||||||
saveSettingBool(*weaponSheathingCheckBox, Settings::game().mWeaponSheathing);
|
saveSettingBool(*weaponSheathingCheckBox, Settings::game().mWeaponSheathing);
|
||||||
saveSettingBool(*shieldSheathingCheckBox, Settings::game().mShieldSheathing);
|
saveSettingBool(*shieldSheathingCheckBox, Settings::game().mShieldSheathing);
|
||||||
saveSettingBool(*turnToMovementDirectionCheckBox, Settings::game().mTurnToMovementDirection);
|
saveSettingBool(*turnToMovementDirectionCheckBox, Settings::game().mTurnToMovementDirection);
|
||||||
|
saveSettingBool(*smoothAnimTransitionsCheckBox, Settings::game().mSmoothAnimTransitions);
|
||||||
saveSettingBool(*smoothMovementCheckBox, Settings::game().mSmoothMovement);
|
saveSettingBool(*smoothMovementCheckBox, Settings::game().mSmoothMovement);
|
||||||
saveSettingBool(*playerMovementIgnoresAnimationCheckBox, Settings::game().mPlayerMovementIgnoresAnimation);
|
saveSettingBool(*playerMovementIgnoresAnimationCheckBox, Settings::game().mPlayerMovementIgnoresAnimation);
|
||||||
|
|
||||||
|
@ -426,6 +426,16 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</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>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user