diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/constants.h | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene16.cpp | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 1b7d8ea60d..cc82ee22d0 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -649,8 +649,10 @@ namespace Fullpipe { #define ANI_MUG 1296 #define ANI_WIRE16 1344 #define MV_GRL_LAUGH_POPA 3278 +#define PIC_SC16_TUMBA 1368 #define SND_16_034 3854 #define ST_MUG_EMPTY 1298 +#define ST_MUG_FULL 1360 // Scene 24 #define ANI_DROP_24 3505 diff --git a/engines/fullpipe/scenes/scene16.cpp b/engines/fullpipe/scenes/scene16.cpp index 9b952ec29c..b2053851d3 100644 --- a/engines/fullpipe/scenes/scene16.cpp +++ b/engines/fullpipe/scenes/scene16.cpp @@ -110,4 +110,18 @@ void scene16_initScene(Scene *sc) { } } +int scene16_updateCursor() { + g_fp->updateCursorCommon(); + + if (g_fp->_objectIdAtCursor == PIC_SC16_TUMBA) { + if (g_fp->_cursorId == PIC_CSR_DEFAULT) + g_fp->_cursorId = PIC_CSR_ITN; + } else { + if (g_fp->_objectIdAtCursor == ANI_MUG && g_fp->_cursorId == PIC_CSR_ITN && g_vars->scene16_mug->_statics->_staticsId == ST_MUG_FULL) + g_fp->_cursorId = PIC_CSR_ITN_GREEN; + } + + return g_fp->_cursorId; +} + } // End of namespace Fullpipe |