summaryrefslogtreecommitdiffstats
path: root/pokemod/Rules.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-01-22 04:45:02 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-01-22 04:45:02 +0000
commitefa80ce427e40070e36e5ab86d2f6dbf4ad50648 (patch)
treef7443dd268aa82e1819d00c141d98395b7a4a5a7 /pokemod/Rules.cpp
parenta1fff27395d1930820e6c007fdedd8e9dc58f0b3 (diff)
downloadsigen-efa80ce427e40070e36e5ab86d2f6dbf4ad50648.tar.gz
sigen-efa80ce427e40070e36e5ab86d2f6dbf4ad50648.tar.xz
sigen-efa80ce427e40070e36e5ab86d2f6dbf4ad50648.zip
[FIX] Some linker errors in pokemod and general
[FIX] More enum char*[] to QStringList [FIX] Widgets in PokéModr gui [ADD] Rules GUI logic git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@39 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Rules.cpp')
-rw-r--r--pokemod/Rules.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/pokemod/Rules.cpp b/pokemod/Rules.cpp
index dfb4a09f..3e82f599 100644
--- a/pokemod/Rules.cpp
+++ b/pokemod/Rules.cpp
@@ -23,6 +23,8 @@
#include "Pokemod.h"
#include "Rules.h"
+const QStringList Rules::DVStr = QStringList() << "16" << "32";
+
Rules::Rules(const Pokemod& par) :
Object(par, 0),
genderAllowed(false),
@@ -53,6 +55,12 @@ Rules::Rules(const Pokemod& par) :
{
}
+Rules::Rules(const Pokemod& par, const Rules& r) :
+ Object(par, 0)
+{
+ *this = r;
+}
+
Rules::Rules(const Pokemod& par, const QString& fname) :
Object(par, 0)
{