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

Function mswin_raw_print

outdated/sys/wince/mswproc.c:1238–1246  ·  view source on GitHub ↗

raw_print(str) -- Print directly to a screen, or otherwise guarantee that the user sees str. raw_print() appends a newline to str. It need not recognize ASCII control characters. This is used during startup (before windowing system initialization -- maybe this means only error startup messages are raw),

Source from the content-addressed store, hash-verified

1236 updating status for micros (i.e, "saving").
1237*/
1238void
1239mswin_raw_print(const char *str)
1240{
1241 TCHAR wbuf[255];
1242 logDebug("mswin_raw_print(%s)\n", str);
1243 if (str && *str)
1244 MessageBox(GetNHApp()->hMainWnd, NH_A2W(str, wbuf, sizeof(wbuf)),
1245 TEXT("NetHack"), MB_OK);
1246}
1247
1248/*
1249raw_print_bold(str)

Callers

nothing calls this directly

Calls 2

logDebugFunction · 0.70
GetNHAppFunction · 0.70

Tested by

no test coverage detected