diff options
author | Eugene Sandulenko | 2014-01-02 00:16:36 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-02 00:48:34 +0200 |
commit | 17d0be2fd1a635ca09b7b4bb7713e19b9c2dc099 (patch) | |
tree | 71e8527513ba7d701b63ba89da66692213ebdbb9 /engines/fullpipe/scenes | |
parent | 4b91d62d6459173b0d7046bbb7ad1a7106cd852e (diff) | |
download | scummvm-rg350-17d0be2fd1a635ca09b7b4bb7713e19b9c2dc099.tar.gz scummvm-rg350-17d0be2fd1a635ca09b7b4bb7713e19b9c2dc099.tar.bz2 scummvm-rg350-17d0be2fd1a635ca09b7b4bb7713e19b9c2dc099.zip |
FULLPIPE: Implement sceneHandler17_testTruba() and sceneHandler17_updateFlies()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene17.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene17.cpp b/engines/fullpipe/scenes/scene17.cpp index 2b95c37afb..749d0d848d 100644 --- a/engines/fullpipe/scenes/scene17.cpp +++ b/engines/fullpipe/scenes/scene17.cpp @@ -77,7 +77,12 @@ void sceneHandler17_fillBottle() { } void sceneHandler17_testTruba() { - warning("STUB: sceneHandler17_testTruba()"); + if (g_vars->scene17_hand->isIdle()) { + if (!g_vars->scene17_hand->_movement || g_vars->scene17_hand->_movement->_id != MV_HND17_FIGA) { + g_vars->scene17_hand->changeStatics2(ST_HND17_EMPTY); + g_vars->scene17_hand->startAnim(MV_HND17_FIGA, 0, -1); + } + } } void sceneHandler17_showBottle() { @@ -109,7 +114,11 @@ void sceneHandler17_moonshineFill() { } void sceneHandler17_updateFlies() { - warning("STUB: sceneHandler17_updateFlies()"); + g_fp->_floaters->genFlies(g_fp->_currentScene, 239, -50, 20, 4); + + g_fp->_floaters->_array2[0]->countdown = g_fp->_rnd->getRandomNumber(5) + 6; // FIXME. Check + g_fp->_floaters->_array2[0]->val6 = 239; + g_fp->_floaters->_array2[0]->val7 = -50; } |