Merge branch 'NetHack-3.6'

This commit is contained in:
nhmall
2019-06-28 18:30:32 -04:00
9 changed files with 103 additions and 39 deletions
+5
View File
@@ -26,6 +26,9 @@ extern long curs_mesg_suppress_turn; /* from cursmesg.c */
struct window_procs curses_procs = {
"curses",
(WC_ALIGN_MESSAGE | WC_ALIGN_STATUS | WC_COLOR | WC_HILITE_PET
#ifdef NCURSES_MOUSE_VERSION /* (this macro name works for PDCURSES too) */
| WC_MOUSE_SUPPORT
#endif
| WC_PERM_INVENT | WC_POPUP_DIALOG | WC_SPLASH_SCREEN),
(WC2_DARKGRAY | WC2_HITPOINTBAR
#if defined(STATUS_HILITES)
@@ -906,6 +909,8 @@ curses_preference_update(const char *pref)
redo_status = TRUE;
else if (!strcmp(pref, "align_message"))
redo_main = TRUE;
else if (!strcmp(pref, "mouse_support"))
curses_mouse_support(iflags.wc_mouse_support);
if (redo_main || redo_status)
curs_reset_windows(redo_main, redo_status);