diff -pruN slashem-0.0.7E7F1-official-release/include/color.h slashem-0.0.7E7F1-statuscolor/include/color.h
--- slashem-0.0.7E7F1-official-release/include/color.h 2005-07-02 09:24:44.000000000 +0200
+++ slashem-0.0.7E7F1-statuscolor/include/color.h 2005-11-01 17:03:21.000000000 +0100
@@ -73,4 +73,23 @@ struct menucoloring {
};
#endif
+#ifdef STATUS_COLORS
+struct color_option {
+ int color;
+ int attr_bits;
+};
+
+struct percent_color_option {
+ int percentage;
+ struct color_option color_option;
+ const struct percent_color_option *next;
+};
+
+struct text_color_option {
+ const char *text;
+ struct color_option color_option;
+ const struct text_color_option *next;
+};
+#endif
+
#endif /* COLOR_H */
diff -pruN slashem-0.0.7E7F1-official-release/include/flag.h slashem-0.0.7E7F1-statuscolor/include/flag.h
--- slashem-0.0.7E7F1-official-release/include/flag.h 2005-07-02 09:24:44.000000000 +0200
+++ slashem-0.0.7E7F1-statuscolor/include/flag.h 2005-11-01 17:03:21.000000000 +0100
@@ -204,6 +204,9 @@ struct instance_flags {
#ifdef MENU_COLOR
boolean use_menu_color; /* use color in menus; only if wc_color */
#endif
+#if defined(STATUS_COLORS) && defined(TEXTCOLOR)
+ boolean use_status_colors; /* use color in status line; only if wc_color */
+#endif
#ifdef MFLOPPY
boolean checkspace; /* check disk space before writing files */
/* (in iflags to allow restore after moving
diff -pruN slashem-0.0.7E7F1-official-release/README.statuscolors slashem-0.0.7E7F1-statuscolor/README.statuscolors
--- slashem-0.0.7E7F1-official-release/README.statuscolors 1970-01-01 01:00:00.000000000 +0100
+++ slashem-0.0.7E7F1-statuscolor/README.statuscolors 2005-11-01 17:03:21.000000000 +0100
@@ -0,0 +1,57 @@
+Statuscolors is a patch for Nethack (version 3.4.3) that attempts to generalize
+the hpmon patch to be more like the menucolors patch. Unlike menucolors, it
+does not use regexps. Instead, it provides the following options:
+
+To enable statuscolors:
+ OPTIONS=statuscolors
+
+To specify statuscolor options, write:
+ STATUSCOLOR=