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

Function mswin_askname

win/win32/mswproc.c:696–705  ·  view source on GitHub ↗

Ask the user for a player name. */

Source from the content-addressed store, hash-verified

694
695/* Ask the user for a player name. */
696void
697mswin_askname(void)
698{
699 logDebug("mswin_askname()\n");
700
701 if (mswin_getlin_window("Who are you?", svp.plname, PL_NSIZ) == IDCANCEL) {
702 bail("bye-bye");
703 /* not reached */
704 }
705}
706
707/* Does window event processing (e.g. exposure events).
708 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