aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/chicken_dispensor.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/chicken_dispensor.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/chicken_dispensor.cpp')
-rw-r--r--engines/titanic/game/chicken_dispensor.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/titanic/game/chicken_dispensor.cpp b/engines/titanic/game/chicken_dispensor.cpp
index 692c364918..8d16289647 100644
--- a/engines/titanic/game/chicken_dispensor.cpp
+++ b/engines/titanic/game/chicken_dispensor.cpp
@@ -24,6 +24,7 @@
#include "titanic/carry/chicken.h"
#include "titanic/core/project_item.h"
#include "titanic/pet_control/pet_control.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -90,7 +91,7 @@ bool CChickenDispensor::StatusChangeMsg(CStatusChangeMsg *msg) {
if (_disabled) {
playMovie(0, 12, MOVIE_NOTIFY_OBJECT | MOVIE_WAIT_FOR_FINISH);
- playSound("z#400.wav");
+ playSound(TRANSLATE("z#400.wav", "z#145.wav"));
} else {
playMovie(12, 16, MOVIE_NOTIFY_OBJECT | MOVIE_WAIT_FOR_FINISH);
}
@@ -109,7 +110,7 @@ bool CChickenDispensor::MovieEndMsg(CMovieEndMsg *msg) {
if (movieFrame == 16) {
// Dispensed a chicken
_cursorId = CURSOR_HAND;
- playSound("b#50.wav", 50);
+ playSound(TRANSLATE("b#50.wav", "b#30.wav"), 50);
CActMsg actMsg("Dispense Chicken");
actMsg.execute("Chicken");
@@ -156,7 +157,7 @@ bool CChickenDispensor::LeaveViewMsg(CLeaveViewMsg *msg) {
}
bool CChickenDispensor::EnterViewMsg(CEnterViewMsg *msg) {
- playSound("b#51.wav");
+ playSound(TRANSLATE("b#51.wav", "b#31.wav"));
_dispensed = false;
_cursorId = CURSOR_ARROW;
return true;