aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene08.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-22 00:32:20 +0200
committerEugene Sandulenko2013-12-22 00:58:42 +0200
commitc45720566d4c5a770058d417762a180527aaa73f (patch)
treea3f15848c831c615dfe57fb1001f9ee5f10226df /engines/fullpipe/scenes/scene08.cpp
parent68567ec2b166934d485ffe9826f5fd56818a786e (diff)
downloadscummvm-rg350-c45720566d4c5a770058d417762a180527aaa73f.tar.gz
scummvm-rg350-c45720566d4c5a770058d417762a180527aaa73f.tar.bz2
scummvm-rg350-c45720566d4c5a770058d417762a180527aaa73f.zip
FULLPIPE: Implement scene08_updateCursor()
Diffstat (limited to 'engines/fullpipe/scenes/scene08.cpp')
-rw-r--r--engines/fullpipe/scenes/scene08.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene08.cpp b/engines/fullpipe/scenes/scene08.cpp
index b6670b76c7..cb2762bc76 100644
--- a/engines/fullpipe/scenes/scene08.cpp
+++ b/engines/fullpipe/scenes/scene08.cpp
@@ -106,10 +106,26 @@ void scene08_setupMusic() {
}
int scene08_updateCursor() {
- warning("STUB: scene08_updateCursor()");
-
g_fp->updateCursorCommon();
+ if (g_vars->scene08_var06) {
+ if (g_vars->scene08_var03) {
+ if (g_fp->_objectIdAtCursor == PIC_SC8_LADDERD && g_fp->_cursorId == PIC_CSR_ITN)
+ g_fp->_cursorId = PIC_CSR_GOU;
+ } else {
+ g_fp->_cursorId = -1;
+ }
+ } else {
+ if (g_fp->_objectIdAtCursor == PIC_SC8_LADDERD && g_fp->_cursorId == PIC_CSR_ITN) {
+ if (g_fp->_aniMan2->_oy >= 520) {
+ if (g_fp->_aniMan2->_oy <= 750)
+ g_fp->_cursorId = PIC_CSR_GOU;
+ } else {
+ g_fp->_cursorId = PIC_CSR_GOD;
+ }
+ }
+ }
+
return g_fp->_cursorId;
}