diff options
author | Kirben | 2016-06-22 11:45:44 +1000 |
---|---|---|
committer | Kirben | 2016-06-22 11:45:44 +1000 |
commit | 87c5540c2a5b06569545dbc06f81f58e3daafbc6 (patch) | |
tree | b046e651d7275327ba15279ccc1f83477c6c88c9 /engines/scumm/sound.h | |
parent | 6b07163600d6c63acb2c291ee42eaef72dc75cb9 (diff) | |
download | scummvm-rg350-87c5540c2a5b06569545dbc06f81f58e3daafbc6.tar.gz scummvm-rg350-87c5540c2a5b06569545dbc06f81f58e3daafbc6.tar.bz2 scummvm-rg350-87c5540c2a5b06569545dbc06f81f58e3daafbc6.zip |
SCUMM HE: Update sound flags and queue, for new settings.
Diffstat (limited to 'engines/scumm/sound.h')
-rw-r--r-- | engines/scumm/sound.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/scumm/sound.h b/engines/scumm/sound.h index 7fdb16371c..bc1e88f76b 100644 --- a/engines/scumm/sound.h +++ b/engines/scumm/sound.h @@ -67,6 +67,9 @@ protected: int32 offset; int16 channel; int16 flags; + int16 freq; + int16 pan; + int16 vol; } _soundQue2[10]; Common::String _sfxFilename; @@ -101,8 +104,8 @@ public: public: Sound(ScummEngine *parent, Audio::Mixer *mixer); virtual ~Sound(); - virtual void addSoundToQueue(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0); - virtual void addSoundToQueue2(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0); + virtual void addSoundToQueue(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0, int heFreq = 0, int hePan = 0, int heVol = 0); + virtual void addSoundToQueue2(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0, int heFreq = 0, int hePan = 0, int heVol = 0); void processSound(); void playSound(int soundID); |