MCPcopy Create free account
hub / github.com/chrxh/alien / processFirstTick

Method processFirstTick

source/Gui/MainLoopController.cpp:127–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void 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
141void MainLoopController::processLoadingScreen()
142{

Callers

nothing calls this directly

Calls 2

processMethod · 0.45

Tested by

no test coverage detected