diff options
author | D G Turner | 2012-05-31 05:16:10 +0100 |
---|---|---|
committer | D G Turner | 2012-05-31 05:16:10 +0100 |
commit | 628cfa3d47fb7ebad8dd26cb59f485e5c70dacb5 (patch) | |
tree | 7b716023a8833fb58d3baee66647b918b37afd1b /engines/dreamweb/vgafades.cpp | |
parent | 8860a83bf8a3dc02394a210b29aa6871928a7914 (diff) | |
download | scummvm-rg350-628cfa3d47fb7ebad8dd26cb59f485e5c70dacb5.tar.gz scummvm-rg350-628cfa3d47fb7ebad8dd26cb59f485e5c70dacb5.tar.bz2 scummvm-rg350-628cfa3d47fb7ebad8dd26cb59f485e5c70dacb5.zip |
DREAMWEB: Objectify Sound functions & data into DreamWebSound class.
This change should have no functional change, but makes the sound code
more decoupled, modular and readable, prior to attempting a fix for
bug #3528164 - "DREAMWEB: missing sound effects/music cues during main
title".
Diffstat (limited to 'engines/dreamweb/vgafades.cpp')
-rw-r--r-- | engines/dreamweb/vgafades.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dreamweb/vgafades.cpp b/engines/dreamweb/vgafades.cpp index 6f9fd5f53c..c8f05641b5 100644 --- a/engines/dreamweb/vgafades.cpp +++ b/engines/dreamweb/vgafades.cpp @@ -20,6 +20,7 @@ * */ +#include "dreamweb/sound.h" #include "dreamweb/dreamweb.h" namespace DreamWeb { @@ -123,7 +124,7 @@ void DreamWebEngine::fadeUpMonFirst() { _colourPos = 0; _numToFade = 128; hangOn(64); - playChannel1(26); + _sound->playChannel1(26); hangOn(64); } |