diff options
author | Joost Peters | 2003-11-14 00:45:44 +0000 |
---|---|---|
committer | Joost Peters | 2003-11-14 00:45:44 +0000 |
commit | 2d3f4ef8311946af98db30d61c785611466ff311 (patch) | |
tree | baed97a6c971f0fae8a2f55b6d921e0e624c98e7 /queen/sound.h | |
parent | ef1595b2a9e6bab5e2f5caeacd1264b1bca07a6d (diff) | |
download | scummvm-rg350-2d3f4ef8311946af98db30d61c785611466ff311.tar.gz scummvm-rg350-2d3f4ef8311946af98db30d61c785611466ff311.tar.bz2 scummvm-rg350-2d3f4ef8311946af98db30d61c785611466ff311.zip |
Play all sfx now, instead of only amiga ones + some music preparation
svn-id: r11288
Diffstat (limited to 'queen/sound.h')
-rw-r--r-- | queen/sound.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/queen/sound.h b/queen/sound.h index b82da9ca3a..a717f4e07c 100644 --- a/queen/sound.h +++ b/queen/sound.h @@ -31,6 +31,22 @@ namespace Queen { class Input; class Resource; +struct songData { + int16 tuneList[5]; + int16 volume; + int16 tempo; + int16 reverb; + int16 override; + int16 ignore; +}; + +struct tuneData { + int16 tuneNum[9]; + int16 sfx[2]; + int16 mode; + int16 delay; +}; + class Sound { public: Sound(SoundMixer *mixer, Input *input, Resource *resource); @@ -45,8 +61,16 @@ protected: Input *_input; Resource *_resource; + static const songData _song[]; + static const tuneData _tune[]; + static const char *_sfxName[]; + int16 _lastOverride; + int16 _lastMerge; + int16 _altMrgPri; int16 _currentSong; + int16 _previousSong; + int16 _previousSongNum; PlayingSoundHandle _sfxHandle; }; |