MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / updateSplash

Method updateSplash

source/client/StarClientApplication.cpp:844–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842}
843
844void ClientApplication::updateSplash(float dt) {
845 m_cinematicOverlay->update(dt);
846 if (!m_rootLoader.isRunning() && (m_cinematicOverlay->completable() || m_cinematicOverlay->completed()))
847 changeState(MainAppState::Title);
848}
849
850void ClientApplication::updateError(float) {
851 if (m_errorScreen->accepted())

Callers

nothing calls this directly

Calls 4

completableMethod · 0.80
completedMethod · 0.80
updateMethod · 0.45
isRunningMethod · 0.45

Tested by

no test coverage detected