| 125 | } |
| 126 | |
| 127 | void MainLoopController::processFirstTick() |
| 128 | { |
| 129 | drawLoadingScreen(); |
| 130 | |
| 131 | auto senderInfo = SenderInfo{.senderId = SenderId{StartupSenderId}, .wishResultData = true, .wishErrorInfo = true}; |
| 132 | auto readData = ReadSimulationRequestData{Const::AutosaveFile}; |
| 133 | _loadSimRequestId = _persisterFacade->scheduleReadSimulation(senderInfo, readData); |
| 134 | _programState = ProgramState::LoadingScreen; |
| 135 | |
| 136 | OverlayController::get().process(); |
| 137 | |
| 138 | std::this_thread::sleep_for(std::chrono::milliseconds(10)); |
| 139 | } |
| 140 | |
| 141 | void MainLoopController::processLoadingScreen() |
| 142 | { |
nothing calls this directly
no test coverage detected