From 07994fb3610ddf1b3b23fbd53aaff44a4626f756 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 13 Dec 2012 03:09:41 +0200 Subject: TINSEL: Add support for the digitized music in DW1 Mac --- engines/tinsel/sound.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/tinsel/sound.h') diff --git a/engines/tinsel/sound.h b/engines/tinsel/sound.h index ea5eb45907..8510c1618f 100644 --- a/engines/tinsel/sound.h +++ b/engines/tinsel/sound.h @@ -51,7 +51,8 @@ protected: enum { kChannelTalk = 0, kChannelTinsel1 = 0, // Always using this channel for DW1 - kChannelSFX = 1 + kChannelSFX = 1, + kChannelDW1MacMusic = 2 }; static const int kNumChannels = kChannelSFX + kNumSFX; @@ -108,6 +109,7 @@ public: bool playSample(int id, Audio::Mixer::SoundType type, Audio::SoundHandle *handle = 0); bool playSample(int id, int sub, bool bLooped, int x, int y, int priority, Audio::Mixer::SoundType type, Audio::SoundHandle *handle = 0); + bool playDW1MacMusic(int dwFileOffset); void stopAllSamples(); // Stops any currently playing sample void stopSpecSample(int id, int sub = 0); // Stops a specific sample -- cgit v1.2.3