diff options
author | Eugene Sandulenko | 2013-12-07 00:01:59 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-07 00:01:59 +0200 |
commit | 583090a6238ca08996bfdfc10e26d616ab441f11 (patch) | |
tree | d0a6b3618039aa3262c04857275397f3042694b8 /engines/fullpipe/scenes | |
parent | 172128931bbcfae86b61be0b13050654ae63f0a3 (diff) | |
download | scummvm-rg350-583090a6238ca08996bfdfc10e26d616ab441f11.tar.gz scummvm-rg350-583090a6238ca08996bfdfc10e26d616ab441f11.tar.bz2 scummvm-rg350-583090a6238ca08996bfdfc10e26d616ab441f11.zip |
FULLPIPE: Implement sceneHandler04_goClock()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene04.cpp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp index 689260a41b..dab40ec55a 100644 --- a/engines/fullpipe/scenes/scene04.cpp +++ b/engines/fullpipe/scenes/scene04.cpp @@ -434,8 +434,21 @@ void sceneHandler04_liftBottle() { } } -void sceneHandler04_sub7() { - warning("sceneHandler04_sub7()"); +void sceneHandler04_startSounds(const char *snd1, const char *snd2, const char *snd3) { + warning("STUB: sceneHandler04_startSounds()"); +} + +void sceneHandler04_goClock() { + sceneHandler04_walkKozyawka(); + chainQueue(QU_SC4_GOCLOCK, 0); + g_vars->scene04_soundPlaying = 1; + g_vars->scene04_coinPut = 0; + + g_fullpipe->stopAllSoundStreams(); + + sceneHandler04_startSounds("sc4_start.ogg", "sc4_loop.ogg", "sc4_stop2.ogg"); + + g_vars->scene04_var14 = 0; } void sceneHandler04_sub8(ExCommand *ex) { @@ -701,7 +714,7 @@ int sceneHandler04(ExCommand *ex) { sceneHandler04_sub1(0); if (g_vars->scene04_coinPut && g_vars->scene04_var18 && !g_vars->scene04_var09 && !g_vars->scene04_soundPlaying) - sceneHandler04_sub7(); + sceneHandler04_goClock(); if (g_vars->scene04_var01) { if (!g_vars->scene04_soundPlaying) { |