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

Function mswin_askname

outdated/sys/wince/mswproc.c:643–652  ·  view source on GitHub ↗

Ask the user for a player name. */

Source from the content-addressed store, hash-verified

641
642/* Ask the user for a player name. */
643void
644mswin_askname(void)
645{
646 logDebug("mswin_askname()\n");
647
648 if (mswin_getlin_window("who are you?", svp.plname, PL_NSIZ) == IDCANCEL) {
649 bail("bye-bye");
650 /* not reached */
651 }
652}
653
654/* Does window event processing (e.g. exposure events).
655 A noop for the tty and X window-ports.

Callers

nothing calls this directly

Calls 3

logDebugFunction · 0.70
mswin_getlin_windowFunction · 0.70
bailFunction · 0.70

Tested by

no test coverage detected