From 6ef5948a062fdaf9f8422501a64bee8f19dc7fcf Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 17 Sep 2017 11:43:44 -0400 Subject: TITANIC: German sound fixes for rest of prologue --- engines/titanic/game/credits.cpp | 9 +++++---- engines/titanic/game/credits_button.cpp | 3 ++- engines/titanic/game/transport/service_elevator.cpp | 10 +++++----- 3 files changed, 12 insertions(+), 10 deletions(-) (limited to 'engines/titanic') diff --git a/engines/titanic/game/credits.cpp b/engines/titanic/game/credits.cpp index 8333343cde..9fda8cf1c7 100644 --- a/engines/titanic/game/credits.cpp +++ b/engines/titanic/game/credits.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/credits.h" +#include "titanic/titanic.h" namespace Titanic { @@ -58,13 +59,13 @@ bool CCredits::SignalObject(CSignalObject *msg) { bool CCredits::TimerMsg(CTimerMsg *msg) { stopGlobalSound(true, -1); setVisible(true); - loadSound("a#16.wav"); - loadSound("a#24.wav"); + loadSound(TRANSLATE("a#16.wav", "a#11.wav")); + loadSound(TRANSLATE("a#24.wav", "a#19.wav")); if (playCutscene(0, 18)) { - playGlobalSound("a#16.wav", VOL_NORMAL, false, false, 0); + playGlobalSound(TRANSLATE("a#16.wav", "a#11.wav"), VOL_NORMAL, false, false, 0); if (playCutscene(19, 642)) { - playSound("a#24.wav"); + playSound(TRANSLATE("a#24.wav", "a#19.wav")); playCutscene(643, 750); } } diff --git a/engines/titanic/game/credits_button.cpp b/engines/titanic/game/credits_button.cpp index ee8f7bb329..92815ec021 100644 --- a/engines/titanic/game/credits_button.cpp +++ b/engines/titanic/game/credits_button.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/credits_button.h" +#include "titanic/titanic.h" namespace Titanic { @@ -50,7 +51,7 @@ bool CCreditsButton::MouseButtonUpMsg(CMouseButtonUpMsg *msg) { bool CCreditsButton::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { if (_fieldE0) { - playSound("a#20.wav"); + playSound(TRANSLATE("a#20.wav", "a#15.wav")); CSignalObject signalMsg; signalMsg._numValue = 1; signalMsg.execute("CreditsPlayer"); diff --git a/engines/titanic/game/transport/service_elevator.cpp b/engines/titanic/game/transport/service_elevator.cpp index b6c164dc93..8784f0ee2a 100644 --- a/engines/titanic/game/transport/service_elevator.cpp +++ b/engines/titanic/game/transport/service_elevator.cpp @@ -108,7 +108,7 @@ bool CServiceElevator::ServiceElevatorMsg(CServiceElevatorMsg *msg) { if (!_string1.empty()) { if (_string1 == "DeepSpace") { disableMouse(); - _soundHandle1 = playSound("z#413.wav", 50); + _soundHandle1 = playSound(TRANSLATE("z#413.wav", "z#157.wav"), 50); _timerId = addTimer(1, 1000, 500); } else { changeView(_string1); @@ -120,9 +120,9 @@ bool CServiceElevator::ServiceElevatorMsg(CServiceElevatorMsg *msg) { // Reaching destination floor _fieldF8 = false; _fieldDC = _v3; - loadSound("z#423.wav"); + loadSound(TRANSLATE("z#423.wav", "z#168.wav")); stopSound(_soundHandle2); - _soundHandle2 = playSound("z#423.wav", 80); + _soundHandle2 = playSound(TRANSLATE("z#423.wav", "z#168.wav"), 80); switch (_fieldDC) { case 0: @@ -133,12 +133,12 @@ bool CServiceElevator::ServiceElevatorMsg(CServiceElevatorMsg *msg) { case 1: _string1 = _v2 ? "BilgeRoomWith.Node 2.N" : "BilgeRoom.Node 1.N"; - queueSound("z#421.wav", _soundHandle2, 50); + queueSound(TRANSLATE("z#421.wav", "z#165.wav"), _soundHandle2, 50); break; case 2: _string1 = _v1 ? "MoonEmbLobby.Node 1.NE" : "EmbLobby.Node 1.NE"; - queueSound("z#411.wav", _soundHandle2, 50); + queueSound(TRANSLATE("z#411.wav", "z#155.wav"), _soundHandle2, 50); break; default: -- cgit v1.2.3