1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2024-11-21 16:55:06 +00:00
notnotdnethack/win/curses/cursstat.h
Ron Nazarov 31411a8d66
Convert some files to ANSI declarations
src/allmain.c, src/alloc.c, src/pline.c, win/tty/termcap.c,
win/tty/topl.c, win/tty/wintty.c, win/tty/getline.c

Also convert curses declarations with an empty parameter list from ()
to (void) and get rid of *_P macros in windowport code.
2024-05-03 17:30:17 +01:00

21 lines
666 B
C

/* vim:set cin ft=c sw=4 sts=4 ts=8 et ai cino=Ls\:0t0(0 : -*- mode:c;fill-column:80;tab-width:8;c-basic-offset:4;indent-tabs-mode:nil;c-file-style:"k&r" -*-*/
#ifndef CURSSTAT_H
# define CURSSTAT_H
/* Used by handle_stat_change to handle some stats differently. Not an enum
because this is how NetHack code generally handles them. */
# define STAT_OTHER 0
# define STAT_STR 1
# define STAT_GOLD 2
# define STAT_AC 4
# define STAT_TIME 5
# define STAT_TROUBLE 6
/* Global declarations */
void curses_update_stats(void);
void curses_decrement_highlights(boolean);
attr_t curses_color_attr(int nh_color, int bg_color);
#endif /* CURSSTAT_H */