aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2011-05-02 21:30:20 +1000
committerPaul Gilbert2011-05-24 21:24:17 +1000
commitc5cbfc4ac21c285ee02876daf603031f0ed4c830 (patch)
tree23179d65381d741e6b94178d6707e74669786f60 /engines/tsage/sound.h
parent941fc4b1d53b25c4655771594476d855fbaa2a15 (diff)
downloadscummvm-rg350-c5cbfc4ac21c285ee02876daf603031f0ed4c830.tar.gz
scummvm-rg350-c5cbfc4ac21c285ee02876daf603031f0ed4c830.tar.bz2
scummvm-rg350-c5cbfc4ac21c285ee02876daf603031f0ed4c830.zip
TSAGE: Bugfixes for extracting sound data properties
Diffstat (limited to 'engines/tsage/sound.h')
-rw-r--r--engines/tsage/sound.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/tsage/sound.h b/engines/tsage/sound.h
index fb9a0c3f89..2cc5dec61e 100644
--- a/engines/tsage/sound.h
+++ b/engines/tsage/sound.h
@@ -62,7 +62,7 @@ public:
bool __sndmgrReady;
int _minVersion, _maxVersion;
Common::List<Sound *> _playList;
- int _field109[16];
+ int _field109[SOUND_ARR_SIZE];
uint32 _groupMask;
int _volume;
int _disableCtr;
@@ -72,9 +72,9 @@ public:
Common::List<SoundDriverEntry> _driverList;
Common::List<SoundDriver *> _installedDrivers;
- int _field89[16];
- int _fieldA9[16];
- int _fieldE9[16];
+ int _field89[SOUND_ARR_SIZE];
+ uint16 _groupList[SOUND_ARR_SIZE];
+ int _fieldE9[SOUND_ARR_SIZE];
int _field16D;
public:
@@ -129,6 +129,7 @@ public:
static void _sfUpdateLoop(Sound *sound);
static void _sfSetMasterVol(int volume);
static void _sfExtractTrackInfo(trackInfoStruct *trackInfo, const byte *soundData, int groupNum);
+ static void _sfExtractGroupMask();
};
class Sound: public EventHandler {