summaryrefslogtreecommitdiffstats
path: root/pokemod/PokemonEvolution.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2007-07-03 04:20:36 +0000
committerBen Boeckel <MathStuf@gmail.com>2007-07-03 04:20:36 +0000
commit65cc463f1d91fe99acf1c4dd9bce7e0038593022 (patch)
tree95644c3c42a4a23db50dc42722cdeb4489427e14 /pokemod/PokemonEvolution.cpp
parent9102febc37475af113681eaaee02ecc2ea04b4da (diff)
downloadsigen-65cc463f1d91fe99acf1c4dd9bce7e0038593022.tar.gz
sigen-65cc463f1d91fe99acf1c4dd9bce7e0038593022.tar.xz
sigen-65cc463f1d91fe99acf1c4dd9bce7e0038593022.zip
Fixed Logging, minor fixes, got rid of NatureEffect, and started migration from wxGTK to Qt
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@22 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/PokemonEvolution.cpp')
-rw-r--r--pokemod/PokemonEvolution.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/pokemod/PokemonEvolution.cpp b/pokemod/PokemonEvolution.cpp
index 3543768a..daa05b13 100644
--- a/pokemod/PokemonEvolution.cpp
+++ b/pokemod/PokemonEvolution.cpp
@@ -75,38 +75,6 @@ void PokeGen::PokeMod::PokemonEvolution::Validate()
LogValidateOver("PokemonEvolution", id, isValid);
}
-#ifdef PG_DEBUG_WINDOW
-void PokeGen::PokeMod::PokemonEvolution::Validate(const wxListBox &output)
-{
- LogValidateStart("PokemonEvolution", id);
- if (!pokemod->GetPokemon(species))
- {
- LogVarNotValid("PokemonEvolution", id, "species");
- output.Append(ConsoleLogVarNotValid("PokemonEvolution", id, "move"));
- isValid = false;
- }
- if (STY_END <= style)
- {
- LogVarNotValid("PokemonEvolution", id, "style");
- output.Append("Error (PokemonEvolution): Style out of range");
- isValid = false;
- }
- if (pokemod->GetMaxLevel() <= level)
- {
- LogVarNotValid("PokemonEvolution", id, "level");
- output.Append("Error (PokemonEvolution): Level out of range");
- isValid = false;
- }
- if (!pokemod->GetItem(item))
- {
- LogVarNotValid("PokemonEvolution", id, "species");
- output.Append(ConsoleLogVarNotValid("PokemonEvolution", id, "species"));
- isValid = false;
- }
- LogValidateOver("PokemonEvolution", id, isValid);
-}
-#endif
-
void PokeGen::PokeMod::PokemonEvolution::ImportIni(Ini &ini, const unsigned _id)
{
LogImportStart("PokemonEvolution");