MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / QueueLevelToLoad

Method QueueLevelToLoad

Source/Main/engine.cpp:5852–5861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5850}
5851
5852void Engine::QueueLevelToLoad(const Path& level) {
5853 if (Online::Instance()->IsHosting()) {
5854 Online::Instance()->PerformLevelChangeCleanUp();
5855 Online::Instance()->ChangeLevel(level.GetOriginalPathStr());
5856 }
5857
5858 queued_level_ = level;
5859 UIShowCursor(1);
5860 cursor.SetVisible(false);
5861}
5862
5863void Engine::QueueLevelCacheGeneration(const Path& path) {
5864 cache_generation_paths.push_back(path);

Callers

nothing calls this directly

Calls 6

UIShowCursorFunction · 0.85
IsHostingMethod · 0.80
ChangeLevelMethod · 0.80
GetOriginalPathStrMethod · 0.80
SetVisibleMethod · 0.45

Tested by

no test coverage detected