diff options
author | Eugene Sandulenko | 2014-01-07 13:15:42 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-07 13:15:42 +0200 |
commit | 6e828566ef017c9c66fb16390bc96422c01ab021 (patch) | |
tree | 60fca6370a50f5df186451c5e75a758cec4cad7f /engines/fullpipe/scenes | |
parent | 2cb81f50e500d37bf39c023eebc68e400114407c (diff) | |
download | scummvm-rg350-6e828566ef017c9c66fb16390bc96422c01ab021.tar.gz scummvm-rg350-6e828566ef017c9c66fb16390bc96422c01ab021.tar.bz2 scummvm-rg350-6e828566ef017c9c66fb16390bc96422c01ab021.zip |
FULLPIPE: Implement scene32_updateCursor() and setupMusic()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene32.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene32.cpp b/engines/fullpipe/scenes/scene32.cpp index 90e5e77885..6b6560f3ce 100644 --- a/engines/fullpipe/scenes/scene32.cpp +++ b/engines/fullpipe/scenes/scene32.cpp @@ -97,4 +97,18 @@ void scene32_initScene(Scene *sc) { g_fp->initArcadeKeys("SC_32"); } +void scene32_setupMusic() { + if (g_fp->lift_checkButton(sO_Level6)) + g_fp->playTrack(g_fp->getGameLoaderGameVar()->getSubVarByName("SC_32"), "MUSIC2", 1); +} + +int scene32_updateCursor() { + g_fp->updateCursorCommon(); + + if (g_fp->_objectIdAtCursor == PIC_SC32_LADDER && g_fp->_cursorId == PIC_CSR_ITN) + g_fp->_cursorId = g_vars->scene32_var09 ? PIC_CSR_GOD : PIC_CSR_GOU; // TODO FIXME doublecheck + + return g_fp->_cursorId; +} + } // End of namespace Fullpipe |