diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-06-18 00:59:22 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-06-18 00:59:22 +0000 |
| commit | 5319e90bf8ad9c0f2ee7bc7813bd204c2ce87b5d (patch) | |
| tree | 15e9ddc5c0174ab2415d5a0b3c3b6dfd2194b4ac /pokemodr/RulesUI.cpp | |
| parent | ae13010d010b2c4d44c1812c3c6953f819372dee (diff) | |
[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
Diffstat (limited to 'pokemodr/RulesUI.cpp')
| -rw-r--r-- | pokemodr/RulesUI.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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<Pokemod::Rules*>(modified())->genderAllowed() ? Qt::Checked : Qt::Unchecked); @@ -46,7 +41,6 @@ void Pokemodr::RulesUI::setGui() varSwitchStyle->setChecked(static_cast<Pokemod::Rules*>(modified())->allowSwitchStyle() ? Qt::Checked : Qt::Unchecked); boxSplitSpecial->setChecked(static_cast<Pokemod::Rules*>(modified())->specialSplit() ? Qt::Checked : Qt::Unchecked); varSplitSpecialDV->setCheckState(static_cast<Pokemod::Rules*>(modified())->specialDVSplit() ? Qt::Checked : Qt::Unchecked); - varMaxDV->setCurrentIndex(static_cast<Pokemod::Rules*>(modified())->maxDVValue()); boxHappiness->setChecked(static_cast<Pokemod::Rules*>(modified())->happiness() ? Qt::Checked : Qt::Unchecked); varFaintLoss->setValue(static_cast<Pokemod::Rules*>(modified())->happyFaintLoss()); varLevelGain->setValue(static_cast<Pokemod::Rules*>(modified())->happyLevelGain()); @@ -121,11 +115,6 @@ void Pokemodr::RulesUI::on_varSplitSpecialDV_toggled(const bool splitSpecialDV) static_cast<Pokemod::Rules*>(modified())->setSpecialDVSplit(splitSpecialDV); } -void Pokemodr::RulesUI::on_varMaxDV_activated(const int maxDV) -{ - static_cast<Pokemod::Rules*>(modified())->setMaxDVValue(maxDV); -} - void Pokemodr::RulesUI::on_boxHappiness_toggled(const bool happiness) { static_cast<Pokemod::Rules*>(modified())->setHappiness(happiness); |
