-/* NetHack 3.6 wintty.h $NHDT-Date: 1433806583 2015/06/08 23:36:23 $ $NHDT-Branch: master $:$NHDT-Revision: 1.24 $ */
+/* 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. */
#endif /* WINDOW_STRUCTS */
+#ifdef STATUS_HILITES
+struct tty_status_fields {
+ int idx;
+ int color;
+ int attr;
+ int x, y;
+ size_t lth;
+ boolean valid;
+ boolean dirty;
+ boolean redraw;
+ boolean _not_used; /* was 'last_in_row' */
+};
+#endif
+
#define MAXWIN 20 /* maximum number of windows, cop-out */
/* tty dependent window types */
* 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);
/* ### topl.c ### */
+E void FDECL(show_topl, (const char *));
+E void NDECL(remember_topl);
E void FDECL(addtopl, (const char *));
E void NDECL(more);
E void FDECL(update_topl, (const char *));
/* 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);
#endif
E char *NDECL(tty_get_color_string);
#endif
+E void FDECL(tty_status_enablefield,
+ (int, const char *, const char *, BOOLEAN_P));
E void NDECL(tty_status_init);
E void FDECL(tty_status_update, (int, genericptr_t, int, int, int, unsigned long *));