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

Function kill_nhwindows

sys/amiga/winfuncs.c:1772–1786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1770}
1771
1772void
1773kill_nhwindows(int all)
1774{
1775 int i;
1776 struct amii_WinDesc *cw;
1777
1778 /* Foreach open window in all of amii_wins[], CloseShWindow, free memory
1779 */
1780
1781 for (i = 0; i < MAXWIN; ++i) {
1782 if ((cw = amii_wins[i]) && (cw->type != NHW_BASE || all)) {
1783 amii_destroy_nhwindow(i);
1784 }
1785 }
1786}
1787
1788void
1789amii_cl_end(struct amii_WinDesc *cw, int curs_pos)

Callers 2

amii_exit_nhwindowsFunction · 0.85
amii_cleanupFunction · 0.85

Calls 1

amii_destroy_nhwindowFunction · 0.85

Tested by

no test coverage detected