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

Function mswin_outrip

outdated/sys/wince/mswproc.c:1544–1555  ·  view source on GitHub ↗

outrip(winid, int, when) -- The tombstone code. If you want the traditional code use genl_outrip for the value and check the #if in rip.c. */

Source from the content-addressed store, hash-verified

1542 genl_outrip for the value and check the #if in rip.c.
1543*/
1544void
1545mswin_outrip(winid wid, int how, time_t when)
1546{
1547 logDebug("mswin_outrip(%d, %d, %ld)\n", wid, how, (long) when);
1548 if ((wid >= 0) && (wid < MAXWINDOWS)) {
1549 DestroyWindow(GetNHApp()->windowlist[wid].win);
1550 GetNHApp()->windowlist[wid].win = mswin_init_RIP_window();
1551 GetNHApp()->windowlist[wid].type = NHW_RIP;
1552 GetNHApp()->windowlist[wid].dead = 0;
1553 }
1554 genl_outrip(wid, how, when);
1555}
1556
1557/* handle options updates here */
1558void

Callers

nothing calls this directly

Calls 4

genl_outripFunction · 0.85
logDebugFunction · 0.70
GetNHAppFunction · 0.70
mswin_init_RIP_windowFunction · 0.70

Tested by

no test coverage detected