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

Function curs_reset_windows

win/curses/cursmain.c:1255–1272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1253}
1254
1255void
1256curs_reset_windows(boolean redo_main, boolean redo_status)
1257{
1258 boolean need_redraw = FALSE;
1259
1260 if (redo_status) {
1261 status_initialize(REASSESS_ONLY);
1262 need_redraw = TRUE;
1263 }
1264 if (redo_main) {
1265 curses_create_main_windows();
1266 need_redraw = TRUE;
1267 }
1268 if (need_redraw) {
1269 curses_last_messages();
1270 docrt();
1271 }
1272}
1273
1274/* stubs for curses_procs{} */
1275

Callers 5

curs_update_invtFunction · 0.85
curses_get_nh_eventFunction · 0.85
curses_update_inventoryFunction · 0.85
curses_preference_updateFunction · 0.85
draw_statusFunction · 0.85

Calls 4

status_initializeFunction · 0.85
curses_last_messagesFunction · 0.85
docrtFunction · 0.85

Tested by

no test coverage detected