aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-24 22:14:26 +0200
committerEugene Sandulenko2013-12-24 22:14:26 +0200
commit575f93156cb5c70fc4d95942b40e179f294eb094 (patch)
treea315c7d3ae360b45e76339e26c62757578274d3b
parentf58cdb98b33e9c4464ff5bf5b30b51e4c4716c5b (diff)
downloadscummvm-rg350-575f93156cb5c70fc4d95942b40e179f294eb094.tar.gz
scummvm-rg350-575f93156cb5c70fc4d95942b40e179f294eb094.tar.bz2
scummvm-rg350-575f93156cb5c70fc4d95942b40e179f294eb094.zip
FULLPIPE: Implement scene15_updateCursor()
-rw-r--r--engines/fullpipe/constants.h1
-rw-r--r--engines/fullpipe/scenes/scene15.cpp9
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index aa1eb58875..b7edab6019 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -504,6 +504,7 @@ namespace Fullpipe {
#define ANI_BOOT_15 4779
#define ANI_GRANDMA_ASS 1265
#define PIC_SC15_LADDER 3253
+#define PIC_SC15_LTRUBA 1261
#define QU_SC15_ENTERLIFT 2811
#define QU_SC15_EXITLIFT 2812
#define ST_GMS_BOOT 1270
diff --git a/engines/fullpipe/scenes/scene15.cpp b/engines/fullpipe/scenes/scene15.cpp
index f580831de9..56a496ed00 100644
--- a/engines/fullpipe/scenes/scene15.cpp
+++ b/engines/fullpipe/scenes/scene15.cpp
@@ -95,4 +95,13 @@ void scene15_initScene(Scene *sc) {
g_fp->lift_sub5(sc, QU_SC15_ENTERLIFT, QU_SC15_EXITLIFT);
}
+int scene15_updateCursor() {
+ g_fp->updateCursorCommon();
+
+ if (g_fp->_cursorId == PIC_CSR_ITN && g_fp->_objectIdAtCursor == PIC_SC15_LTRUBA)
+ g_fp->_cursorId = PIC_CSR_GOL;
+
+ return g_fp->_cursorId;
+}
+
} // End of namespace Fullpipe