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

Method NewLevel

Source/Main/engine.cpp:4201–4204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4199extern int num_detail_object_draw_calls;
4200
4201void Engine::NewLevel() {
4202 Path p = FindFilePath(new_empty_level_path, kAnyPath);
4203 Engine::Instance()->QueueState(EngineState("", kEngineEditorLevelState, p));
4204}
4205
4206bool Engine::GetSplitScreen() const {
4207 return forced_split_screen_mode == kForcedModeSplit || (forced_split_screen_mode == kForcedModeNone && Graphics::Instance()->config_.split_screen());

Callers 1

AS_LoadEditorLevelFunction · 0.80

Calls 3

FindFilePathFunction · 0.85
EngineStateClass · 0.85
QueueStateMethod · 0.80

Tested by

no test coverage detected