aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/gfx
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/gfx
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/gfx')
-rw-r--r--engines/titanic/gfx/music_slider_pitch.cpp3
-rw-r--r--engines/titanic/gfx/music_slider_speed.cpp5
-rw-r--r--engines/titanic/gfx/music_switch_inversion.cpp5
-rw-r--r--engines/titanic/gfx/music_switch_reverse.cpp5
-rw-r--r--engines/titanic/gfx/music_voice_mute.cpp3
5 files changed, 13 insertions, 8 deletions
diff --git a/engines/titanic/gfx/music_slider_pitch.cpp b/engines/titanic/gfx/music_slider_pitch.cpp
index 49d53f7724..48dee03d0c 100644
--- a/engines/titanic/gfx/music_slider_pitch.cpp
+++ b/engines/titanic/gfx/music_slider_pitch.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/gfx/music_slider_pitch.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -48,7 +49,7 @@ bool CMusicSliderPitch::MusicSettingChangedMsg(CMusicSettingChangedMsg *msg) {
loadFrame(3 - _controlVal);
playSound("z#54.wav", 50);
} else {
- playSound("z#46.wav");
+ playSound(TRANSLATE("z#46.wav", "z#577.wav"));
}
return true;
diff --git a/engines/titanic/gfx/music_slider_speed.cpp b/engines/titanic/gfx/music_slider_speed.cpp
index bc0490677f..50f98cc63f 100644
--- a/engines/titanic/gfx/music_slider_speed.cpp
+++ b/engines/titanic/gfx/music_slider_speed.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/gfx/music_slider_speed.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -46,9 +47,9 @@ bool CMusicSliderSpeed::MusicSettingChangedMsg(CMusicSettingChangedMsg *msg) {
_controlVal = 0;
loadFrame(3 - _controlVal);
- playSound("z#54.wav", 50);
+ playSound(TRANSLATE("z#54.wav", "z#585.wav"), 50);
} else {
- playSound("z#46.wav");
+ playSound(TRANSLATE("z#46.wav", "z#577.wav"));
}
return true;
diff --git a/engines/titanic/gfx/music_switch_inversion.cpp b/engines/titanic/gfx/music_switch_inversion.cpp
index b6aa1be3e3..9f554683d2 100644
--- a/engines/titanic/gfx/music_switch_inversion.cpp
+++ b/engines/titanic/gfx/music_switch_inversion.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/gfx/music_switch_inversion.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -46,9 +47,9 @@ bool CMusicSwitchInversion::MusicSettingChangedMsg(CMusicSettingChangedMsg *msg)
_controlVal = 0;
loadFrame(_controlVal);
- playSound("z#59.wav", 50);
+ playSound(TRANSLATE("z#59.wav", "z#590.wav"), 50);
} else {
- playSound("z#46.wav");
+ playSound(TRANSLATE("z#46.wav", "z#577.wav"));
}
return true;
diff --git a/engines/titanic/gfx/music_switch_reverse.cpp b/engines/titanic/gfx/music_switch_reverse.cpp
index 674119d571..56d4f1329b 100644
--- a/engines/titanic/gfx/music_switch_reverse.cpp
+++ b/engines/titanic/gfx/music_switch_reverse.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/gfx/music_switch_reverse.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -46,9 +47,9 @@ bool CMusicSwitchReverse::MusicSettingChangedMsg(CMusicSettingChangedMsg *msg) {
_controlVal = 0;
loadFrame(_controlVal);
- playSound("z#59.wav", 50);
+ playSound(TRANSLATE("z#59.wav", "z#590.wav"), 50);
} else {
- playSound("z#46.wav");
+ playSound(TRANSLATE("z#46.wav", "z#577.wav"));
}
return true;
diff --git a/engines/titanic/gfx/music_voice_mute.cpp b/engines/titanic/gfx/music_voice_mute.cpp
index 034cb4f6a6..075cd678fc 100644
--- a/engines/titanic/gfx/music_voice_mute.cpp
+++ b/engines/titanic/gfx/music_voice_mute.cpp
@@ -22,6 +22,7 @@
#include "titanic/gfx/music_voice_mute.h"
#include "titanic/sound/music_room.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -38,7 +39,7 @@ bool CMusicVoiceMute::MusicSettingChangedMsg(CMusicSettingChangedMsg *msg) {
CMusicRoom *musicRoom = getMusicRoom();
musicRoom->setMuteControl(_controlArea, _controlVal == 1 ? 1 : 0);
loadFrame(1 - _controlVal);
- playSound("z#55.wav", 50);
+ playSound(TRANSLATE("z#55.wav", "z#586.wav"), 50);
return true;
}