summaryrefslogtreecommitdiffstats
path: root/pokemod/Dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Dialog.cpp')
-rw-r--r--pokemod/Dialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemod/Dialog.cpp b/pokemod/Dialog.cpp
index 8e62e368..9dce1dff 100644
--- a/pokemod/Dialog.cpp
+++ b/pokemod/Dialog.cpp
@@ -25,14 +25,14 @@
extern PokeGen::PokeMod::Pokemod curPokeMod;
-PokeGen::PokeMod::Dialog::Dialog(unsigned _id)
+PokeGen::PokeMod::Dialog::Dialog(const unsigned _id)
{
LogCtor("Dialog", _id);
dialog = "";
id = _id;
}
-PokeGen::PokeMod::Dialog::Dialog(Ini &ini, unsigned _id)
+PokeGen::PokeMod::Dialog::Dialog(Ini &ini, const unsigned _id)
{
LogCtorIni("Dialog", _id);
ImportIni(ini, _id);
@@ -57,7 +57,7 @@ void PokeGen::PokeMod::Dialog::Validate()
LogValidateOver("Dialog", id, isValid);
}
-void PokeGen::PokeMod::Dialog::ImportIni(Ini &ini, unsigned _id)
+void PokeGen::PokeMod::Dialog::ImportIni(Ini &ini, const unsigned _id)
{
LogImportStart("Dialog");
if (_id == UINT_MAX)
@@ -96,12 +96,12 @@ PokeGen::PokeMod::String PokeGen::PokeMod::Dialog::GetDialog() const
return dialog;
}
-void PokeGen::PokeMod::Dialog::InsertDialogCommand(unsigned cmd, unsigned pos)
+void PokeGen::PokeMod::Dialog::InsertDialogCommand(const unsigned cmd, const unsigned pos)
{
// TODO (Ben#1#): Dialog commands
}
-void PokeGen::PokeMod::Dialog::InsertDialogCommand(const String &cmd, unsigned pos)
+void PokeGen::PokeMod::Dialog::InsertDialogCommand(const String &cmd, const unsigned pos)
{
// TODO (Ben#1#): Dialog commands
}