aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/npcs/succubus.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/npcs/succubus.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/npcs/succubus.cpp')
-rw-r--r--engines/titanic/npcs/succubus.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/npcs/succubus.cpp b/engines/titanic/npcs/succubus.cpp
index 5588d862c3..453f016757 100644
--- a/engines/titanic/npcs/succubus.cpp
+++ b/engines/titanic/npcs/succubus.cpp
@@ -274,7 +274,7 @@ bool CSuccUBus::SubAcceptCCarryMsg(CSubAcceptCCarryMsg *msg) {
if (!_enabled || !pet || !item || !tempRect.contains(item->getControid())) {
item->petAddToInventory();
} else if (mailExists(roomFlags)) {
- petDisplayMessage("The Succ-U-Bus is a Single Entity Delivery Device.");
+ petDisplayMessage(SUCCUBUS_DESCRIPTION);
item->petAddToInventory();
} else {
petContainerRemove(item);
@@ -337,7 +337,7 @@ bool CSuccUBus::EnterViewMsg(CEnterViewMsg *msg) {
}
bool CSuccUBus::LeaveViewMsg(CLeaveViewMsg *msg) {
- petDisplayMessage(2, "");
+ petDisplayMessage(2, BLANK);
if (_startFrame8 >= 0)
loadFrame(_startFrame8);
else if (!_field15C && _startFrame9 >= 0)
@@ -370,7 +370,7 @@ bool CSuccUBus::PETDeliverMsg(CPETDeliverMsg *msg) {
return true;
if (!_enabled) {
- petDisplayMessage(2, "The Succ-U-Bus is in Standby, or \"Off\" mode at present.");
+ petDisplayMessage(2, SUCCUBUS_IS_IN_STANDBY);
return true;
}
@@ -394,7 +394,7 @@ bool CSuccUBus::PETDeliverMsg(CPETDeliverMsg *msg) {
break;
}
- petDisplayMessage(2, "There is currently nothing in the tray to send.");
+ petDisplayMessage(2, NOTHING_IN_SUCCUBUS_TRAY);
} else {
_field19C = 0;
@@ -458,7 +458,7 @@ bool CSuccUBus::PETReceiveMsg(CPETReceiveMsg *msg) {
if (_field1D8 || !pet)
return true;
if (!_enabled) {
- petDisplayMessage(2, "The Succ-U-Bus is in Standby, or \"Off\" mode at present.");
+ petDisplayMessage(2, SUCCUBUS_IS_IN_STANDBY);
return true;
}
@@ -489,7 +489,7 @@ bool CSuccUBus::PETReceiveMsg(CPETReceiveMsg *msg) {
playMovie(_startFrame6, _endFrame6, 0);
playMovie(_startFrame7, _endFrame7, 0);
- petDisplayMessage(2, "There is currently nothing to deliver.");
+ petDisplayMessage(2, NOTHING_TO_DELIVER);
} else {
startTalking(this, 230004, findView());