Merge branch 'NetHack-3.6.2'
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
#define slimeproof(ptr) \
|
||||
((ptr) == &mons[PM_GREEN_SLIME] || flaming(ptr) || noncorporeal(ptr))
|
||||
#define lays_eggs(ptr) (((ptr)->mflags1 & M1_OVIPAROUS) != 0L)
|
||||
#define eggs_in_water(ptr) \
|
||||
(lays_eggs(ptr) && (ptr)->mlet == S_EEL && is_swimmer(ptr))
|
||||
#define regenerates(ptr) (((ptr)->mflags1 & M1_REGEN) != 0L)
|
||||
#define perceives(ptr) (((ptr)->mflags1 & M1_SEE_INVIS) != 0L)
|
||||
#define can_teleport(ptr) (((ptr)->mflags1 & M1_TPORT) != 0L)
|
||||
|
||||
@@ -45,6 +45,12 @@ extern WINDOW *mapwin, *statuswin, *messagewin; /* Main windows */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if !defined(A_LEFTLINE) && defined(A_LEFT)
|
||||
#define A_LEFTLINE A_LEFT
|
||||
#endif
|
||||
#if !defined(A_RIGHTLINE) && defined(A_RIGHT)
|
||||
#define A_RIGHTLINE A_RIGHT
|
||||
#endif
|
||||
|
||||
typedef enum orient_type
|
||||
{
|
||||
@@ -158,6 +164,7 @@ extern void curses_rtrim(char *str);
|
||||
extern int curses_get_count(int first_digit);
|
||||
extern int curses_convert_attr(int attr);
|
||||
extern int curses_read_attrs(char *attrs);
|
||||
extern char *curses_fmt_attrs(char *);
|
||||
extern int curses_convert_keys(int key);
|
||||
extern int curses_get_mouse(int *mousex, int *mousey, int *mod);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user