aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/nav_helmet.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-20 22:33:18 -0400
committerPaul Gilbert2017-09-20 22:33:18 -0400
commit9127f5245fe10bc9de8efea5a9050d980f3ef241 (patch)
tree306bdcaa2292fe71fa8eab212af4d4952723db9d /engines/titanic/game/nav_helmet.cpp
parent32735d59e82d178088b006ba583000fc37995b37 (diff)
downloadscummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.tar.gz
scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.tar.bz2
scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.zip
TITANIC: DE: Adding sound translations
Diffstat (limited to 'engines/titanic/game/nav_helmet.cpp')
-rw-r--r--engines/titanic/game/nav_helmet.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/engines/titanic/game/nav_helmet.cpp b/engines/titanic/game/nav_helmet.cpp
index 6a54d01cbd..ba3be2b644 100644
--- a/engines/titanic/game/nav_helmet.cpp
+++ b/engines/titanic/game/nav_helmet.cpp
@@ -23,6 +23,7 @@
#include "titanic/game/nav_helmet.h"
#include "titanic/pet_control/pet_control.h"
#include "titanic/star_control/star_control.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -85,8 +86,8 @@ bool CNavHelmet::PETHelmetOnOffMsg(CPETHelmetOnOffMsg *msg) {
setVisible(true);
starFn(STAR_HIDE);
playMovie(61, 120, MOVIE_NOTIFY_OBJECT);
- playSound("a#47.wav");
- playSound("a#48.wav");
+ playSound(TRANSLATE("a#47.wav", "a#40.wav"));
+ playSound(TRANSLATE("a#48.wav", "a#41.wav"));
if (pet) {
pet->decAreaLocks();
@@ -99,8 +100,8 @@ bool CNavHelmet::PETHelmetOnOffMsg(CPETHelmetOnOffMsg *msg) {
_helmetOn = true;
setVisible(true);
playMovie(0, 60, MOVIE_NOTIFY_OBJECT);
- playSound("a#48.wav");
- playSound("a#47.wav");
+ playSound(TRANSLATE("a#48.wav", "a#41.wav"));
+ playSound(TRANSLATE("a#47.wav", "a#40.wav"));
}
return true;
@@ -131,10 +132,10 @@ bool CNavHelmet::PETStarFieldLockMsg(CPETStarFieldLockMsg *msg) {
// but now it will also not play the sounds in
// photoview
if (msg->_value) {
- playSound("a#6.wav");
+ playSound(TRANSLATE("a#6.wav", "a#58.wav"));
starFn(LOCK_STAR);
} else {
- playSound("a#5.wav");
+ playSound(TRANSLATE("a#5.wav", "a#57.wav"));
starFn(UNLOCK_STAR);
}
}