diff options
author | Filippos Karapetis | 2012-12-13 03:09:41 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-12-13 03:09:41 +0200 |
commit | 07994fb3610ddf1b3b23fbd53aaff44a4626f756 (patch) | |
tree | 9e192dc83904d156bb18ecd2e6e1b2cdb7ddb7bf /engines/tinsel/sound.h | |
parent | a3f22b88042d2dbbcbe5a82689da16183e974c7a (diff) | |
download | scummvm-rg350-07994fb3610ddf1b3b23fbd53aaff44a4626f756.tar.gz scummvm-rg350-07994fb3610ddf1b3b23fbd53aaff44a4626f756.tar.bz2 scummvm-rg350-07994fb3610ddf1b3b23fbd53aaff44a4626f756.zip |
TINSEL: Add support for the digitized music in DW1 Mac
Diffstat (limited to 'engines/tinsel/sound.h')
-rw-r--r-- | engines/tinsel/sound.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |