1 /* NetHack 3.6 tcap.h $NHDT-Date: 1432512774 2015/05/25 00:12:54 $ $NHDT-Branch: master $:$NHDT-Revision: 1.10 $ */
2 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1989. */
3 /*-Copyright (c) Kenneth Lorber, Kensington, Maryland, 2015. */
4 /* NetHack may be freely redistributed. See license for details. */
6 /* not named termcap.h because it may conflict with a system header */
12 #define TERMLIB /* include termcap code */
15 /* might display need graphics code? */
16 #if !defined(AMIGA) && !defined(TOS) && !defined(MAC)
17 #if defined(TERMLIB) || defined(OS2) || defined(MSDOS)
23 extern struct tc_gbl_data { /* also declared in decl.h; defined in decl.c */
24 char *tc_AS, *tc_AE; /* graphics start and end (tty font swapping) */
25 int tc_LI, tc_CO; /* lines and columns */
27 #define AS tc_gbl_data.tc_AS
28 #define AE tc_gbl_data.tc_AE
29 #define LI tc_gbl_data.tc_LI
30 #define CO tc_gbl_data.tc_CO
33 extern struct tc_lcl_data { /* defined and set up in termcap.c */
34 char *tc_CM, *tc_ND, *tc_CD;
35 char *tc_HI, *tc_HE, *tc_US, *tc_UE;
38 /* some curses.h declare CM etc. */
39 #define nh_CM tc_lcl_data.tc_CM
40 #define nh_ND tc_lcl_data.tc_ND
41 #define nh_CD tc_lcl_data.tc_CD
42 #define nh_HI tc_lcl_data.tc_HI
43 #define nh_HE tc_lcl_data.tc_HE
44 #define nh_US tc_lcl_data.tc_US
45 #define nh_UE tc_lcl_data.tc_UE
46 #define ul_hack tc_lcl_data.tc_ul_hack
48 extern short ospeed; /* set up in termcap.c */
52 extern const char *hilites[CLR_MAX];
54 extern NEARDATA char *hilites[CLR_MAX];