GameScene: Difference between revisions
no edit summary
imported>Leoetlino No edit summary |
imported>Leoetlino No edit summary |
||
Line 1: | Line 1: | ||
{{Subsystem infobox|name=GameScene|is_name_official=1|description=Handles the main loop and stages|init_addr_switch150=0x71007D1DD8}} | |||
'''GameScene''' is a critical subsystem that is responsible for core functionality such as initialising other components, creating [[Stage|stages]] (world, title screen, etc.) and handling the game's main loop. | '''GameScene''' is a critical subsystem that is responsible for core functionality such as initialising other components, creating [[Stage|stages]] (world, title screen, etc.) and handling the game's main loop. | ||
Line 65: | Line 65: | ||
*** E3Mgr: init | *** E3Mgr: init | ||
== Initial state == | === Initial state === | ||
The initial state the game launches into is determined by GameScene<ref>GameScene::initialize, 0x71007A86CC</ref>. | The initial state the game launches into is determined by GameScene<ref>GameScene::initialize, 0x71007A86CC</ref>. | ||
Line 85: | Line 85: | ||
</source> | </source> | ||
== Main loop == | |||
Three GameScene functions are called in a row from RootTask (see [[Executable]]) after initialisation has completed, i.e. in the game's main loop. (Note: these 3 names are unofficial.) | |||
=== precalc === | |||
{{empty section}} | |||
=== calc === | |||
{{empty section}} | |||
=== postcalc === | |||
{{empty section}} | |||
<hr> | |||
<references/> | <references/> | ||
[[Category:Internals]] | [[Category:Internals]] | ||
[[Category:Subsystems (BotW)]] | [[Category:Subsystems (BotW)]] |