aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-06 22:19:27 +0200
committerEugene Sandulenko2014-01-06 22:36:17 +0200
commita5e4dc00782cd7246a8c3b53fcbaf09c2fe8e3d6 (patch)
tree048895a8f6f71b8d03645d328265cf306f051c25 /engines
parent2e84bb24dfb70719c489f6c8e01fcdecfbe7825d (diff)
downloadscummvm-rg350-a5e4dc00782cd7246a8c3b53fcbaf09c2fe8e3d6.tar.gz
scummvm-rg350-a5e4dc00782cd7246a8c3b53fcbaf09c2fe8e3d6.tar.bz2
scummvm-rg350-a5e4dc00782cd7246a8c3b53fcbaf09c2fe8e3d6.zip
FULLPIPE: Add some code to scene28
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/scenes.h4
-rw-r--r--engines/fullpipe/scenes/scene28.cpp16
2 files changed, 12 insertions, 8 deletions
diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h
index e1b05d98b0..ab5e18654f 100644
--- a/engines/fullpipe/scenes.h
+++ b/engines/fullpipe/scenes.h
@@ -132,6 +132,10 @@ void scene26_setupDrop(Scene *sc);
int sceneHandler26(ExCommand *cmd);
int scene26_updateCursor();
+void scene28_initScene(Scene *sc);
+ int sceneHandler28(ExCommand *ex);
+int scene28_updateCursor();
+
int scene30_updateCursor();
void scene30_initScene(Scene *sc, int flag);
int sceneHandler30(ExCommand *cmd);
diff --git a/engines/fullpipe/scenes/scene28.cpp b/engines/fullpipe/scenes/scene28.cpp
index f9e9a03ae3..9fad0f74f5 100644
--- a/engines/fullpipe/scenes/scene28.cpp
+++ b/engines/fullpipe/scenes/scene28.cpp
@@ -36,7 +36,7 @@
namespace Fullpipe {
-void scene28_initScene() {
+void scene28_initScene(Scene *sc) {
g_vars->scene28_var01 = 200;
g_vars->scene28_var02 = 200;
g_vars->scene28_var03 = 300;
@@ -67,7 +67,7 @@ void sceneHandler28_lift1ShowAfter() {
warning("STUB: sceneHandler28_lift1ShowAfter()");
}
-void sceneHandler28_makeFaces(ExCommand *cmd, int entranceId) {
+void sceneHandler28_makeFaces(ExCommand *cmd) {
warning("STUB: sceneHandler28_makeFaces()");
}
@@ -88,7 +88,7 @@ void sceneHandler28_clickLift(int keyCode) {
}
void sceneHandler28_lift0Start() {
- warning("STUB: sceneHandler28_lift0Start()");
+ chainQueue(QU_SC28_LIFT0_START, 1);
}
void sceneHandler28_lift1Start() {
@@ -96,11 +96,11 @@ void sceneHandler28_lift1Start() {
}
void sceneHandler28_lift2Start() {
- warning("STUB: sceneHandler28_lift2Start()");
+ chainQueue(QU_SC28_LIFT2_START, 1);
}
void sceneHandler28_lift3Start() {
- warning("STUB: sceneHandler28_lift3Start()");
+ chainQueue(QU_SC28_LIFT3_START, 1);
}
void sceneHandler28_lift4Start() {
@@ -108,7 +108,7 @@ void sceneHandler28_lift4Start() {
}
void sceneHandler28_lift5Start() {
- warning("STUB: sceneHandler28_lift5Start()");
+ chainQueue(QU_SC28_LIFT5_START, 1);
}
void sceneHandler28_lift6Start() {
@@ -116,7 +116,7 @@ void sceneHandler28_lift6Start() {
}
-int sceneHandler28(ExCommand *cmd, int entranceId) {
+int sceneHandler28(ExCommand *cmd) {
if (cmd->_messageKind != 17)
return 0;
@@ -134,7 +134,7 @@ int sceneHandler28(ExCommand *cmd, int entranceId) {
break;
case MSG_SC28_MAKEFACES:
- sceneHandler28_makeFaces(cmd, entranceId);
+ sceneHandler28_makeFaces(cmd);
break;
case MSG_SC28_TRYVTORPERS: