From 575f93156cb5c70fc4d95942b40e179f294eb094 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 24 Dec 2013 22:14:26 +0200 Subject: FULLPIPE: Implement scene15_updateCursor() --- engines/fullpipe/constants.h | 1 + engines/fullpipe/scenes/scene15.cpp | 9 +++++++++ 2 files changed, 10 insertions(+) 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 -- cgit v1.2.3