diff options
author | Paul Gilbert | 2017-09-20 06:28:34 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-20 06:28:34 -0400 |
commit | 7a184f0e7fa0af7eca0518af6b46be09fcf25bdc (patch) | |
tree | 0a3f1b23ba8b624dd04feb397187649a23ab08c3 /engines/titanic/game/end_explode_ship.cpp | |
parent | 661487c2b5c8376719d994fc9300cf2393dfce9f (diff) | |
download | scummvm-rg350-7a184f0e7fa0af7eca0518af6b46be09fcf25bdc.tar.gz scummvm-rg350-7a184f0e7fa0af7eca0518af6b46be09fcf25bdc.tar.bz2 scummvm-rg350-7a184f0e7fa0af7eca0518af6b46be09fcf25bdc.zip |
TITANIC: DE: Add translations for loadSound calls
Diffstat (limited to 'engines/titanic/game/end_explode_ship.cpp')
-rw-r--r-- | engines/titanic/game/end_explode_ship.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/engines/titanic/game/end_explode_ship.cpp b/engines/titanic/game/end_explode_ship.cpp index 2de9192319..5f90604fd7 100644 --- a/engines/titanic/game/end_explode_ship.cpp +++ b/engines/titanic/game/end_explode_ship.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/end_explode_ship.h" +#include "titanic/translation.h" namespace Titanic { @@ -53,9 +54,9 @@ bool CEndExplodeShip::ActMsg(CActMsg *msg) { } else if (msg->_action == "Disarm Bomb") { _isExploding = false; } else if (msg->_action == "TakeOff") { - loadSound("a#31.wav"); - loadSound("a#14.wav"); - playGlobalSound("a#13.wav", VOL_NORMAL, true, true, 0); + loadSound(TRANSLATE("a#31.wav", "a#26.wav")); + loadSound(TRANSLATE("a#14.wav", "a#7.wav")); + playGlobalSound(TRANSLATE("a#13.wav", "a#6.wav"), VOL_NORMAL, true, true, 0); addTimer(1, 10212, 0); } @@ -86,7 +87,7 @@ bool CEndExplodeShip::TimerMsg(CTimerMsg *msg) { bool CEndExplodeShip::MovieEndMsg(CMovieEndMsg *msg) { if (msg->_endFrame == 550) { - playSound("z#399.wav"); + playSound(TRANSLATE("z#399.wav", "a#10.wav")); startAnimTimer("Boom", 4200, 0); } else { addTimer(3, 8000, 0); @@ -97,9 +98,9 @@ bool CEndExplodeShip::MovieEndMsg(CMovieEndMsg *msg) { bool CEndExplodeShip::MovieFrameMsg(CMovieFrameMsg *msg) { if (msg->_frameNumber == 58) - playSound("a#31.wav", 70); + playSound(TRANSLATE("a#31.wav", "a#26.wav"), 70); else if (msg->_frameNumber == 551) - playSound("a#14.wav"); + playSound(TRANSLATE("a#14.wav", "a#7.wav")); return true; } |