From 8eaf094bf59a30255f6e981bd9e1c593fc17b2fb Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 10 Sep 2016 23:16:15 -0400 Subject: TITANIC: Move text messages to DAT file --- engines/titanic/npcs/succubus.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'engines/titanic/npcs/succubus.cpp') 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()); -- cgit v1.2.3