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

Function X11_status_init

win/X11/winstat.c:250–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250void
251X11_status_init(void)
252{
253 int i;
254
255 /* no color and no attributes */
256 for (i = 0; i < MAXBLSTATS; ++i)
257 X11_status_colors[i] = old_field_colors[i] = NO_COLOR;
258 for (i = 0; i < SIZE(old_cond_colors); ++i)
259 old_cond_colors[i] = NO_COLOR;
260 hpbar_percent = 0, hpbar_color = NO_COLOR;
261 X11_condition_bits = old_condition_bits = 0L;
262 /* let genl_status_init do most of the initialization */
263 genl_status_init();
264}
265
266void
267X11_status_finish(void)

Callers

nothing calls this directly

Calls 1

genl_status_initFunction · 0.85

Tested by

no test coverage detected