diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2007-05-26 13:36:39 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2007-05-26 13:36:39 +0000 |
| commit | dc9682d704118840457aa3434711eba6e003eafc (patch) | |
| tree | 40ccccb7c4a220b656ec92d61277a44380cf30bd /pokemod/ItemStorage.cpp | |
| parent | 75b7d5c767428f7061365a186cb17a22de4112cc (diff) | |
| download | sigen-dc9682d704118840457aa3434711eba6e003eafc.tar.gz sigen-dc9682d704118840457aa3434711eba6e003eafc.tar.xz sigen-dc9682d704118840457aa3434711eba6e003eafc.zip | |
const arguments where possible, EggGroup, Move beginnings
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@15 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/ItemStorage.cpp')
| -rw-r--r-- | pokemod/ItemStorage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemod/ItemStorage.cpp b/pokemod/ItemStorage.cpp index 6901e677..3c73449a 100644 --- a/pokemod/ItemStorage.cpp +++ b/pokemod/ItemStorage.cpp @@ -23,7 +23,7 @@ #include "ItemStorage.h"
-PokeGen::PokeMod::ItemStorage::ItemStorage(unsigned _id)
+PokeGen::PokeMod::ItemStorage::ItemStorage(const unsigned _id)
{
LogCtor("ItemStorage", _id);
name = "";
@@ -32,7 +32,7 @@ PokeGen::PokeMod::ItemStorage::ItemStorage(unsigned _id) id = _id;
}
-PokeGen::PokeMod::ItemStorage::ItemStorage(Ini &ini, unsigned _id)
+PokeGen::PokeMod::ItemStorage::ItemStorage(Ini &ini, const unsigned _id)
{
LogCtorIni("ItemStorage", _id);
ImportIni(ini, _id);
@@ -83,7 +83,7 @@ void PokeGen::PokeMod::ItemStorage::Validate(const wxListBox &output) }
#endif
-void PokeGen::PokeMod::ItemStorage::ImportIni(Ini &ini, unsigned _id)
+void PokeGen::PokeMod::ItemStorage::ImportIni(Ini &ini, const unsigned _id)
{
LogImportStart("ItemStorage");
if (_id == UINT_MAX)
@@ -120,13 +120,13 @@ void PokeGen::PokeMod::ItemStorage::SetName(const String &n) name = n;
}
-void PokeGen::PokeMod::ItemStorage::SetComputer(unsigned c)
+void PokeGen::PokeMod::ItemStorage::SetComputer(const unsigned c)
{
LogSetVar("ItemStorage", id, "computer", c, name);
computer = c;
}
-void PokeGen::PokeMod::ItemStorage::SetPlayer(unsigned p)
+void PokeGen::PokeMod::ItemStorage::SetPlayer(const unsigned p)
{
LogSetVar("ItemStorage", id, "player", p, name);
if (p)
|
