]> granicus.if.org Git - nethack/commitdiff
some updates to curses
authornhmall <nhmall@nethack.org>
Wed, 5 Dec 2018 03:22:43 +0000 (22:22 -0500)
committernhmall <nhmall@nethack.org>
Wed, 5 Dec 2018 03:22:43 +0000 (22:22 -0500)
Tangles updates

include/flag.h
include/wincurs.h
src/options.c

index 0623ec52635de0cd701d1e666e4e86c4143c0257..a459c5bb99c0b04898040ef5b0f7ed080ea66a4d 100644 (file)
@@ -322,10 +322,8 @@ struct instance_flags {
 #endif
 #endif
     uchar bouldersym; /* symbol for boulder display */
-#ifdef TTY_GRAPHICS
-    char prevmsg_window; /* type of old message window to use */
-#endif
 #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
index 55e7f1d22687c80e7a7e6ab556131ace18d0bd43..be79256b7f081cedf025d5bb76e74487c4126dfd 100644 (file)
@@ -259,9 +259,6 @@ extern void curses_del_menu(winid wid);
 
 extern void curses_status_init(void);
 extern void curses_status_update(int, genericptr_t, int, int, int, unsigned long *);
-/* extern attr_t curses_color_attr(int nh_color, int bg_color); */
-/* extern void curses_update_stats(void); */
-/* extern void curses_decrement_highlight(void); */
 
 /* cursinvt.c */
 
index d4b7daf4dd068edd060149d813f4a342320bc35c..7dc622687ee0bdae666017b7f0e112343eeb16fb 100644 (file)
@@ -106,7 +106,7 @@ static struct Bool_Opt {
 #endif
     { "clicklook", &iflags.clicklook, FALSE, SET_IN_GAME },
     { "cmdassist", &iflags.cmdassist, TRUE, SET_IN_GAME },
-#if defined(MICRO) || defined(WIN32)
+#if defined(MICRO) || defined(WIN32) || defined(CURSES_GRAPHICS)
     { "color", &iflags.wc_color, TRUE, SET_IN_GAME }, /*WC*/
 #else /* systems that support multiple terminals, many monochrome */
     { "color", &iflags.wc_color, FALSE, SET_IN_GAME }, /*WC*/