From 2ff96c0277adac5768478c5616600fdb42ac3b3d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 15 Mar 2018 21:10:22 -0400 Subject: XEEN: Further convertion of playSound to playVoice for location voice samples --- engines/xeen/detection_tables.h | 4 ++-- engines/xeen/locations.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'engines') 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; } -- cgit v1.2.3