aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/npcs/parrot_succubus.cpp
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/npcs/parrot_succubus.cpp
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/npcs/parrot_succubus.cpp')
-rw-r--r--engines/titanic/npcs/parrot_succubus.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/titanic/npcs/parrot_succubus.cpp b/engines/titanic/npcs/parrot_succubus.cpp
index 964b91b106..64611e89b3 100644
--- a/engines/titanic/npcs/parrot_succubus.cpp
+++ b/engines/titanic/npcs/parrot_succubus.cpp
@@ -23,6 +23,7 @@
#include "titanic/npcs/parrot_succubus.h"
#include "titanic/pet_control/pet_control.h"
#include "titanic/carry/hose.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -79,7 +80,7 @@ bool CParrotSuccUBus::HoseConnectedMsg(CHoseConnectedMsg *msg) {
_isOn = false;
} else {
playMovie(_onStartFrame, _onEndFrame, 0);
- playSound("z#26.wav");
+ playSound(TRANSLATE("z#26.wav", "z#557.wav"));
}
playMovie(_hoseStartFrame, _hoseEndFrame, MOVIE_NOTIFY_OBJECT);
@@ -117,7 +118,7 @@ bool CParrotSuccUBus::EnterViewMsg(CEnterViewMsg *msg) {
bool CParrotSuccUBus::MovieEndMsg(CMovieEndMsg *msg) {
if (msg->_endFrame == _hoseEndFrame) {
playMovie(_pumpingStartFrame, _pumpingEndFrame, MOVIE_REPEAT);
- _pumpingSound = playSound("z#472.wav");
+ _pumpingSound = playSound(TRANSLATE("z#472.wav", "z#209.wav"));
return true;
} else {
return CSuccUBus::MovieEndMsg(msg);
@@ -139,7 +140,7 @@ bool CParrotSuccUBus::LeaveNodeMsg(CLeaveNodeMsg *msg) {
if (_hoseConnected) {
getHiddenObject(_pumpingTarget);
if (CHose::_statics->_actionTarget.empty()) {
- playSound("z#51.wav");
+ playSound(TRANSLATE("z#51.wav", "z#582.wav"));
CHoseConnectedMsg hoseMsg;
hoseMsg._connected = false;
hoseMsg.execute(this);