aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/sgt
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/sgt
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/sgt')
-rw-r--r--engines/titanic/game/sgt/sgt_nav.cpp6
-rw-r--r--engines/titanic/game/sgt/sgt_state_room.cpp2
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/titanic/game/sgt/sgt_nav.cpp b/engines/titanic/game/sgt/sgt_nav.cpp
index c004f947d2..6e3c88e509 100644
--- a/engines/titanic/game/sgt/sgt_nav.cpp
+++ b/engines/titanic/game/sgt/sgt_nav.cpp
@@ -59,11 +59,9 @@ bool SGTNav::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
changeView("SGTState.Node 2.E");
} else if (_statics->_v1 == "Open") {
- petDisplayMessage(1, "This is your stateroom. It is for sleeping. If you desire "
- "entertainment or relaxation, please visit your local leisure lounge.");
+ petDisplayMessage(1, YOUR_STATEROOM);
} else if (_statics->_v6 == "Closed") {
- petDisplayMessage(1, "The bed will not currently support your weight."
- " We are working on this problem but are unlikely to be able to fix it.");
+ petDisplayMessage(1, BED_NOT_SUPPORT_YOUR_WEIGHT);
}
return true;
diff --git a/engines/titanic/game/sgt/sgt_state_room.cpp b/engines/titanic/game/sgt/sgt_state_room.cpp
index c089e401b8..02f1723d72 100644
--- a/engines/titanic/game/sgt/sgt_state_room.cpp
+++ b/engines/titanic/game/sgt/sgt_state_room.cpp
@@ -105,7 +105,7 @@ bool CSGTStateRoom::ActMsg(CActMsg *msg) {
uint assignedRoom = pet->getAssignedRoomFlags();
if (roomFlags != assignedRoom) {
- petDisplayMessage("This is not your assigned room. Please do not enjoy.");
+ petDisplayMessage(NOT_YOUR_ASSIGNED_ROOM);
} else if (_fieldE0) {
CTurnOn onMsg;
onMsg.execute(this);