aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-20 06:43:10 -0400
committerPaul Gilbert2017-09-20 06:43:10 -0400
commita7479b4f5beb83e75379f868d5c19c23625eabe6 (patch)
tree9f1766928a8b5a7212275375cbb7b8155fae2318 /engines/titanic
parent7a184f0e7fa0af7eca0518af6b46be09fcf25bdc (diff)
downloadscummvm-rg350-a7479b4f5beb83e75379f868d5c19c23625eabe6.tar.gz
scummvm-rg350-a7479b4f5beb83e75379f868d5c19c23625eabe6.tar.bz2
scummvm-rg350-a7479b4f5beb83e75379f868d5c19c23625eabe6.zip
TITANIC: DE: Add translations for playGlobalSound calls
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/game/end_credit_text.cpp3
-rw-r--r--engines/titanic/game/end_sequence_control.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/game/end_credit_text.cpp b/engines/titanic/game/end_credit_text.cpp
index 9af13133d6..8809799a27 100644
--- a/engines/titanic/game/end_credit_text.cpp
+++ b/engines/titanic/game/end_credit_text.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/game/end_credit_text.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -43,7 +44,7 @@ void CEndCreditText::load(SimpleFile *file) {
}
bool CEndCreditText::ActMsg(CActMsg *msg) {
- playGlobalSound("z#41.wav", VOL_NORMAL, false, false, 0);
+ playGlobalSound(TRANSLATE("z#41.wav", "z#573.wav"), VOL_NORMAL, false, false, 0);
createCredits();
_flag = true;
return true;
diff --git a/engines/titanic/game/end_sequence_control.cpp b/engines/titanic/game/end_sequence_control.cpp
index 7041874368..e8bc04aa85 100644
--- a/engines/titanic/game/end_sequence_control.cpp
+++ b/engines/titanic/game/end_sequence_control.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/game/end_sequence_control.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -71,7 +72,7 @@ bool CEndSequenceControl::EnterRoomMsg(CEnterRoomMsg *msg) {
petHide();
disableMouse();
addTimer(1, 1000, 0);
- playGlobalSound("a#15.wav", VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType);
+ playGlobalSound(TRANSLATE("a#15.wav", "a#8.wav"), VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType);
return true;
}