aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-20 06:28:34 -0400
committerPaul Gilbert2017-09-20 06:28:34 -0400
commit7a184f0e7fa0af7eca0518af6b46be09fcf25bdc (patch)
tree0a3f1b23ba8b624dd04feb397187649a23ab08c3 /engines/titanic/sound
parent661487c2b5c8376719d994fc9300cf2393dfce9f (diff)
downloadscummvm-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/sound')
-rw-r--r--engines/titanic/sound/seasonal_music_player.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/engines/titanic/sound/seasonal_music_player.cpp b/engines/titanic/sound/seasonal_music_player.cpp
index 40bf7096f2..637a0020ba 100644
--- a/engines/titanic/sound/seasonal_music_player.cpp
+++ b/engines/titanic/sound/seasonal_music_player.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/sound/seasonal_music_player.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -119,14 +120,14 @@ bool CSeasonalMusicPlayer::ChangeMusicMsg(CChangeMusicMsg *msg) {
if (!_isRepeated && msg->_flags == 2) {
_isRepeated = true;
- loadSound("c#64.wav");
- loadSound("c#63.wav");
- loadSound("c#65.wav");
- loadSound("c#62.wav");
- playGlobalSound("c#64.wav", _springMode, _isSpring, true, 0);
- playGlobalSound("c#63.wav", _summerMode, _isSummer, true, 1);
- playGlobalSound("c#65.wav", _autumnMode, _isAutumn, true, 2);
- playGlobalSound("c#62.wav", _winterMode, _isWinter, true, 3);
+ loadSound(TRANSLATE("c#64.wav", "c#47.wav"));
+ loadSound(TRANSLATE("c#63.wav", "c#46.wav"));
+ loadSound(TRANSLATE("c#65.wav", "c#48.wav"));
+ loadSound(TRANSLATE("c#62.wav", "c#47.wav"));
+ playGlobalSound(TRANSLATE("c#64.wav", "c#47.wav"), _springMode, _isSpring, true, 0);
+ playGlobalSound(TRANSLATE("c#63.wav", "c#46.wav"), _summerMode, _isSummer, true, 1);
+ playGlobalSound(TRANSLATE("c#65.wav", "c#48.wav"), _autumnMode, _isAutumn, true, 2);
+ playGlobalSound(TRANSLATE("c#62.wav", "c#47.wav"), _winterMode, _isWinter, true, 3);
}
return true;