summaryrefslogtreecommitdiffstats
path: root/pokemod/PokemonEvolution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/PokemonEvolution.cpp')
-rw-r--r--pokemod/PokemonEvolution.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/pokemod/PokemonEvolution.cpp b/pokemod/PokemonEvolution.cpp
index 94148e2b..8290532c 100644
--- a/pokemod/PokemonEvolution.cpp
+++ b/pokemod/PokemonEvolution.cpp
@@ -25,7 +25,7 @@
extern PokeGen::PokeMod::Pokemod curPokeMod;
-PokeGen::PokeMod::PokemonEvolution::PokemonEvolution(unsigned _id)
+PokeGen::PokeMod::PokemonEvolution::PokemonEvolution(const unsigned _id)
{
LogCtor("PokemonEvolution", _id);
species = -1;
@@ -36,7 +36,7 @@ PokeGen::PokeMod::PokemonEvolution::PokemonEvolution(unsigned _id)
id = _id;
}
-PokeGen::PokeMod::PokemonEvolution::PokemonEvolution(Ini &ini, unsigned _id)
+PokeGen::PokeMod::PokemonEvolution::PokemonEvolution(Ini &ini, const unsigned _id)
{
LogCtorIni("PokemonEvolution", _id);
ImportIni(ini, _id);
@@ -109,7 +109,7 @@ void PokeGen::PokeMod::PokemonEvolution::Validate(const wxListBox &output)
}
#endif
-void PokeGen::PokeMod::PokemonEvolution::ImportIni(Ini &ini, unsigned _id)
+void PokeGen::PokeMod::PokemonEvolution::ImportIni(Ini &ini, const unsigned _id)
{
LogImportStart("PokemonEvolution");
if (_id == UINT_MAX)
@@ -144,7 +144,7 @@ void PokeGen::PokeMod::PokemonEvolution::ExportIni(std::ofstream &fout, const St
LogExportOver("PokemonEvolution", id);
}
-void PokeGen::PokeMod::PokemonEvolution::SetSpecies(int s)
+void PokeGen::PokeMod::PokemonEvolution::SetSpecies(const int s)
{
LogSetVar("PokemonEvolution", id, "species", s);
species = s;
@@ -157,19 +157,19 @@ void PokeGen::PokeMod::PokemonEvolution::SetSpecies(const String &s)
species = temp->GetId();
}
-void PokeGen::PokeMod::PokemonEvolution::SetStyle(int s)
+void PokeGen::PokeMod::PokemonEvolution::SetStyle(const int s)
{
LogSetVar("PokemonEvolution", id, "style", s);
style = s;
}
-void PokeGen::PokeMod::PokemonEvolution::SetLevel(unsigned l)
+void PokeGen::PokeMod::PokemonEvolution::SetLevel(const unsigned l)
{
LogSetVar("PokemonEvolution", id, "level", l);
level = l;
}
-void PokeGen::PokeMod::PokemonEvolution::SetItem(int i)
+void PokeGen::PokeMod::PokemonEvolution::SetItem(const int i)
{
LogSetVar("PokemonEvolution", id, "item", i);
item = i;
@@ -182,7 +182,7 @@ void PokeGen::PokeMod::PokemonEvolution::SetItem(const String &i)
item = temp->GetId();
}
-void PokeGen::PokeMod::PokemonEvolution::SetHappiness(unsigned h)
+void PokeGen::PokeMod::PokemonEvolution::SetHappiness(const unsigned h)
{
LogSetVar("PokemonEvolution", id, "happiness", h);
happiness = h;