aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/bar_bell.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-20 20:53:12 -0400
committerPaul Gilbert2017-09-20 20:53:12 -0400
commit32735d59e82d178088b006ba583000fc37995b37 (patch)
tree04efa3f94687e8189ae68480ced7a3addf50e2a0 /engines/titanic/game/bar_bell.cpp
parent7a58db8b92d58d81a3752140c7983de7595db13d (diff)
downloadscummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.tar.gz
scummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.tar.bz2
scummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.zip
TITANIC: DE: Adding sound translations
Diffstat (limited to 'engines/titanic/game/bar_bell.cpp')
-rw-r--r--engines/titanic/game/bar_bell.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/titanic/game/bar_bell.cpp b/engines/titanic/game/bar_bell.cpp
index 5f17dffda1..448a7d2919 100644
--- a/engines/titanic/game/bar_bell.cpp
+++ b/engines/titanic/game/bar_bell.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/game/bar_bell.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -68,23 +69,23 @@ bool CBarBell::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
case 0:
case 1:
case 5:
- playSound("c#54.wav", _volume, _soundVal3);
+ playSound(TRANSLATE("c#54.wav", "c#38.wav"), _volume, _soundVal3);
break;
case 2:
- playSound("c#52.wav", _volume, _soundVal3);
+ playSound(TRANSLATE("c#52.wav", "c#36.wav"), _volume, _soundVal3);
break;
case 3:
- playSound("c#53.wav", _volume, _soundVal3);
+ playSound(TRANSLATE("c#53.wav", "c#37.wav"), _volume, _soundVal3);
break;
case 4:
- playSound("c#55.wav", _volume, _soundVal3);
+ playSound(TRANSLATE("c#55.wav", "c#39.wav"), _volume, _soundVal3);
break;
default:
- playSound("c#51.wav", _volume, _soundVal3);
+ playSound(TRANSLATE("c#51.wav", "c#35.wav"), _volume, _soundVal3);
break;
}
} else if (_fieldBC >= 5) {
@@ -93,7 +94,7 @@ bool CBarBell::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
actMsg.execute("Barbot");
}
- playSound("c#51.wav", _volume, _soundVal3);
+ playSound(TRANSLATE("c#51.wav", "c#35.wav"), _volume, _soundVal3);
} else {
if (_fieldBC == 3) {
CActMsg actMsg("BellRing1");
@@ -103,7 +104,7 @@ bool CBarBell::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
actMsg.execute("Barbot");
}
- playSound("c#54.wav", _volume, _soundVal3);
+ playSound(TRANSLATE("c#54.wav", "c#38.wav"), _volume, _soundVal3);
}
return true;