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),
| 1236 | updating status for micros (i.e, "saving"). |
| 1237 | */ |
| 1238 | void |
| 1239 | mswin_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 | /* |
| 1249 | raw_print_bold(str) |