aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-19 17:06:38 +0400
committerEugene Sandulenko2014-01-19 17:06:38 +0400
commit273974cca25bdce1727a6fda5bb405838703923c (patch)
tree96b497c4bbafb7cda42a9a5143122848c56630a9 /engines
parent055b390bc727d4fb93ba565dc7d92bfe1bcd70ce (diff)
downloadscummvm-rg350-273974cca25bdce1727a6fda5bb405838703923c.tar.gz
scummvm-rg350-273974cca25bdce1727a6fda5bb405838703923c.tar.bz2
scummvm-rg350-273974cca25bdce1727a6fda5bb405838703923c.zip
FULLPIPE: Implement sceneHandler38_tryTakeBottle() and postHammerKick()
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene38.cpp7
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index e45afe74af..4e40d116cf 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -1311,6 +1311,8 @@ namespace Fullpipe {
#define MSG_SC38_POSTHMRKICK 2256
#define MSG_SC38_PROPOSE 2287
#define MSG_SC38_TRYTAKEBOTTLE 3179
+#define MV_GLV_LOOKMAN 2167
+#define ST_GLV_NOHAMMER 2159
#define ST_MLS_LEFT2 2291
#define QU_MLS_TURNR 2221
#define QU_SC38_SHOWBOTTLE 2199
diff --git a/engines/fullpipe/scenes/scene38.cpp b/engines/fullpipe/scenes/scene38.cpp
index 121770f400..a334b78d3c 100644
--- a/engines/fullpipe/scenes/scene38.cpp
+++ b/engines/fullpipe/scenes/scene38.cpp
@@ -91,11 +91,14 @@ void scene38_initScene(Scene *sc) {
}
void sceneHandler38_tryTakeBottle() {
- warning("STUB: sceneHandler38_tryTakeBottle()");
+ g_vars->scene38_boss->changeStatics2(ST_GLV_NOHAMMER);
+ g_vars->scene38_boss->startAnim(MV_GLV_LOOKMAN, 0, -1);
+
+ g_vars->scene38_var05 = 0;
}
void sceneHandler38_postHammerKick() {
- warning("STUB: sceneHandler38_postHammerKick()");
+ g_vars->scene38_domino1->setOXY(g_vars->scene38_domino1->_ox, g_vars->scene38_domino1->_oy + 2);
}
void sceneHandler38_propose() {