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

Function genl_player_selection

src/role.c:2176–2185  ·  view source on GitHub ↗

potential interface routine */

Source from the content-addressed store, hash-verified

2174
2175/* potential interface routine */
2176void
2177genl_player_selection(void)
2178{
2179 if (genl_player_setup(0))
2180 return;
2181
2182 /* player cancelled role/race/&c selection, so quit */
2183 nh_terminate(EXIT_SUCCESS);
2184 /*NOTREACHED*/
2185}
2186
2187#if defined(TTY_GRAPHICS) || defined(CURSES_GRAPHICS) || defined(SHIM_GRAPHICS)
2188/* ['#else' far below] */

Callers

nothing calls this directly

Calls 2

genl_player_setupFunction · 0.85
nh_terminateFunction · 0.70

Tested by

no test coverage detected