aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/speech_dispensor.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-10 23:16:15 -0400
committerPaul Gilbert2016-09-10 23:16:15 -0400
commit8eaf094bf59a30255f6e981bd9e1c593fc17b2fb (patch)
tree261f0fad2c6db5d75da682d9c7f43a74fee24a77 /engines/titanic/game/speech_dispensor.cpp
parentcb33eca327414837d9095b7797a1996705fd768f (diff)
downloadscummvm-rg350-8eaf094bf59a30255f6e981bd9e1c593fc17b2fb.tar.gz
scummvm-rg350-8eaf094bf59a30255f6e981bd9e1c593fc17b2fb.tar.bz2
scummvm-rg350-8eaf094bf59a30255f6e981bd9e1c593fc17b2fb.zip
TITANIC: Move text messages to DAT file
Diffstat (limited to 'engines/titanic/game/speech_dispensor.cpp')
-rw-r--r--engines/titanic/game/speech_dispensor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/game/speech_dispensor.cpp b/engines/titanic/game/speech_dispensor.cpp
index 20ff3c69e0..3554c48602 100644
--- a/engines/titanic/game/speech_dispensor.cpp
+++ b/engines/titanic/game/speech_dispensor.cpp
@@ -68,7 +68,7 @@ bool CSpeechDispensor::FrameMsg(CFrameMsg *msg) {
CGameObject *dragObject = getDraggingObject();
if (!_dragItem && dragObject && getView() == findView()) {
if (dragObject->isEquals("Perch")) {
- petDisplayMessage(1, "This stick is too short to reach the branches.");
+ petDisplayMessage(1, TOO_SHORT_TO_REACH_BRANCHES);
return true;
}
@@ -86,7 +86,7 @@ bool CSpeechDispensor::FrameMsg(CFrameMsg *msg) {
case 0:
playSound("z#93.wav");
if (_seasonNum == SEASON_WINTER) {
- petDisplayMessage(1, "You cannot get this, it is frozen to the branch.");
+ petDisplayMessage(1, FROZEN_TO_BRANCH);
_fieldE0 = false;
_state = 1;
} else {
@@ -121,9 +121,9 @@ bool CSpeechDispensor::MouseButtonUpMsg(CMouseButtonUpMsg *msg) {
if (!_fieldEC) {
playSound("z#93.wav");
if (_fieldF8) {
- petDisplayMessage(1, "Sadly, this is out of your reach.");
+ petDisplayMessage(1, OUT_OF_REACH);
} else {
- petDisplayMessage(1, "You can't pick this up on account of it being stuck to the branch.");
+ petDisplayMessage(1, STUCK_TO_BRANCH);
}
}