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

Function curses_player_selection

win/curses/cursmain.c:298–312  ·  view source on GitHub ↗

Use the general role/race/&c selection originally implemented for tty. */

Source from the content-addressed store, hash-verified

296
297/* Use the general role/race/&c selection originally implemented for tty. */
298void
299curses_player_selection(void)
300{
301#if 1
302 if (genl_player_setup(0))
303 return; /* success */
304
305 /* quit/cancel */
306 curses_bail((const char *) NULL);
307 /*NOTREACHED*/
308#else
309 /* still present cursinit.c but no longer used */
310 curses_choose_character();
311#endif
312}
313
314
315/* Ask the user for a player name. */

Callers

nothing calls this directly

Calls 3

genl_player_setupFunction · 0.85
curses_bailFunction · 0.85
curses_choose_characterFunction · 0.85

Tested by

no test coverage detected