diff options
author | Paul Gilbert | 2017-09-20 20:53:12 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-20 20:53:12 -0400 |
commit | 32735d59e82d178088b006ba583000fc37995b37 (patch) | |
tree | 04efa3f94687e8189ae68480ced7a3addf50e2a0 /engines/titanic/npcs/barbot.cpp | |
parent | 7a58db8b92d58d81a3752140c7983de7595db13d (diff) | |
download | scummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.tar.gz scummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.tar.bz2 scummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.zip |
TITANIC: DE: Adding sound translations
Diffstat (limited to 'engines/titanic/npcs/barbot.cpp')
-rw-r--r-- | engines/titanic/npcs/barbot.cpp | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/engines/titanic/npcs/barbot.cpp b/engines/titanic/npcs/barbot.cpp index 2ba150a38c..029861fa49 100644 --- a/engines/titanic/npcs/barbot.cpp +++ b/engines/titanic/npcs/barbot.cpp @@ -23,6 +23,7 @@ #include "titanic/npcs/barbot.h" #include "titanic/support/files_manager.h" #include "titanic/titanic.h" +#include "titanic/translation.h" namespace Titanic { @@ -243,7 +244,7 @@ bool CBarbot::ActMsg(CActMsg *msg) { _field160 = 1; _addedTV = true; - playSound("c#5.wav", _volume); + playSound(TRANSLATE("c#5.wav", "c#65.wav"), _volume); playRange(_frames[35], MOVIE_NOTIFY_OBJECT); movieEvent(); playRange(_frames[34]); @@ -415,12 +416,12 @@ bool CBarbot::MovieEndMsg(CMovieEndMsg *msg) { if (msg->_endFrame == _frames[57]._endFrame) { startTalking(this, 250575); - playSound("c#10.wav", _volume); + playSound(TRANSLATE("c#10.wav", "c#70.wav"), _volume); return true; } if (msg->_endFrame == _frames[55]._endFrame) { - playSound("c#10.wav", _volume); + playSound(TRANSLATE("c#10.wav", "c#70.wav"), _volume); return true; } @@ -476,22 +477,22 @@ bool CBarbot::MovieEndMsg(CMovieEndMsg *msg) { } if (msg->_endFrame == _frames[38]._endFrame || msg->_endFrame == _frames[23]._endFrame) { - playSound("c#3.wav", _volume); + playSound(TRANSLATE("c#3.wav", "c#63.wav"), _volume); } else if (msg->_endFrame == _frames[36]._endFrame) { - playSound("c#6.wav", _volume); + playSound(TRANSLATE("c#6.wav", "c#66.wav"), _volume); } else if (msg->_endFrame == _frames[35]._endFrame) { - playSound("c#8.wav", _volume); + playSound(TRANSLATE("c#8.wav", "c#68.wav"), _volume); } else if (msg->_endFrame == _frames[33]._endFrame) { - playSound("c#4.wav", _volume); + playSound(TRANSLATE("c#4.wav", "c#64.wav"), _volume); } else if (msg->_endFrame == _frames[32]._endFrame) { startTalking(this, 145); - playSound("c#9.wav", _volume); + playSound(TRANSLATE("c#9.wav", "c#69.wav"), _volume); } else if (msg->_endFrame == _frames[47]._endFrame) { - playSound("c#9.wav", _volume); + playSound(TRANSLATE("c#9.wav", "c#69.wav"), _volume); _addedVodka = true; _drunkFlag = true; } else if (msg->_endFrame == _frames[30]._endFrame) { - playSound("c#4.wav", 60); + playSound(TRANSLATE("c#4.wav", "c#64.wav"), 60); } else if (msg->_endFrame == _frames[29]._endFrame) { if (!_fieldC4) { performAction(true, nullptr); @@ -700,7 +701,7 @@ bool CBarbot::LoadSuccessMsg(CLoadSuccessMsg *msg) { bool CBarbot::MovieFrameMsg(CMovieFrameMsg *msg) { if (msg->_frameNumber == _frames[29]._startFrame) { - playSound("c#2.wav", _volume); + playSound(TRANSLATE("c#2.wav", "c#62.wav"), _volume); } else if (msg->_frameNumber == _frames[55]._startFrame || msg->_frameNumber == _frames[32]._startFrame) { |