Merge branch 'NetHack-3.6.2'
This commit is contained in:
@@ -104,6 +104,8 @@ enum hlattribs { HL_UNDEF = 0x00,
|
||||
HL_BLINK = 0x10,
|
||||
HL_DIM = 0x20 };
|
||||
|
||||
#define MAXVALWIDTH 80 /* actually less, but was using 80 to allocate title
|
||||
* and leveldesc then using QBUFSZ everywhere else */
|
||||
#ifdef STATUS_HILITES
|
||||
struct hilite_s {
|
||||
enum statusfields fld;
|
||||
@@ -111,7 +113,7 @@ struct hilite_s {
|
||||
unsigned anytype;
|
||||
anything value;
|
||||
int behavior;
|
||||
char textmatch[QBUFSZ];
|
||||
char textmatch[MAXVALWIDTH];
|
||||
enum relationships rel;
|
||||
int coloridx;
|
||||
struct hilite_s *next;
|
||||
@@ -130,6 +132,8 @@ struct istat_s {
|
||||
enum statusfields idxmax;
|
||||
enum statusfields fld;
|
||||
#ifdef STATUS_HILITES
|
||||
struct hilite_s *hilite_rule; /* the entry, if any, in 'thresholds'
|
||||
* list that currently applies */
|
||||
struct hilite_s *thresholds;
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -644,6 +644,7 @@ struct instance_globals {
|
||||
boolean valset[MAXBLSTATS];
|
||||
long bl_hilite_moves;
|
||||
unsigned long cond_hilites[BL_ATTCLR_MAX];
|
||||
int now_or_before_idx; /* 0..1 for array[2][] first index */
|
||||
|
||||
/* cmd.c */
|
||||
struct cmd Cmd; /* flag.h */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1552945074 2019/03/18 21:37:54 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.695 $ */
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1554045807 2019/03/31 15:23:27 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.697 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -160,6 +160,7 @@ E long NDECL(botl_score);
|
||||
E int FDECL(describe_level, (char *));
|
||||
E const char *FDECL(rank_of, (int, SHORT_P, BOOLEAN_P));
|
||||
E void NDECL(bot);
|
||||
E void NDECL(timebot);
|
||||
E void FDECL(status_initialize, (BOOLEAN_P));
|
||||
E void NDECL(status_finish);
|
||||
E void FDECL(status_notify_windowport, (BOOLEAN_P));
|
||||
@@ -352,6 +353,7 @@ E void NDECL(see_traps);
|
||||
E void NDECL(curs_on_u);
|
||||
E int NDECL(doredraw);
|
||||
E void NDECL(docrt);
|
||||
E void NDECL(redraw_map);
|
||||
E void FDECL(show_glyph, (int, int, int));
|
||||
E void NDECL(clear_glyph_buffer);
|
||||
E void FDECL(row_refresh, (int, int, int));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 flag.h $NHDT-Date: 1553204011 2019/03/21 21:33:31 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.148 $ */
|
||||
/* NetHack 3.6 flag.h $NHDT-Date: 1554155745 2019/04/01 21:55:45 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.150 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Michael Allison, 2006. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -322,10 +322,8 @@ struct instance_flags {
|
||||
#endif
|
||||
#endif
|
||||
uchar bouldersym; /* symbol for boulder display */
|
||||
#if defined(TTY_GRAPHICS) || defined(CURSES_GRAPHICS)
|
||||
char prevmsg_window; /* type of old message window to use */
|
||||
boolean extmenu; /* extended commands use menu interface */
|
||||
#endif
|
||||
#ifdef MFLOPPY
|
||||
boolean checkspace; /* check disk space before writing files */
|
||||
/* (in iflags to allow restore after moving
|
||||
@@ -364,9 +362,10 @@ struct instance_flags {
|
||||
#ifdef TTY_TILES_ESCCODES
|
||||
boolean vt_tiledata; /* output console codes for tile support in TTY */
|
||||
#endif
|
||||
boolean clicklook; /* allow right-clicking for look */
|
||||
boolean cmdassist; /* provide detailed assistance for some comnds */
|
||||
boolean time_botl; /* context.botl for 'time' (moves) only */
|
||||
boolean wizweight; /* display weight of everything in wizard mode */
|
||||
boolean cmdassist; /* provide detailed assistance for some commands */
|
||||
boolean clicklook; /* allow right-clicking for look */
|
||||
/*
|
||||
* Window capability support.
|
||||
*/
|
||||
|
||||
@@ -182,6 +182,7 @@ extern void curses_add_nhmenu_item(winid wid, int glyph,
|
||||
const ANY_P *identifier, CHAR_P accelerator,
|
||||
CHAR_P group_accel, int attr,
|
||||
const char *str, BOOLEAN_P presel);
|
||||
extern void curs_menu_set_bottom_heavy(winid);
|
||||
extern void curses_finalize_nhmenu(winid wid, const char *prompt);
|
||||
extern int curses_display_nhmenu(winid wid, int how, MENU_ITEM_P **_selected);
|
||||
extern boolean curses_menu_exists(winid wid);
|
||||
@@ -222,6 +223,8 @@ extern void curses_init_mesg_history(void);
|
||||
extern void curses_teardown_messages(void);
|
||||
extern void curses_prev_mesg(void);
|
||||
extern void curses_count_window(const char *count_text);
|
||||
char *curses_getmsghistory(BOOLEAN_P);
|
||||
void curses_putmsghistory(const char *, BOOLEAN_P);
|
||||
|
||||
#endif /* WINCURS_H */
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 wintty.h $NHDT-Date: 1549327485 2019/02/05 00:44:45 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.32 $ */
|
||||
/* NetHack 3.6 wintty.h $NHDT-Date: 1553858470 2019/03/29 11:21:10 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.33 $ */
|
||||
/* Copyright (c) David Cohrs, 1991,1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -79,7 +79,7 @@ struct tty_status_fields {
|
||||
boolean valid;
|
||||
boolean dirty;
|
||||
boolean redraw;
|
||||
boolean last_on_row;
|
||||
boolean _not_used; /* was 'last_in_row' */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -151,6 +151,7 @@ E void NDECL(cl_eos);
|
||||
* a color or whatever. wintty.c should concern itself with WHERE to put
|
||||
* stuff in a window.
|
||||
*/
|
||||
E int FDECL(term_attr_fixup, (int));
|
||||
E void FDECL(term_start_attr, (int attr));
|
||||
E void FDECL(term_end_attr, (int attr));
|
||||
E void NDECL(term_start_raw_bold);
|
||||
@@ -182,6 +183,7 @@ E void FDECL(win_tty_init, (int));
|
||||
|
||||
/* external declarations */
|
||||
E void FDECL(tty_init_nhwindows, (int *, char **));
|
||||
E void FDECL(tty_preference_update, (const char *));
|
||||
E void NDECL(tty_player_selection);
|
||||
E void NDECL(tty_askname);
|
||||
E void NDECL(tty_get_nh_event);
|
||||
|
||||
Reference in New Issue
Block a user