diff options
author | Peter Kohaut | 2017-09-10 20:19:02 +0200 |
---|---|---|
committer | Peter Kohaut | 2017-09-10 20:55:30 +0200 |
commit | f79d8cc1fe852e6172519efc51c75449dfc7c8f1 (patch) | |
tree | 4e02ac28680977b4a1a8868e2f1e58b302bf93a9 /engines/bladerunner/settings.cpp | |
parent | e0aa906804942c04db6b3febed159846b7bcfb51 (diff) | |
download | scummvm-rg350-f79d8cc1fe852e6172519efc51c75449dfc7c8f1.tar.gz scummvm-rg350-f79d8cc1fe852e6172519efc51c75449dfc7c8f1.tar.bz2 scummvm-rg350-f79d8cc1fe852e6172519efc51c75449dfc7c8f1.zip |
BLADERUNNER: Added music support & added Maggie
added async walking
named some of the game flags & variables
renamed aesc to screen effects
Diffstat (limited to 'engines/bladerunner/settings.cpp')
-rw-r--r-- | engines/bladerunner/settings.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/bladerunner/settings.cpp b/engines/bladerunner/settings.cpp index 81def7ea93..7db1192c89 100644 --- a/engines/bladerunner/settings.cpp +++ b/engines/bladerunner/settings.cpp @@ -22,8 +22,10 @@ #include "bladerunner/settings.h" +#include "bladerunner/ambient_sounds.h" #include "bladerunner/bladerunner.h" #include "bladerunner/chapters.h" +#include "bladerunner/music.h" #include "bladerunner/scene.h" #include "common/debug.h" @@ -54,10 +56,9 @@ bool Settings::openNewScene() { assert(_newScene != -1); if (_startingGame) { - // Stop ambient audio and music -// ambient::removeAllNonLoopingSounds(Ambient, 1); -// ambient::removeAllLoopingSounds(Ambient, 1); -// music::stop(Music, 2); + _vm->_ambientSounds->removeAllNonLoopingSounds(true); + _vm->_ambientSounds->removeAllLoopingSounds(1); + _vm->_music->stop(2); } int currentSet = _vm->_scene->getSetId(); |