FULLPIPE: More code to sceneFinal

This commit is contained in:
Eugene Sandulenko 2014-01-23 11:46:18 -08:00
parent 7ce04e0383
commit c776ec6afa
2 changed files with 15 additions and 4 deletions

View File

@ -1357,6 +1357,9 @@ namespace Fullpipe {
#define MSG_FIN_GOTO4 5075
#define MSG_FIN_STARTFINAL 5025
#define MSG_FN4_STARTMUSIC 5356
#define QU_FN2_DOFINAL 5066
#define QU_FN3_DOFINAL 5072
#define QU_FN4_DOFINAL 5108
// Debug scene
#define MSG_RESTARTGAME 4767

View File

@ -65,7 +65,7 @@ int sceneFinal_updateCursor() {
}
void sceneHandlerFinal_endFinal() {
warning("STUB: sceneHandlerFinal_endFinal()");
g_vars->sceneFinal_var01 = 0;
}
void sceneHandlerFinal_startMusic(const char *track) {
@ -73,15 +73,23 @@ void sceneHandlerFinal_startMusic(const char *track) {
}
void sceneHandlerFinal_goto4() {
warning("STUB: sceneHandlerFinal_goto4()");
g_fp->_currentScene = g_fp->accessScene(SC_FINAL4);
g_fp->_gameLoader->loadScene(SC_FINAL4);
chainQueue(QU_FN4_DOFINAL, 1);
}
void sceneHandlerFinal_goto3() {
warning("STUB: sceneHandlerFinal_goto3()");
g_fp->_currentScene = g_fp->accessScene(SC_FINAL3);
chainQueue(QU_FN3_DOFINAL, 1);
}
void sceneHandlerFinal_goto2() {
warning("STUB: sceneHandlerFinal_goto2()");
g_fp->_currentScene = g_fp->accessScene(SC_FINAL2);
chainQueue(QU_FN2_DOFINAL, 1);
}
void sceneHandlerFinal_startFinal() {