FULLPIPE: Implement scene33_updateCursor() and setupMusic()

This commit is contained in:
Eugene Sandulenko 2014-01-09 22:24:37 +02:00
parent cb1150c32d
commit c02beb4aa5
2 changed files with 15 additions and 0 deletions

View File

@ -1110,6 +1110,7 @@ namespace Fullpipe {
#define ANI_MUG_33 2623
#define ANI_VENT_33 2637
#define MSG_SC33_TRYKUBIK 4980
#define PIC_SC33_ZONES 5298
#define QU_KBK33_START 4983
// Scene 36

View File

@ -65,4 +65,18 @@ void scene33_initScene(Scene *sc) {
g_fp->initArcadeKeys("SC_33");
}
void scene33_setupMusic() {
if (g_fp->lift_checkButton(sO_Level6))
g_fp->playTrack(g_fp->getGameLoaderGameVar()->getSubVarByName("SC_33"), "MUSIC2", 1);
}
int scene33_updateCursor() {
g_fp->updateCursorCommon();
if (g_fp->_objectIdAtCursor == PIC_SC33_ZONES && g_fp->_cursorId == PIC_CSR_DEFAULT)
g_fp->_cursorId = PIC_CSR_ITN;
return g_fp->_cursorId;
}
} // End of namespace Fullpipe