aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-07 11:36:50 +0200
committerEugene Sandulenko2014-01-07 11:36:50 +0200
commit5ac706faffa5f25a8b6af1c24179b2a25492bb83 (patch)
treeaee5577ee7052ed1f536749940937da37c0abe69 /engines
parent0c7f795c5bfac931436d1089aa97a15906b3f1a7 (diff)
downloadscummvm-rg350-5ac706faffa5f25a8b6af1c24179b2a25492bb83.tar.gz
scummvm-rg350-5ac706faffa5f25a8b6af1c24179b2a25492bb83.tar.bz2
scummvm-rg350-5ac706faffa5f25a8b6af1c24179b2a25492bb83.zip
FULLPIPE: Implement sceneHandler28_turnOn2()
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/scenes/scene28.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene28.cpp b/engines/fullpipe/scenes/scene28.cpp
index 9165953d06..176b75e399 100644
--- a/engines/fullpipe/scenes/scene28.cpp
+++ b/engines/fullpipe/scenes/scene28.cpp
@@ -105,7 +105,19 @@ void sceneHandler28_trySecondaryPers() {
}
void sceneHandler28_turnOn2() {
- warning("STUB: sceneHandler28_turnOn2()");
+ if (g_vars->scene28_var05) {
+ g_fp->_floaters->genFlies(g_fp->_currentScene, 1013, 329, 60, 4);
+
+ g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->val15 = 30;
+ g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->countdown = g_fp->_rnd->getRandomNumber(12) + 12;
+
+ g_fp->_floaters->genFlies(g_fp->_currentScene, 1074, 311, 60, 4);
+
+ g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->val15 = 30;
+ g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->countdown = g_fp->_rnd->getRandomNumber(12) + 12;
+ }
+
+ g_vars->scene28_var05 = 0;
}
void sceneHandler28_startWork1() {