diff options
author | Paul Gilbert | 2011-06-05 09:44:48 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-06-05 09:44:48 +1000 |
commit | ce7c00f509346bdecffac5f4e84a9c27ff45d8d1 (patch) | |
tree | 4b082210e07d622b1b120cb02c9435f810cd897f /engines/tsage/sound.h | |
parent | 239e9886d682fd9bd83f09d4b16686d2dea08824 (diff) | |
download | scummvm-rg350-ce7c00f509346bdecffac5f4e84a9c27ff45d8d1.tar.gz scummvm-rg350-ce7c00f509346bdecffac5f4e84a9c27ff45d8d1.tar.bz2 scummvm-rg350-ce7c00f509346bdecffac5f4e84a9c27ff45d8d1.zip |
TSAGE: Changed SoundManager fields to match Protostar debug info
Diffstat (limited to 'engines/tsage/sound.h')
-rw-r--r-- | engines/tsage/sound.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/engines/tsage/sound.h b/engines/tsage/sound.h index 9f7ea34e93..9765059489 100644 --- a/engines/tsage/sound.h +++ b/engines/tsage/sound.h @@ -66,11 +66,11 @@ struct GroupData { class SoundDriver { public: Common::String _shortDescription, _longDescription; - int _driverNum; int _minVersion, _maxVersion; // The following fields were originally held in separate arrays in the SoundManager class uint32 _groupMask; const GroupData *_groupOffset; + int _driverResID; public: SoundDriver(); @@ -129,22 +129,18 @@ private: SoundDriver *instantiateDriver(int driverNum); public: bool __sndmgrReady; - int _minVersion, _maxVersion; + int _ourSndResVersion, _ourDrvResVersion; Common::List<Sound *> _playList; - int _field109[SOUND_ARR_SIZE]; - uint32 _groupMask; - int _volume; - int _disableCtr; - int _suspendCtr; + Common::List<SoundDriver *> _installedDrivers; + VoiceStruct *_voiceStructPtrs[SOUND_ARR_SIZE]; + uint32 _groupsAvail; + int _masterVol; + int _serverDisabledCount; + int _serverSuspendedCount; int _suspendedCount; bool _driversDetected; Common::List<Sound *> _soundList; Common::List<SoundDriverEntry> _availableDrivers; - Common::List<SoundDriver *> _installedDrivers; - int _field89[SOUND_ARR_SIZE]; - uint16 _groupList[SOUND_ARR_SIZE]; - int _fieldE9[SOUND_ARR_SIZE]; - VoiceStruct *_voiceStructPtrs[SOUND_ARR_SIZE]; bool _needToRethink; public: SoundManager(); |