| 32 | } |
| 33 | |
| 34 | void PreloaderScene::Load() |
| 35 | { |
| 36 | LOG_VERBOSE("PreloaderScene::Load()"); |
| 37 | |
| 38 | gLegacyScene = LegacyScene::playing; |
| 39 | gameStateInitAll(getGameState(), kDefaultMapSize); |
| 40 | ContextResetSubsystems(); |
| 41 | ContextOpenWindow(WindowClass::mainWindow); |
| 42 | WindowSetFlagForAllViewports(VIEWPORT_FLAG_RENDERING_INHIBITED, true); |
| 43 | WindowResizeGui(ContextGetWidth(), ContextGetHeight()); |
| 44 | |
| 45 | LOG_VERBOSE("PreloaderScene::Load() finished"); |
| 46 | } |
| 47 | |
| 48 | void PreloaderScene::Tick() |
| 49 | { |
nothing calls this directly
no test coverage detected