From 5319e90bf8ad9c0f2ee7bc7813bd204c2ce87b5d Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 18 Jun 2008 00:59:22 +0000 Subject: [FIX] Fractions can now be polled for chances [FIX] Added some stuff to TeamMember to be usable [FIX] Arena is no longer static [FIX] Rules no longer needs to know maxDV (depends on whether the special DV is split) [FIX] Hat no longer seeds the RNG; it's the apps job git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@209 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/RulesUI.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'pokemodr/RulesUI.cpp') diff --git a/pokemodr/RulesUI.cpp b/pokemodr/RulesUI.cpp index c453af43..f1a85c13 100644 --- a/pokemodr/RulesUI.cpp +++ b/pokemodr/RulesUI.cpp @@ -32,11 +32,6 @@ Pokemodr::RulesUI::~RulesUI() { } -void Pokemodr::RulesUI::initGui() -{ - varMaxDV->addItems(Pokemod::Rules::DVStr); -} - void Pokemodr::RulesUI::setGui() { boxGenders->setChecked(static_cast(modified())->genderAllowed() ? Qt::Checked : Qt::Unchecked); @@ -46,7 +41,6 @@ void Pokemodr::RulesUI::setGui() varSwitchStyle->setChecked(static_cast(modified())->allowSwitchStyle() ? Qt::Checked : Qt::Unchecked); boxSplitSpecial->setChecked(static_cast(modified())->specialSplit() ? Qt::Checked : Qt::Unchecked); varSplitSpecialDV->setCheckState(static_cast(modified())->specialDVSplit() ? Qt::Checked : Qt::Unchecked); - varMaxDV->setCurrentIndex(static_cast(modified())->maxDVValue()); boxHappiness->setChecked(static_cast(modified())->happiness() ? Qt::Checked : Qt::Unchecked); varFaintLoss->setValue(static_cast(modified())->happyFaintLoss()); varLevelGain->setValue(static_cast(modified())->happyLevelGain()); @@ -121,11 +115,6 @@ void Pokemodr::RulesUI::on_varSplitSpecialDV_toggled(const bool splitSpecialDV) static_cast(modified())->setSpecialDVSplit(splitSpecialDV); } -void Pokemodr::RulesUI::on_varMaxDV_activated(const int maxDV) -{ - static_cast(modified())->setMaxDVValue(maxDV); -} - void Pokemodr::RulesUI::on_boxHappiness_toggled(const bool happiness) { static_cast(modified())->setHappiness(happiness); -- cgit