diff options
author | Paul Gilbert | 2017-09-20 22:33:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-20 22:33:18 -0400 |
commit | 9127f5245fe10bc9de8efea5a9050d980f3ef241 (patch) | |
tree | 306bdcaa2292fe71fa8eab212af4d4952723db9d /engines/titanic/game/parrot | |
parent | 32735d59e82d178088b006ba583000fc37995b37 (diff) | |
download | scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.tar.gz scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.tar.bz2 scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.zip |
TITANIC: DE: Adding sound translations
Diffstat (limited to 'engines/titanic/game/parrot')
-rw-r--r-- | engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/game/parrot/parrot_nut_eater.cpp | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp b/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp index 56c096eec1..440c874536 100644 --- a/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp +++ b/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp @@ -22,6 +22,7 @@ #include "titanic/game/parrot/parrot_nut_bowl_actor.h" #include "titanic/core/room_item.h" +#include "titanic/translation.h" namespace Titanic { @@ -70,7 +71,7 @@ bool CParrotNutBowlActor::BowlStateChangeMsg(CBowlStateChangeMsg *msg) { if (!_puzzleDone) { CReplaceBowlAndNutsMsg replaceMsg; replaceMsg.execute(findRoom(), nullptr, MSGFLAG_SCAN); - playSound("z#47.wav"); + playSound(TRANSLATE("z#47.wav", "z#578.wav")); } _puzzleDone = true; diff --git a/engines/titanic/game/parrot/parrot_nut_eater.cpp b/engines/titanic/game/parrot/parrot_nut_eater.cpp index c8d944632f..4e0476d77a 100644 --- a/engines/titanic/game/parrot/parrot_nut_eater.cpp +++ b/engines/titanic/game/parrot/parrot_nut_eater.cpp @@ -22,6 +22,7 @@ #include "titanic/game/parrot/parrot_nut_eater.h" #include "titanic/core/room_item.h" +#include "titanic/translation.h" namespace Titanic { @@ -55,7 +56,7 @@ bool CParrotNutEater::MovieEndMsg(CMovieEndMsg *msg) { CNutPuzzleMsg nutMsg("NutsGone"); nutMsg.execute(getRoom(), nullptr, MSGFLAG_SCAN); - playSound("z#47.wav"); + playSound(TRANSLATE("z#47.wav", "z#578.wav")); return true; } @@ -70,7 +71,7 @@ bool CParrotNutEater::NutPuzzleMsg(CNutPuzzleMsg *msg) { playMovie(MOVIE_NOTIFY_OBJECT | MOVIE_WAIT_FOR_FINISH); movieEvent(68); movieEvent(132); - playSound("z#215.wav"); + playSound(TRANSLATE("z#215.wav", "z#6.wav")); CTrueTalkTriggerActionMsg triggerMsg; triggerMsg._param1 = triggerMsg._param2 = 0; @@ -85,10 +86,10 @@ bool CParrotNutEater::MovieFrameMsg(CMovieFrameMsg *msg) { switch (msg->_frameNumber) { case 68: - playSound("z#214.wav", prox); + playSound(TRANSLATE("z#214.wav", "z#5.wav"), prox); break; case 132: - playSound("z#216.wav", prox); + playSound(TRANSLATE("z#216.wav", "z#7.wav"), prox); break; default: break; |