|
|
|
@ -82,9 +82,10 @@ bool Launcher::AdvancedPage::loadSettings()
|
|
|
|
|
loadSettingBool(requireAppropriateAmmunitionCheckBox, "only appropriate ammunition bypasses resistance", "Game");
|
|
|
|
|
loadSettingBool(magicItemAnimationsCheckBox, "use magic item animations", "Game");
|
|
|
|
|
loadSettingBool(normaliseRaceSpeedCheckBox, "normalise race speed", "Game");
|
|
|
|
|
connect(animSourcesCheckBox, SIGNAL(toggled(bool)), this, SLOT(slotAnimSourcesToggled(bool)));
|
|
|
|
|
loadSettingBool(animSourcesCheckBox, "use additional anim sources", "Game");
|
|
|
|
|
loadSettingBool(weaponSheathingCheckBox, "weapon sheathing", "Game");
|
|
|
|
|
loadSettingBool(shieldSheathingCheckBox, "shield sheathing", "Game");
|
|
|
|
|
loadSettingBool(animSourcesCheckBox, "use additional anim sources", "Game");
|
|
|
|
|
|
|
|
|
|
// Input Settings
|
|
|
|
|
loadSettingBool(grabCursorCheckBox, "grab cursor", "Input");
|
|
|
|
@ -145,9 +146,14 @@ void Launcher::AdvancedPage::saveSettings()
|
|
|
|
|
saveSettingBool(requireAppropriateAmmunitionCheckBox, "only appropriate ammunition bypasses resistance", "Game");
|
|
|
|
|
saveSettingBool(magicItemAnimationsCheckBox, "use magic item animations", "Game");
|
|
|
|
|
saveSettingBool(normaliseRaceSpeedCheckBox, "normalise race speed", "Game");
|
|
|
|
|
if (animSourcesCheckBox->checkState())
|
|
|
|
|
{
|
|
|
|
|
saveSettingBool(weaponSheathingCheckBox, "weapon sheathing", "Game");
|
|
|
|
|
saveSettingBool(shieldSheathingCheckBox, "shield sheathing", "Game");
|
|
|
|
|
}
|
|
|
|
|
saveSettingBool(animSourcesCheckBox, "use additional anim sources", "Game");
|
|
|
|
|
saveSettingBool(weaponSheathingCheckBox, "weapon sheathing", "Game");
|
|
|
|
|
saveSettingBool(shieldSheathingCheckBox, "shield sheathing", "Game");
|
|
|
|
|
saveSettingBool(animSourcesCheckBox, "use additional anim sources", "Game");
|
|
|
|
|
|
|
|
|
|
// Input Settings
|
|
|
|
|
saveSettingBool(grabCursorCheckBox, "grab cursor", "Input");
|
|
|
|
@ -190,3 +196,9 @@ void Launcher::AdvancedPage::slotLoadedCellsChanged(QStringList cellNames)
|
|
|
|
|
{
|
|
|
|
|
loadCellsForAutocomplete(cellNames);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Launcher::AdvancedPage::slotAnimSourcesToggled(bool checked)
|
|
|
|
|
{
|
|
|
|
|
weaponSheathingCheckBox->setEnabled(checked);
|
|
|
|
|
shieldSheathingCheckBox->setEnabled(checked);
|
|
|
|
|
}
|
|
|
|
|