Source:NetHack 3.1.0/wintype.h

Below is the full text to wintype.h from the source code of NetHack 3.1.0. To link to a particular line, write [[NetHack 3.1.0/wintype.h#line123 ]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

1.   /*	SCCS Id: @(#)wintype.h	3.1	91/07/03	*/ 2.   /* Copyright (c) David Cohrs, 1991				  */ 3.   /* NetHack may be freely redistributed. See license for details. */ 4.     5.    #ifndef WINTYPE_H 6.   #define WINTYPE_H 7.    8.    /* window types */ 9.   /* any additional port specific types should be defined in win*.h */ 10.  #define NHW_MESSAGE 1 11.  #define NHW_STATUS  2 12.  #define NHW_MAP     3 13.  #define NHW_MENU    4 14.  #define NHW_TEXT    5 15.   16.   /* attribute types for putstr; the same as the ANSI value, for convenience */ 17.  #define ATR_NONE    0 18.  #define ATR_BOLD    1 19.  #define ATR_DIM     2 20.  #define ATR_ULINE   4 21.  #define ATR_BLINK   5 22.  #define ATR_INVERSE 7 23.   24.   /* nh_poskey modifier types */ 25.  #define CLICK_1     1 26.  #define CLICK_2	    2 27.   28.   /* invalid winid */ 29.  #define WIN_ERR ((winid) -1) 30.   31.   #endif /* WINTYPE_H */