diff options
author | Eugene Sandulenko | 2014-01-16 23:25:01 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-16 23:39:06 +0200 |
commit | 0bb98d68767fd0d1f480ea820eed07b02fd5d04c (patch) | |
tree | ef2b653c2c48ecf6a125b3958810a75724c623fd /engines | |
parent | ad33e9c026e77ab6c5fe330a1b53ccc039fc788a (diff) | |
download | scummvm-rg350-0bb98d68767fd0d1f480ea820eed07b02fd5d04c.tar.gz scummvm-rg350-0bb98d68767fd0d1f480ea820eed07b02fd5d04c.tar.bz2 scummvm-rg350-0bb98d68767fd0d1f480ea820eed07b02fd5d04c.zip |
FULLPIPE: Implement sceneHandler35_stopFlow() and _shrink()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/constants.h | 1 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene35.cpp | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index fc845e30cd..b82813bebb 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -1270,6 +1270,7 @@ namespace Fullpipe { #define QU_SC35_EXITLIFT 2816 #define SND_35_011 4509 #define SND_35_012 4510 +#define SND_35_026 4863 #define ST_HZE_NORM 2426 #define ST_PDV_LARGE 2421 #define ST_PDV_SMALL 2420 diff --git a/engines/fullpipe/scenes/scene35.cpp b/engines/fullpipe/scenes/scene35.cpp index 5677125106..b6453fa84a 100644 --- a/engines/fullpipe/scenes/scene35.cpp +++ b/engines/fullpipe/scenes/scene35.cpp @@ -76,11 +76,13 @@ void scene35_initScene(Scene *sc) { } void sceneHandler35_stopFlow() { - warning("STUB: sceneHandler35_stopFlow()"); + g_fp->setObjectState(sO_Valve_35, g_fp->getObjectEnumState(sO_Valve_35, sO_TurnedOff)); + g_fp->stopAllSoundInstances(SND_35_011); + g_fp->playSound(SND_35_026, 0); } void sceneHandler35_shrink() { - warning("STUB: sceneHandler35_shrink()"); + getCurrSceneSc2MotionController()->enableLinks(sO_CloseThing, 0); } void sceneHandler35_startFlow() { |