diff options
author | Joost Peters | 2003-03-08 12:46:51 +0000 |
---|---|---|
committer | Joost Peters | 2003-03-08 12:46:51 +0000 |
commit | 488ff8846ecd8de766f95e8036136f2cbb51b26d (patch) | |
tree | 9f26cf87f27ae0982c12a17f90de76952c9d3b4f /sky/sky.cpp | |
parent | 361e312a6c8f0520b20ae8089f444373bee49890 (diff) | |
download | scummvm-rg350-488ff8846ecd8de766f95e8036136f2cbb51b26d.tar.gz scummvm-rg350-488ff8846ecd8de766f95e8036136f2cbb51b26d.tar.bz2 scummvm-rg350-488ff8846ecd8de766f95e8036136f2cbb51b26d.zip |
Added voice support, and more (cd_)intro stuff + added myself to the README :)
svn-id: r6768
Diffstat (limited to 'sky/sky.cpp')
-rw-r--r-- | sky/sky.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index aa94406e06..af60c7f494 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -53,6 +53,11 @@ SkyState::SkyState(GameDetector *detector, OSystem *syst) _game = detector->_gameId; + if (!_mixer->bindToSystem(syst)) + warning("Sound initialisation failed."); + + _mixer->setVolume(detector->_sfx_volume); //unnecessary? + _debugMode = detector->_debugMode; _debugLevel = detector->_debugLevel; _language = detector->_language; @@ -78,7 +83,8 @@ void SkyState::go() { _dump_file = stdout; initialise(); - + intro(); + while (1) { delay(100); } @@ -89,6 +95,9 @@ void SkyState::initialise(void) { //initialise_memory(); //init_timer(); //init_music(); + + _sound = new SkySound(_mixer); + initialiseDisk(); initialiseScreen(); initVirgin(); |