diff options
Diffstat (limited to 'engines/fullpipe/scenes/scene34.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene34.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene34.cpp b/engines/fullpipe/scenes/scene34.cpp index 2361e7c21c..0882c0f9e8 100644 --- a/engines/fullpipe/scenes/scene34.cpp +++ b/engines/fullpipe/scenes/scene34.cpp @@ -34,7 +34,6 @@ #include "fullpipe/behavior.h" #include "fullpipe/floaters.h" - namespace Fullpipe { void sceneHandler34_setExits() { @@ -84,4 +83,23 @@ void scene34_initScene(Scene *sc) { g_fp->initArcadeKeys("SC_34"); } +void scene34_initBeh() { + g_fp->_behaviorManager->setBehaviorEnabled(g_vars->scene34_cactus, ST_CTS34_GROWNEMPTY2, QU_CTS34_FALLEFT, 0); + g_fp->_behaviorManager->setBehaviorEnabled(g_vars->scene34_cactus, ST_CTS34_GROWNEMPTY2, QU_CTS34_FALLRIGHT, 0); +} + +int scene34_updateCursor() { +#if 0 + g_fp->updateCursorCommon(); + + if ((g_fp->_objectIdAtCursor != ANI_STOOL_34 || g_fp->getGameLoaderInventory()->getSelectedItemId() != ANI_INV_BOX) + && (g_fp->_objectIdAtCursor != ANI_BOX_34 || g_fp->getGameLoaderInventory()->getSelectedItemId() != ANI_INV_STOOL)) + ; // emtpy + else + g_fp->_cursorId = PIC_CSR_ITN_INV; + +#endif + return g_fp->_cursorId; +} + } // End of namespace Fullpipe |