Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef TCAP_H
00008 #define TCAP_H
00009
00010 #ifndef MICRO
00011 # define TERMLIB
00012 #endif
00013
00014
00015 #if !defined(AMIGA) && !defined(TOS) && !defined(MAC)
00016 # if defined(TERMLIB) || defined(OS2) || defined(MSDOS)
00017 # define ASCIIGRAPH
00018 # endif
00019 #endif
00020
00021 #ifndef DECL_H
00022 extern struct tc_gbl_data {
00023 char *tc_AS, *tc_AE;
00024 int tc_LI, tc_CO;
00025 } tc_gbl_data;
00026 #define AS tc_gbl_data.tc_AS
00027 #define AE tc_gbl_data.tc_AE
00028 #define LI tc_gbl_data.tc_LI
00029 #define CO tc_gbl_data.tc_CO
00030 #endif
00031
00032 extern struct tc_lcl_data {
00033 char *tc_CM, *tc_ND, *tc_CD;
00034 char *tc_HI, *tc_HE, *tc_US, *tc_UE;
00035 boolean tc_ul_hack;
00036 } tc_lcl_data;
00037
00038 #define nh_CM tc_lcl_data.tc_CM
00039 #define nh_ND tc_lcl_data.tc_ND
00040 #define nh_CD tc_lcl_data.tc_CD
00041 #define nh_HI tc_lcl_data.tc_HI
00042 #define nh_HE tc_lcl_data.tc_HE
00043 #define nh_US tc_lcl_data.tc_US
00044 #define nh_UE tc_lcl_data.tc_UE
00045 #define ul_hack tc_lcl_data.tc_ul_hack
00046
00047 extern short ospeed;
00048
00049 #ifdef TEXTCOLOR
00050 # ifdef TOS
00051 extern const char *hilites[CLR_MAX];
00052 # else
00053 extern NEARDATA char *hilites[CLR_MAX];
00054 # endif
00055 #endif
00056
00057 #endif