aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-13 22:21:40 -0400
committerPaul Gilbert2017-08-26 11:13:34 -0400
commita929c5aabc7093ce14126e9ae040c8260acf26a5 (patch)
tree4999b2ad9b9c0cd24b5250f040a97133fb4818a3 /engines/titanic/pet_control
parentb4ee0ec8236787c8894dd78d305006b54890bfb1 (diff)
downloadscummvm-rg350-a929c5aabc7093ce14126e9ae040c8260acf26a5.tar.gz
scummvm-rg350-a929c5aabc7093ce14126e9ae040c8260acf26a5.tar.bz2
scummvm-rg350-a929c5aabc7093ce14126e9ae040c8260acf26a5.zip
TITANIC: Add further strings to create_titanic tool
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r--engines/titanic/pet_control/pet_load.cpp2
-rw-r--r--engines/titanic/pet_control/pet_load_save.cpp2
-rw-r--r--engines/titanic/pet_control/pet_quit.cpp4
-rw-r--r--engines/titanic/pet_control/pet_save.cpp2
-rw-r--r--engines/titanic/pet_control/pet_sound.cpp10
5 files changed, 10 insertions, 10 deletions
diff --git a/engines/titanic/pet_control/pet_load.cpp b/engines/titanic/pet_control/pet_load.cpp
index 1d81435bed..6c24c575c9 100644
--- a/engines/titanic/pet_control/pet_load.cpp
+++ b/engines/titanic/pet_control/pet_load.cpp
@@ -52,7 +52,7 @@ bool CPetLoad::MouseButtonUpMsg(const Point &pt) {
}
void CPetLoad::getTooltip(CTextControl *text) {
- text->setText("Load the game.");
+ text->setText(LOAD_THE_GAME);
}
void CPetLoad::execute() {
diff --git a/engines/titanic/pet_control/pet_load_save.cpp b/engines/titanic/pet_control/pet_load_save.cpp
index aa438c06d3..d918478fb1 100644
--- a/engines/titanic/pet_control/pet_load_save.cpp
+++ b/engines/titanic/pet_control/pet_load_save.cpp
@@ -117,7 +117,7 @@ Rect CPetLoadSave::getSlotBounds(int index) {
void CPetLoadSave::resetSlots() {
for (int idx = 0; idx < SAVEGAME_SLOTS_COUNT; ++idx) {
- _slotNames[idx].setText("Empty");
+ _slotNames[idx].setText(EMPTY);
_slotInUse[idx] = false;
// Try and open up the savegame for access
diff --git a/engines/titanic/pet_control/pet_quit.cpp b/engines/titanic/pet_control/pet_quit.cpp
index 0d94474f99..b180bf8dc8 100644
--- a/engines/titanic/pet_control/pet_quit.cpp
+++ b/engines/titanic/pet_control/pet_quit.cpp
@@ -53,7 +53,7 @@ bool CPetQuit::reset() {
setName("PetExit", pet);
uint col = getPetSection()->getColor(0);
- _text.setText("Are you sure you want to quit?");
+ _text.setText(SURE_YOU_WANT_TO_QUIT);
_text.setLineColor(0, col);
_btnYes.reset("PetQuitOut", pet, MODE_UNSELECTED);
@@ -84,7 +84,7 @@ bool CPetQuit::MouseButtonUpMsg(const Point &pt) {
}
void CPetQuit::getTooltip(CTextControl *text) {
- text->setText("Quit the game.");
+ text->setText(QUIT_THE_GAME);
}
} // End of namespace Titanic
diff --git a/engines/titanic/pet_control/pet_save.cpp b/engines/titanic/pet_control/pet_save.cpp
index 00dbfa6b4a..16fe092b24 100644
--- a/engines/titanic/pet_control/pet_save.cpp
+++ b/engines/titanic/pet_control/pet_save.cpp
@@ -65,7 +65,7 @@ void CPetSave::highlightCurrent(const Point &pt) {
}
void CPetSave::getTooltip(CTextControl *text) {
- text->setText("Save the game.");
+ text->setText(SAVE_THE_GAME);
}
void CPetSave::highlightSave(int index) {
diff --git a/engines/titanic/pet_control/pet_sound.cpp b/engines/titanic/pet_control/pet_sound.cpp
index 1ba557ab14..085ee649b2 100644
--- a/engines/titanic/pet_control/pet_sound.cpp
+++ b/engines/titanic/pet_control/pet_sound.cpp
@@ -65,25 +65,25 @@ bool CPetSound::setup(CPetControl *petControl, CPetGlyphs *owner) {
_textMasterVolume.setBounds(rect);
_textMasterVolume.resize(3);
_textMasterVolume.setHasBorder(false);
- _textMasterVolume.setText("Master volume");
+ _textMasterVolume.setText(MASTER_VOLUME);
rect.translate(0, 20);
_textMusicVolume.setBounds(rect);
_textMusicVolume.resize(3);
_textMusicVolume.setHasBorder(false);
- _textMusicVolume.setText("Music volume");
+ _textMusicVolume.setText(MUSIC_VOLUME);
rect.translate(0, 20);
_textParrotVolume.setBounds(rect);
_textParrotVolume.resize(3);
_textParrotVolume.setHasBorder(false);
- _textParrotVolume.setText("Parrot volume");
+ _textParrotVolume.setText(PARROT_VOLUME);
rect.translate(0, 20);
_textSpeechVolume.setBounds(rect);
_textSpeechVolume.resize(3);
_textSpeechVolume.setHasBorder(false);
- _textSpeechVolume.setText("Speech volume");
+ _textSpeechVolume.setText(SPEECH_VOLUME);
return true;
}
@@ -276,7 +276,7 @@ bool CPetSound::MouseButtonUpMsg(const Point &pt) {
}
void CPetSound::getTooltip(CTextControl *text) {
- text->setText("Change the volume settings.");
+ text->setText(CHANGE_VOLUME_SETTINGS);
}
} // End of namespace Titanic