diff options
author | Eugene Sandulenko | 2014-03-04 23:02:01 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-03-04 23:19:48 +0200 |
commit | bb290873320bcd87e1e0c915be03518a9ab0d355 (patch) | |
tree | 1fb579d01cc38582d612a394559c9abdd554cff3 | |
parent | ed392518f54251d7555e20874b995c112f94004c (diff) | |
download | scummvm-rg350-bb290873320bcd87e1e0c915be03518a9ab0d355.tar.gz scummvm-rg350-bb290873320bcd87e1e0c915be03518a9ab0d355.tar.bz2 scummvm-rg350-bb290873320bcd87e1e0c915be03518a9ab0d355.zip |
FULLPIPE: Implement scene19_updateCursor()
-rw-r--r-- | engines/fullpipe/constants.h | 1 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene18and19.cpp | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 83fafeed6e..6f98e1a8d3 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -891,6 +891,7 @@ namespace Fullpipe { #define ANI_WHIRLGIG_19 1302 #define MV_WHR19_SPIN 1317 #define PIC_SC19_RTRUBA3 1515 +#define PIC_SC19_RTRUBA31 5320 #define SND_19_015 3928 #define SND_19_016 4995 #define ST_CDI_EMPTY2 1543 diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp index 5e69ec70f3..759af9127b 100644 --- a/engines/fullpipe/scenes/scene18and19.cpp +++ b/engines/fullpipe/scenes/scene18and19.cpp @@ -325,4 +325,13 @@ int scene18_updateCursor() { return g_fp->_cursorId; } +int scene19_updateCursor() { + g_fp->updateCursorCommon(); + + if (g_fp->_objectIdAtCursor == PIC_SC19_RTRUBA31) + g_fp->_cursorId = g_vars->scene19_var05 != 0 ? PIC_CSR_GOR : PIC_CSR_DEFAULT; + + return g_fp->_cursorId; +} + } // End of namespace Fullpipe |