GameScene: Difference between revisions
m
→precalc
imported>Leoetlino |
imported>Leoetlino m (→precalc) |
||
Line 225: | Line 225: | ||
=== precalc === | === precalc === | ||
* FadeProgress: Update the progress gauge on the Fade screen (animated). | *FadeProgress: Update the progress gauge on the Fade screen (animated). | ||
* Update current map name based on player position (when Link is not in a dungeon). | *Update current map name based on player position (when Link is not in a dungeon). | ||
* Run StageMgr and StageSelect code. | *Run StageMgr and StageSelect code. | ||
* ??? (runs only if this->field_8CB is non zero) | *??? (runs only if this->field_8CB is non zero) | ||
* If stage status is "NeedsGeneration": | *If stage status is "NeedsGeneration": | ||
**Call some [[MCMgr]] function at 0x71007A9198. | **Call some [[MCMgr]] function at 0x71007A9198. | ||
**Run save upload subsystem if needed. | **Run save upload subsystem if needed. | ||
**Call GameScene::genStage with second argument being <code>!EventMgr::sInstance->hasActiveEvent() || EventMgr::sInstance->getActiveEvent()->name != "Demo169_0"</code>. | **Call GameScene::genStage with second argument being <code>!EventMgr::sInstance->hasActiveEvent() || EventMgr::sInstance->getActiveEvent()->name != "Demo169_0"</code>. | ||
* If stage status is "NeedsUnload": | *If stage status is "NeedsUnload": | ||
**Call some [[MCMgr]] function at 0x71007A9198. | **Call some [[MCMgr]] function at 0x71007A9198. | ||
**Run save upload subsystem if needed. | **Run save upload subsystem if needed. | ||
**Call GameScene::unloadStage. | **Call GameScene::unloadStage. | ||
* ??? (something involving the previous stage binder{{check}}) | *??? (something involving the previous stage binder{{check}}) | ||
* ??? (something involving GameScene Subsystem #12) | *??? (something involving GameScene Subsystem #12) | ||
*Call some [[MCMgr]] function at 0x71007A9198, again. | *Call some [[MCMgr]] function at 0x71007A9198, again. | ||
*??? (runs if the GameScene state is StageMgr) | *??? (runs if the GameScene state is StageMgr) |