| 47 | #define STATVAL_WIDTH 60 /* overkill; was MAXCO (200), massive overkill */ |
| 48 | |
| 49 | void |
| 50 | curses_status_init(void) |
| 51 | { |
| 52 | int i; |
| 53 | |
| 54 | for (i = 0; i < MAXBLSTATS; ++i) { |
| 55 | curses_status_colors[i] = NO_COLOR; /* no color and no attributes */ |
| 56 | status_vals_long[i] = (char *) alloc(STATVAL_WIDTH); |
| 57 | *status_vals_long[i] = '\0'; |
| 58 | } |
| 59 | curses_condition_bits = 0L; |
| 60 | hpbar_percent = hpbar_crit_hp = 0, hpbar_color = NO_COLOR; |
| 61 | vert_status_dirty = 1; |
| 62 | |
| 63 | /* let genl_status_init do most of the initialization */ |
| 64 | genl_status_init(); |
| 65 | return; |
| 66 | } |
| 67 | |
| 68 | void |
| 69 | curses_status_finish(void) |
nothing calls this directly
no test coverage detected