diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-01-24 00:22:08 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-01-24 00:22:08 +0000 |
| commit | 81fc446d3666aabfcf99109c4e8bfe775c93a3d6 (patch) | |
| tree | 0120d9eb841815ffd4418029f2beae783f034a70 /pokemod/Pokemod.cpp | |
| parent | ef250617e8163c535931be045aa4e9d59163ace7 (diff) | |
| download | sigen-81fc446d3666aabfcf99109c4e8bfe775c93a3d6.tar.gz sigen-81fc446d3666aabfcf99109c4e8bfe775c93a3d6.tar.xz sigen-81fc446d3666aabfcf99109c4e8bfe775c93a3d6.zip | |
[FIX] pokemodr.ui file
[FIX] added better .pro rules
[FIX] PokeModTreeItem works now
[FIX] LICENSE file is purely the terms
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@41 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Pokemod.cpp')
| -rw-r--r-- | pokemod/Pokemod.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/pokemod/Pokemod.cpp b/pokemod/Pokemod.cpp index 9585bbdd..919828eb 100644 --- a/pokemod/Pokemod.cpp +++ b/pokemod/Pokemod.cpp @@ -32,6 +32,21 @@ const QStringList Pokemod::ValidationStr = QStringList() << "Message" << "Warn" << "Error"; +Pokemod::Pokemod() : + Object("Pokemod", *this, 0), + valOutput(NULL), + title(""), + version(""), + description(""), + startMap(UINT_MAX), + startWarp(UINT_MAX), + superPCUname(""), + superPCPasswd(""), + typeChart(1, 1, Frac(1, 1, Frac::Improper)), + rules(*this) +{ +} + Pokemod::Pokemod(const QString& fname) : Object("Pokemod", *this, 0), valOutput(NULL), @@ -726,7 +741,7 @@ unsigned Pokemod::getNewTypeId() const ; return i; } -void Pokemod::load(const QString& fname) throw(Exception) +void Pokemod::load(const QString& fname, const unsigned _id) throw(Exception) { Ini ini(fname); QStringList fpath = fname.split('\\', QString::SkipEmptyParts).join("/").split('\\', QString::SkipEmptyParts); |
