diff options
author | Vladimir Menshakov | 2011-06-13 20:19:27 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:46 +0200 |
commit | 74dfc349373e04d4243f3449c3f4939f8027c54f (patch) | |
tree | d2f5439e5dd5e632396854e9142f5354c900546e /engines/dreamweb/dreamweb.h | |
parent | 5a8b1dbfff587fe0eb689d81eed60fe879fb8f36 (diff) | |
download | scummvm-rg350-74dfc349373e04d4243f3449c3f4939f8027c54f.tar.gz scummvm-rg350-74dfc349373e04d4243f3449c3f4939f8027c54f.tar.bz2 scummvm-rg350-74dfc349373e04d4243f3449c3f4939f8027c54f.zip |
DREAMWEB: added sounds loading
Diffstat (limited to 'engines/dreamweb/dreamweb.h')
-rw-r--r-- | engines/dreamweb/dreamweb.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h index 7dabbc80c5..eff955c990 100644 --- a/engines/dreamweb/dreamweb.h +++ b/engines/dreamweb/dreamweb.h @@ -119,7 +119,19 @@ private: uint _speed; uint _oldMouseState; - Common::Array<uint8> _samples[2]; + + struct Sample { + uint offset; + uint size; + }; + + struct SoundData { + Common::Array<Sample> samples; + Common::Array<uint8> data; + }; + + SoundData _soundData[2]; + Audio::SoundHandle _musicHandle, _soundHandle; uint _channel0, _channel1; |