MCPcopy Create free account
hub / github.com/crawl/crawl / new_level

Function new_level

crawl-ref/source/stairs.cc:1412–1426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1410}
1411
1412void new_level(bool restore)
1413{
1414 print_stats_level();
1415 update_whereis();
1416
1417 _update_level_state();
1418
1419 if (restore)
1420 return;
1421
1422 cancel_polar_vortex();
1423
1424 if (player_in_branch(BRANCH_ZIGGURAT))
1425 you.zig_max = max(you.zig_max, you.depth);
1426}

Callers 6

floor_transitionFunction · 0.85
_wizard_go_to_levelFunction · 0.85
wizard_recreate_levelFunction · 0.85
ST_ItemIteratorMethod · 0.85
stash.ccFile · 0.85
_post_initFunction · 0.85

Calls 5

print_stats_levelFunction · 0.85
update_whereisFunction · 0.85
_update_level_stateFunction · 0.85
cancel_polar_vortexFunction · 0.85
player_in_branchFunction · 0.85

Tested by

no test coverage detected