mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-31 01:42:24 +01:00
Remove some more cruft leftover from old cursstat code
This commit is contained in:
parent
2831f0d592
commit
80322ef26a
1 changed files with 1 additions and 7 deletions
|
@ -32,7 +32,6 @@ static void decrement_highlights(boolean);
|
|||
|
||||
#ifdef STATUS_COLORS
|
||||
static attr_t hpen_color_attr(boolean, int, int);
|
||||
|
||||
extern struct color_option text_color_of(const char *text,
|
||||
const struct text_color_option *color_options);
|
||||
struct color_option percentage_color_of(int value, int max,
|
||||
|
@ -68,10 +67,6 @@ static nhstat prevtime;
|
|||
static nhstat prevscore;
|
||||
#endif
|
||||
|
||||
#define COMPACT_LABELS 1
|
||||
#define NORMAL_LABELS 2
|
||||
#define WIDE_LABELS 3
|
||||
|
||||
extern const char *hu_stat[]; /* from eat.c */
|
||||
extern const char *enc_stat[]; /* from botl.c */
|
||||
|
||||
|
@ -167,7 +162,6 @@ get_playerrank(char *rank)
|
|||
/* Handles numerical stat changes of various kinds.
|
||||
type is generally STAT_OTHER (generic "do nothing special"),
|
||||
but is used if the stat needs to be handled in a special way. */
|
||||
|
||||
static void
|
||||
print_statdiff(const char *append, nhstat *stat, int new, int type)
|
||||
{
|
||||
|
@ -322,7 +316,7 @@ curses_color_attr(int nh_color, int bg_color)
|
|||
return cattr;
|
||||
}
|
||||
|
||||
/* Returns a complete curses attribute. Used to color HP/Pw text. */
|
||||
/* Returns a complete curses attribute. Used to possibly bold/underline/etc HP/Pw. */
|
||||
#ifdef STATUS_COLORS
|
||||
static attr_t
|
||||
hpen_color_attr(boolean is_hp, int cur, int max)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue