From 2d3f4ef8311946af98db30d61c785611466ff311 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Fri, 14 Nov 2003 00:45:44 +0000 Subject: Play all sfx now, instead of only amiga ones + some music preparation svn-id: r11288 --- queen/sound.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'queen/sound.h') 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; }; -- cgit v1.2.3