aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-15 21:10:22 -0400
committerPaul Gilbert2018-03-15 21:10:22 -0400
commit2ff96c0277adac5768478c5616600fdb42ac3b3d (patch)
treef23cdf8b0dd974112a8ef72db9de5799d9f55e5c /engines
parent39640017e644ed28c8e397f7e2bd8dd6657d35f9 (diff)
downloadscummvm-rg350-2ff96c0277adac5768478c5616600fdb42ac3b3d.tar.gz
scummvm-rg350-2ff96c0277adac5768478c5616600fdb42ac3b3d.tar.bz2
scummvm-rg350-2ff96c0277adac5768478c5616600fdb42ac3b3d.zip
XEEN: Further convertion of playSound to playVoice for location voice samples
Diffstat (limited to 'engines')
-rw-r--r--engines/xeen/detection_tables.h4
-rw-r--r--engines/xeen/locations.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/xeen/detection_tables.h b/engines/xeen/detection_tables.h
index 2b09d2b44c..c311bde202 100644
--- a/engines/xeen/detection_tables.h
+++ b/engines/xeen/detection_tables.h
@@ -55,7 +55,7 @@ static const XeenGameDescription gameDescriptions[] = {
Common::DE_DEU,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
- GUIO0(),
+ GUIO0()
},
GType_WorldOfXeen,
0
@@ -128,7 +128,7 @@ static const XeenGameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
- GUIO1(GUIO_NOSPEECH)
+ GUIO0()
},
GType_Swords,
0
diff --git a/engines/xeen/locations.cpp b/engines/xeen/locations.cpp
index be97b636fd..0376cdb8f1 100644
--- a/engines/xeen/locations.cpp
+++ b/engines/xeen/locations.cpp
@@ -83,7 +83,7 @@ int BaseLocation::show() {
drawAnim(true);
// Play the welcome speech
- sound.playSound(_vocName, 1);
+ sound.playVoice(_vocName, 1);
do {
wait();
@@ -481,7 +481,7 @@ void BlacksmithLocation::farewell() {
if (_isDarkCc) {
sound.stopSound();
- sound.playSound("come1.voc", 1);
+ sound.playVoice("come1.voc", 1);
}
}
@@ -786,7 +786,7 @@ void TavernLocation::farewell() {
Sound &sound = *g_vm->_sound;
sound.stopSound();
- sound.playSound(_isDarkCc ? "gdluck1.voc" : "goodbye.voc", 1);
+ sound.playVoice(_isDarkCc ? "gdluck1.voc" : "goodbye.voc", 1);
map.mazeData()._mazeNumber = party._mazeId;
}