aboutsummaryrefslogtreecommitdiff
path: root/sky/sky.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2003-07-04 20:14:11 +0000
committerRobert Göffringmann2003-07-04 20:14:11 +0000
commit484d0a84c56652d0dba314b0583c9b2fc74cb872 (patch)
treeebb476ad75086a2e32fc1e08ce4798fbc3edd8c9 /sky/sky.cpp
parent3aa048d710dce762c3f79167b04a48cc450056f9 (diff)
downloadscummvm-rg350-484d0a84c56652d0dba314b0583c9b2fc74cb872.tar.gz
scummvm-rg350-484d0a84c56652d0dba314b0583c9b2fc74cb872.tar.bz2
scummvm-rg350-484d0a84c56652d0dba314b0583c9b2fc74cb872.zip
SFX is working correctly now. also implemented queued fx and fx saving.
The bass version is now included in the savegames, too. svn-id: r8747
Diffstat (limited to 'sky/sky.cpp')
-rw-r--r--sky/sky.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp
index 0c709f8d55..b7a07ef335 100644
--- a/sky/sky.cpp
+++ b/sky/sky.cpp
@@ -149,6 +149,7 @@ void SkyState::go() {
/*if ((_key_pressed == 27) && (!_systemVars.pastIntro))
_skyControl->restartGame();*/
+ _skySound->checkFxQueue();
_skyMouse->mouseEngine((uint16)_sdl_mouse_x, (uint16)_sdl_mouse_y);
_skyLogic->engine();
if (!_skyLogic->checkProtection()) { // don't let copy prot. screen flash up
@@ -202,7 +203,7 @@ void SkyState::initialise(void) {
_timer = Engine::_timer; // initialize timer *after* _skyScreen has been initialized.
_timer->installProcedure(&timerHandler, 1000000 / 50); //call 50 times per second
- _skyControl = new SkyControl(_skyScreen, _skyDisk, _skyMouse, _skyText, _skyMusic, _skyLogic, _system, getSavePath());
+ _skyControl = new SkyControl(_skyScreen, _skyDisk, _skyMouse, _skyText, _skyMusic, _skyLogic, _skySound, _system, getSavePath());
_skyLogic->useControlInstance(_skyControl);
if (_systemVars.gameVersion == 288)