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

Function mswin_main_loop

outdated/sys/wince/mswproc.c:1682–1693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1680}
1681
1682void
1683mswin_main_loop()
1684{
1685 MSG msg;
1686
1687 while (!mswin_have_input() && GetMessage(&msg, NULL, 0, 0) != 0) {
1688 if (!TranslateAccelerator(msg.hwnd, GetNHApp()->hAccelTable, &msg)) {
1689 TranslateMessage(&msg);
1690 DispatchMessage(&msg);
1691 }
1692 }
1693}
1694
1695/* clean up and quit */
1696void

Callers 2

mswin_nhgetchFunction · 0.70
mswin_nh_poskeyFunction · 0.70

Calls 2

mswin_have_inputFunction · 0.70
GetNHAppFunction · 0.70

Tested by

no test coverage detected