aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-16 22:27:41 +0200
committerEugene Sandulenko2013-12-16 22:28:12 +0200
commit2c8476377149fa716b892d0e49b16656abe9769c (patch)
treeba81d413d63ec82305eb5654061bd9b435842c67 /engines/fullpipe
parent9ecdb4c1fce7efb6a7cfa673b33d6be12f8b5752 (diff)
downloadscummvm-rg350-2c8476377149fa716b892d0e49b16656abe9769c.tar.gz
scummvm-rg350-2c8476377149fa716b892d0e49b16656abe9769c.tar.bz2
scummvm-rg350-2c8476377149fa716b892d0e49b16656abe9769c.zip
FULLPIPE: Implement scene06_updateCursor()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/scenes/scene06.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp
index bd1b20572a..76f61ff894 100644
--- a/engines/fullpipe/scenes/scene06.cpp
+++ b/engines/fullpipe/scenes/scene06.cpp
@@ -45,9 +45,27 @@ void scene06_initMumsy() {
}
int scene06_updateCursor() {
- warning("STUB: scene06_updateCursor()");
+ g_fullpipe->updateCursorCommon();
- return 0;
+ if (g_vars->scene06_var07) {
+ if (g_vars->scene06_var08) {
+ g_fullpipe->_cursorId = PIC_CSR_ARCADE2_D;
+
+ return PIC_CSR_ARCADE2_D;
+ }
+ if (g_fullpipe->_aniMan == (StaticANIObject *)g_fullpipe->_objectAtCursor) {
+ if (g_fullpipe->_aniMan->_statics->_staticsId == ST_MAN6_BALL && g_fullpipe->_cursorId == PIC_CSR_DEFAULT) {
+ g_fullpipe->_cursorId = PIC_CSR_ITN;
+
+ return PIC_CSR_ITN;
+ }
+ } else if (g_fullpipe->_objectAtCursor && (StaticANIObject *)g_fullpipe->_objectAtCursor == g_vars->scene06_var09
+ && g_fullpipe->_cursorId == PIC_CSR_DEFAULT) {
+ g_fullpipe->_cursorId = PIC_CSR_ITN;
+ }
+ }
+
+ return g_fullpipe->_cursorId;
}
void sceneHandler06_setExits(Scene *sc) {