diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-08-05 06:10:55 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-08-05 06:10:55 +0000 |
| commit | cf49a16b29ac412cfea125f7216a0e51e79aa4de (patch) | |
| tree | fc3eb0271f3de0d7900c2a33ab5eafa259d8d250 /pokescripting/RulesWrapper.h | |
| parent | 56b91df6010a9f3d304438cf95816399a6e46622 (diff) | |
| download | sigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.tar.gz sigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.tar.xz sigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.zip | |
[FIX] List members of pokemod classes now can be returned in their entirety
[FIX] Reworked pokescripting for ease of use
[FIX] Now (selected) pokemod values can be overridden in pokescripting
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@237 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokescripting/RulesWrapper.h')
| -rw-r--r-- | pokescripting/RulesWrapper.h | 122 |
1 files changed, 0 insertions, 122 deletions
diff --git a/pokescripting/RulesWrapper.h b/pokescripting/RulesWrapper.h index 8d907aa9..db6d1afc 100644 --- a/pokescripting/RulesWrapper.h +++ b/pokescripting/RulesWrapper.h @@ -67,128 +67,6 @@ class POKESCRIPTING_EXPORT RulesWrapper : public ObjectWrapper const Pokemod::Rules* m_rules; }; - -inline RulesWrapper::RulesWrapper(const Pokemod::Rules* rules, QObject* parent) : - ObjectWrapper(rules, parent), - m_rules(rules) -{ -} - -inline bool RulesWrapper::genderAllowed() const -{ - return m_rules->genderAllowed(); -} - -inline bool RulesWrapper::breedingAllowed() const -{ - return m_rules->breedingAllowed(); -} - -inline bool RulesWrapper::criticalDomains() const -{ - return m_rules->criticalDomains(); -} - -inline bool RulesWrapper::useTurns() const -{ - return m_rules->useTurns(); -} - -inline int RulesWrapper::numBoxes() const -{ - return m_rules->numBoxes(); -} - -inline int RulesWrapper::boxSize() const -{ - return m_rules->boxSize(); -} - -inline int RulesWrapper::maxParty() const -{ - return m_rules->maxParty(); -} - -inline int RulesWrapper::maxFight() const -{ - return m_rules->maxFight(); -} - -inline int RulesWrapper::maxPlayers() const -{ - return m_rules->maxPlayers(); -} - -inline int RulesWrapper::maxHeldItems() const -{ - return m_rules->maxHeldItems(); -} - -inline int RulesWrapper::maxAbilities() const -{ - return m_rules->maxAbilities(); -} - -inline int RulesWrapper::maxNatures() const -{ - return m_rules->maxNatures(); -} - -inline int RulesWrapper::maxMoves() const -{ - return m_rules->maxMoves(); -} - -inline int RulesWrapper::maxLevel() const -{ - return m_rules->maxLevel(); -} - -inline int RulesWrapper::maxStages() const -{ - return m_rules->maxStages(); -} - -inline int RulesWrapper::maxMoney() const -{ - return m_rules->maxMoney(); -} - -inline bool RulesWrapper::hardCash() const -{ - return m_rules->hardCash(); -} - -inline bool RulesWrapper::allowSwitchStyle() const -{ - return m_rules->allowSwitchStyle(); -} - -inline bool RulesWrapper::specialSplit() const -{ - return m_rules->specialSplit(); -} - -inline bool RulesWrapper::specialDVSplit() const -{ - return m_rules->specialDVSplit(); -} - -inline bool RulesWrapper::effortValuesAllowed() const -{ - return m_rules->effortValuesAllowed(); -} - -inline int RulesWrapper::maxTotalEV() const -{ - return m_rules->maxTotalEV(); -} - -inline int RulesWrapper::maxEVPerStat() const -{ - return m_rules->maxEVPerStat(); -} - } #endif |
