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

Function Gem_clear_nhwindow

outdated/win/gem/wingem.c:584–603  ·  view source on GitHub ↗
(window)

Source from the content-addressed store, hash-verified

582extern void mar_clear_map(void);
583
584void
585Gem_clear_nhwindow(window)
586winid window;
587{
588 if (window == WIN_ERR)
589 panic(winpanicstr, window);
590
591 switch (mar_hol_win_type(window)) {
592 case NHW_MESSAGE:
593 mar_clear_messagewin();
594 break;
595 case NHW_MAP:
596 mar_clear_map();
597 break;
598 case NHW_STATUS:
599 case NHW_MENU:
600 case NHW_TEXT:
601 break;
602 }
603}
604
605extern void mar_more(void);
606

Callers

nothing calls this directly

Calls 4

mar_hol_win_typeFunction · 0.85
mar_clear_messagewinFunction · 0.85
mar_clear_mapFunction · 0.85
panicFunction · 0.50

Tested by

no test coverage detected