MCPcopy Create free account
hub / github.com/NetHack/NetHack / dooverview

Function dooverview

src/dungeon.c:3293–3301  ·  view source on GitHub ↗

#overview command */

Source from the content-addressed store, hash-verified

3291
3292/* #overview command */
3293int
3294dooverview(void)
3295{
3296 /* game in progress; 'why' is 0 for normal #overview, -1 if user prefixed
3297 #overview with 'm'; 'reason' for end of game isn't applicable: use 0 */
3298 show_overview(iflags.menu_requested ? -1 : 0, 0);
3299 iflags.menu_requested = FALSE;
3300 return ECMD_OK;
3301}
3302
3303/* called for #overview or for end of game disclosure */
3304void

Callers 1

donamelevelFunction · 0.85

Calls 1

show_overviewFunction · 0.85

Tested by

no test coverage detected