mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-02 23:49:40 +00:00
FULLPIPE: Plug scene12 in
This commit is contained in:
parent
ee8d6c4723
commit
d509744df5
@ -438,6 +438,7 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
|
||||
scene11_setupMusic();
|
||||
_updateCursorCallback = scene11_updateCursor;
|
||||
break;
|
||||
#endif
|
||||
|
||||
case SC_12:
|
||||
sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_12");
|
||||
@ -450,6 +451,7 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
|
||||
_updateCursorCallback = defaultUpdateCursor;
|
||||
break;
|
||||
|
||||
#if 0
|
||||
case SC_13:
|
||||
sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_13");
|
||||
scene->preloadMovements(sceneVar);
|
||||
|
@ -72,6 +72,9 @@ void scene10_initScene(Scene *sc);
|
||||
int sceneHandler10(ExCommand *cmd);
|
||||
int scene10_updateCursor();
|
||||
|
||||
void scene12_initScene(Scene *sc);
|
||||
int sceneHandler12(ExCommand *ex);
|
||||
|
||||
int scene15_updateCursor();
|
||||
void scene15_initScene(Scene *sc);
|
||||
int sceneHandler15(ExCommand *cmd);
|
||||
|
@ -35,16 +35,16 @@
|
||||
|
||||
namespace Fullpipe {
|
||||
|
||||
void scene12_initScene() {
|
||||
void scene12_initScene(Scene *sc) {
|
||||
GameVar *var = g_fp->getGameLoaderGameVar()->getSubVarByName("SC_12");
|
||||
g_fp->_floaters->init(var);
|
||||
|
||||
g_vars->scene12_fly = g_fp->getObjectState("Муха_12");
|
||||
g_vars->scene12_fly = g_fp->getObjectState(sO_Fly_12);
|
||||
|
||||
if (g_vars->scene12_fly)
|
||||
g_vars->scene12_flyCountdown = 600 * g_fp->_rnd->getRandomNumber(32767) / 0x7fff + 600;
|
||||
|
||||
g_fp->setObjectState("Муха_12", g_fp->_rnd->getRandomNumber(1));
|
||||
g_fp->setObjectState(sO_Fly_12, g_fp->_rnd->getRandomNumber(1));
|
||||
}
|
||||
|
||||
void sceneHandler12_updateFloaters() {
|
||||
|
Loading…
Reference in New Issue
Block a user