diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-04-27 15:15:17 +0000 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-04-27 15:15:17 +0000 |
commit | 807071d35159de0660f9df31c48d5bf895ca3622 (patch) | |
tree | a1e9dbdc1e58b91cd2e4a5e472597b0204ccb41d /pokemod/Move.h | |
parent | f444f5a45e9325644a360f656176d47d7f540f52 (diff) | |
download | sigen-807071d35159de0660f9df31c48d5bf895ca3622.tar.gz sigen-807071d35159de0660f9df31c48d5bf895ca3622.tar.xz sigen-807071d35159de0660f9df31c48d5bf895ca3622.zip |
[FIX] Pokemod objects now know about parents
[FIX] Project includes are now relative
[FIX] Headers included for better detection of invalid headers
[FIX] Validation code commented out so it can be done better
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@111 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Move.h')
-rw-r--r-- | pokemod/Move.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/pokemod/Move.h b/pokemod/Move.h index 3649ef6f..f7a862ec 100644 --- a/pokemod/Move.h +++ b/pokemod/Move.h @@ -18,21 +18,19 @@ #ifndef __POKEMOD_MOVE__ #define __POKEMOD_MOVE__ -// Qt includes -#include <QList> -#include <QString> -#include <QStringList> +// Pokemod includes +#include "Object.h" // General includes -#include <Exception.h> -#include <Fraction.h> +#include "../general/Exception.h" +#include "../general/Fraction.h" -// Pokemod includes -#include "Object.h" +// Qt includes +#include <QList> +#include <QString> // Forward declarations class MoveEffect; -class Pokemod; class Move : public Object { @@ -57,9 +55,9 @@ class Move : public Object static const QStringList ChoiceStr; Move(const Move& move); - Move(const Pokemod* pokemod, const int id); - Move(const Move& move, const Pokemod* pokemod, const int id); - Move(const QDomElement& xml, const Pokemod* pokemod, const int id = INT_MAX); + Move(const Object* parent, const int id); + Move(const Move& move, const Object* parent, const int id); + Move(const QDomElement& xml, const Object* parent, const int id = INT_MAX); ~Move(); void load(const QDomElement& xml, int id = INT_MAX); |