diff options
Diffstat (limited to 'pokemod/PokemonMove.cpp')
| -rw-r--r-- | pokemod/PokemonMove.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pokemod/PokemonMove.cpp b/pokemod/PokemonMove.cpp index 53703387..848fc116 100644 --- a/pokemod/PokemonMove.cpp +++ b/pokemod/PokemonMove.cpp @@ -25,7 +25,7 @@ extern PokeGen::PokeMod::Pokemod curPokeMod;
-PokeGen::PokeMod::PokemonMove::PokemonMove(unsigned _id)
+PokeGen::PokeMod::PokemonMove::PokemonMove(const unsigned _id)
{
LogCtor("PokemonMove", _id);
move = -1;
@@ -34,7 +34,7 @@ PokeGen::PokeMod::PokemonMove::PokemonMove(unsigned _id) id = _id;
}
-PokeGen::PokeMod::PokemonMove::PokemonMove(Ini &ini, unsigned _id)
+PokeGen::PokeMod::PokemonMove::PokemonMove(Ini &ini, const unsigned _id)
{
LogCtorIni("PokemonMove", _id);
ImportIni(ini, _id);
@@ -96,7 +96,7 @@ void PokeGen::PokeMod::PokemonMove::Validate(const wxListBox &output) }
#endif
-void PokeGen::PokeMod::PokemonMove::ImportIni(Ini &ini, unsigned _id)
+void PokeGen::PokeMod::PokemonMove::ImportIni(Ini &ini, const unsigned _id)
{
LogImportStart("PokemonMove");
if (_id == UINT_MAX)
@@ -127,7 +127,7 @@ void PokeGen::PokeMod::PokemonMove::ExportIni(std::ofstream &fout, const String LogExportOver("PokemonMove", id);
}
-void PokeGen::PokeMod::PokemonMove::SetMove(int m)
+void PokeGen::PokeMod::PokemonMove::SetMove(const int m)
{
LogSetVar("PokemonMove", id, "move", m);
move = m;
@@ -140,13 +140,13 @@ void PokeGen::PokeMod::PokemonMove::SetMove(const String &m) move = temp->GetId();
}
-void PokeGen::PokeMod::PokemonMove::SetLevel(unsigned l)
+void PokeGen::PokeMod::PokemonMove::SetLevel(const unsigned l)
{
LogSetVar("PokemonMove", id, "level", l, GetMoveString());
level = l;
}
-void PokeGen::PokeMod::PokemonMove::SetWild(unsigned w)
+void PokeGen::PokeMod::PokemonMove::SetWild(const unsigned w)
{
LogSetVar("PokemonMove", id, "wild", w, GetMoveString());
wild = w;
|
