diff options
author | Travis Howell | 2005-04-25 05:44:12 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-25 05:44:12 +0000 |
commit | 93803048327377ed3a4f3966e7cf7719253a56ed (patch) | |
tree | bff7487f11f554aaca99739ee2335e1a3a70c593 /scumm/sound.h | |
parent | 8776150321abb1d7d5f6ceb512713583e53d605e (diff) | |
download | scummvm-rg350-93803048327377ed3a4f3966e7cf7719253a56ed.tar.gz scummvm-rg350-93803048327377ed3a4f3966e7cf7719253a56ed.tar.bz2 scummvm-rg350-93803048327377ed3a4f3966e7cf7719253a56ed.zip |
Read index of music file in HE games at startup.
Only reliable way to always get correct music tracks.
svn-id: r17798
Diffstat (limited to 'scumm/sound.h')
-rw-r--r-- | scumm/sound.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scumm/sound.h b/scumm/sound.h index 900250525f..89c4335c6d 100644 --- a/scumm/sound.h +++ b/scumm/sound.h @@ -83,6 +83,15 @@ protected: int16 _currentCDSound; int16 _currentMusic; + + struct HEMusic{ + int32 id; + int32 offset; + int32 size; + }; + HEMusic *_heMusic; + int16 _heMusicTracks; + public: SoundHandle _talkChannelHandle; // Handle of mixer channel actor is talking on SoundHandle _heSoundChannels[8]; @@ -120,6 +129,7 @@ public: void updateCD(); int getCurrentCDSound() const { return _currentCDSound; } + void setupHEMusicFile(); void getHEMusicDetails(int id, int &musicOffs, int &musicSize); // Used by the save/load system: |