diff options
author | Paul Gilbert | 2011-05-07 14:13:52 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-05-07 14:13:52 +1000 |
commit | 43dbf9ff56b932f0f0b8fe09361af87c64a68d16 (patch) | |
tree | b7e2ff236cee2a83ee09a82979ef365c6cc50dec /engines/tsage/sound.h | |
parent | c470d1e6d2977622530ae53f1620e813849720c9 (diff) | |
download | scummvm-rg350-43dbf9ff56b932f0f0b8fe09361af87c64a68d16.tar.gz scummvm-rg350-43dbf9ff56b932f0f0b8fe09361af87c64a68d16.tar.bz2 scummvm-rg350-43dbf9ff56b932f0f0b8fe09361af87c64a68d16.zip |
TSAGE: Implemented more _sf methods
Diffstat (limited to 'engines/tsage/sound.h')
-rw-r--r-- | engines/tsage/sound.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/tsage/sound.h b/engines/tsage/sound.h index 40388d1055..6f86a930c0 100644 --- a/engines/tsage/sound.h +++ b/engines/tsage/sound.h @@ -88,6 +88,7 @@ public: int _field89[SOUND_ARR_SIZE]; uint16 _groupList[SOUND_ARR_SIZE]; int _fieldE9[SOUND_ARR_SIZE]; + Sound *_voiceStructPtrs[SOUND_ARR_SIZE]; public: SoundManager(); ~SoundManager(); @@ -132,6 +133,7 @@ public: void unloadSound(int soundNum); // _so methods + static SoundManager &sfManager(); static void _sfTerminate(); static void _soSetTimeIndex(int timeIndex); static int _sfDetermineGroup(const byte *soundData); @@ -141,7 +143,6 @@ public: static void _sfRethinkVoiceTypes(); static void _sfUpdateVolume(Sound *sound); static void _sfDereferenceAll(); - static void sub_233EE(Sound *sound); static void _sfUpdatePriority(Sound *sound); static void _sfUpdateLoop(Sound *sound); static void _sfSetMasterVol(int volume); @@ -150,6 +151,9 @@ public: static bool _sfInstallDriver(SoundDriver *driver); static void _sfUnInstallDriver(SoundDriver *driver); static void _sfInstallPatchBank(const byte *bankData); + static void _sfDoAddToPlayList(Sound *sound); + static bool _sfDoRemoveFromPlayList(Sound *sound); + static void _sfDoUpdateVolume(Sound *sound); }; class Sound: public EventHandler { @@ -158,6 +162,7 @@ private: void _unPrime(); void orientAfterRestore(); public: + int _field0; int _field6; int _soundNum; int _groupNum; |