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

Function reset_status_hilites

src/botl.c:2320–2331  ·  view source on GitHub ↗

called by options handling when 'statushilites' value is changed */

Source from the content-addressed store, hash-verified

2318
2319/* called by options handling when 'statushilites' value is changed */
2320void
2321reset_status_hilites(void)
2322{
2323 if (iflags.hilite_delta) {
2324 int i;
2325
2326 for (i = 0; i < MAXBLSTATS; ++i)
2327 gb.blstats[0][i].time = gb.blstats[1][i].time = 0L;
2328 gu.update_all = TRUE;
2329 }
2330 disp.botlx = TRUE;
2331}
2332
2333/* test whether the text from a title rule matches the string for
2334 title-while-polymorphed in the 'textmatch' menu */

Callers 3

optfn_statushilitesFunction · 0.85
status_hilite_menu_addFunction · 0.85
status_hilite_menuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected