diff options
author | Gregory Montoir | 2007-05-19 12:08:41 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-05-19 12:08:41 +0000 |
commit | bde5404a4eb773fccf4a2d43b56342773c698606 (patch) | |
tree | 6a71ab3227edf56a2b4f6dad5c47633573975071 /engines/cine/main_loop.cpp | |
parent | 620c8a5647d1c51a4ca1803acf5924e3099e1d56 (diff) | |
download | scummvm-rg350-bde5404a4eb773fccf4a2d43b56342773c698606.tar.gz scummvm-rg350-bde5404a4eb773fccf4a2d43b56342773c698606.tar.bz2 scummvm-rg350-bde5404a4eb773fccf4a2d43b56342773c698606.zip |
added basic support for Amiga music playback
svn-id: r26870
Diffstat (limited to 'engines/cine/main_loop.cpp')
-rw-r--r-- | engines/cine/main_loop.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/cine/main_loop.cpp b/engines/cine/main_loop.cpp index 33f25a43e4..face2628dd 100644 --- a/engines/cine/main_loop.cpp +++ b/engines/cine/main_loop.cpp @@ -29,10 +29,9 @@ #include "cine/main_loop.h" #include "cine/object.h" -#include "cine/sfx_player.h" #include "cine/various.h" #include "cine/bg_list.h" -#include "cine/sound_driver.h" +#include "cine/sound.h" namespace Cine { @@ -157,7 +156,7 @@ void manageEvents(int count) { if (i % 2) g_system->updateScreen(); g_system->delayMillis(10); - g_soundDriver->update(); + g_sound->update(); manageEvents(0); } } @@ -246,7 +245,7 @@ void CineEngine::mainLoop(int bootScriptIdx) { strcpy(currentCtName, ""); strcpy(currentPartName, ""); - g_sfxPlayer->stop(); + g_sound->stopMusic(); } do { @@ -335,7 +334,7 @@ void CineEngine::mainLoop(int bootScriptIdx) { } while (!exitEngine && !quitFlag && var21 != 7); hideMouse(); - g_sfxPlayer->stop(); + g_sound->stopMusic(); freeAnimDataTable(); unloadAllMasks(); freePrcLinkedList(); |