diff options
author | Travis Howell | 2004-08-31 07:52:47 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-31 07:52:47 +0000 |
commit | 870eac39a22ed48ce0e57bf2e5391b3a128bf14e (patch) | |
tree | 5d1e276259b0c7fedff1dd37fffbbbea251b2880 /sword1/sound.h | |
parent | 3f1aee9ff4c71c069f5ba22dbd9effd013b5de34 (diff) | |
download | scummvm-rg350-870eac39a22ed48ce0e57bf2e5391b3a128bf14e.tar.gz scummvm-rg350-870eac39a22ed48ce0e57bf2e5391b3a128bf14e.tar.bz2 scummvm-rg350-870eac39a22ed48ce0e57bf2e5391b3a128bf14e.zip |
Add eriktorbjorn's patch for separate target for Broken Sword 1 demo. Avoids sound regressions in full game.
svn-id: r14846
Diffstat (limited to 'sword1/sound.h')
-rw-r--r-- | sword1/sound.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sword1/sound.h b/sword1/sound.h index dcb2543653..df0d17376c 100644 --- a/sword1/sound.h +++ b/sword1/sound.h @@ -60,7 +60,7 @@ class ResMan; class Sound { public: - Sound(const char *searchPath, SoundMixer *mixer, ResMan *pResMan); + Sound(const char *searchPath, SoundMixer *mixer, ResMan *pResMan, bool isDemo); ~Sound(void); void setSpeechVol(uint8 volL, uint8 volR) { _speechVolL = volL; _speechVolR = volR; }; void setSfxVol(uint8 volL, uint8 volR) { _sfxVolL = volL; _sfxVolR = volR; }; @@ -100,6 +100,7 @@ private: uint8 _endOfQueue; SoundMixer *_mixer; ResMan *_resMan; + bool _isDemo; char _filePath[100]; static const char _musicList[270]; static const uint16 _roomsFixedFx[TOTAL_ROOMS][TOTAL_FX_PER_ROOM]; |