Source:NetHack 1.4f/flag.h

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

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

1.   /*	SCCS Id: @(#)flag.h	1.3	87/07/14 2.   /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3.    /* flag.h - version 1.0.3 */ 4.    5.    struct flag { 6.   	unsigned ident;		/* social security number for each monster */ 7.   	unsigned debug;		/* in debugging mode */ 8.   #define	wizard	flags.debug 9.   	unsigned toplin;	/* a top line (message) has been printed */ 10.  				/* 0: top line empty; 2: no --More-- reqd. */ 11.   	unsigned cbreak;	/* in cbreak mode, rogue format */ 12.  	unsigned standout;	/* use standout for --More-- */ 13.  	unsigned nonull;	/* avoid sending nulls to the terminal */ 14.  	unsigned time;		/* display elapsed 'time' */ 15.  	unsigned nonews;	/* suppress news printing */ 16.  	unsigned notombstone; 17.  	unsigned end_top, end_around;	/* describe desired score list */ 18.  	unsigned end_own;		/* idem (list all own scores) */ 19.  	unsigned no_rest_on_space;	/* spaces are ignored */ 20.  	unsigned beginner; 21.  	unsigned female; 22.  	unsigned invlet_constant;	/* let objects keep their 23.  					   inventory symbol */ 24.  	unsigned move; 25.  	unsigned mv; 26.  	unsigned run;		/* 0: h (etc), 1: H (etc), 2: fh (etc) */ 27.  				/* 3: FH, 4: ff+, 5: ff-, 6: FF+, 7: FF- */ 28.  	unsigned nopick;	/* do not pickup objects */ 29.  	unsigned echo;		/* 1 to echo characters */ 30.  	unsigned botl;		/* partially redo status line */ 31.  	unsigned botlx;		/* print an entirely new bottom line */ 32.  	unsigned nscrinh;	/* inhibit nscr in pline; */ 33.  	unsigned made_amulet; 34.  	unsigned no_of_wizards;	/* 0, 1 or 2 (wizard and his shadow) */ 35.  				/* reset from 2 to 1, but never to 0 */ 36.  	unsigned moonphase; 37.  #define	NEW_MOON	0 38.  #define	FULL_MOON	4 39.   40.   #ifdef SORTING 41.  	unsigned sortpack;	/* sorted inventory */ 42.  #endif 43.  #ifdef SAFE_ATTACK 44.  	unsigned confirm;	/* confirm before hitting tame monsters */ 45.  #endif 46.  #ifdef DGKMOD 47.  	unsigned silent;	/* whether the bell rings or not */ 48.  	unsigned pickup;	/* whether you pickup or move and look */ 49.  #endif 50.  #ifdef DGK 51.  	unsigned IBMBIOS;	/* whether we can use a BIOS call for 52.  				 * redrawing the screen and character input */ 53.  	unsigned DECRainbow;	/* Used for DEC Rainbow graphics. */ 54.   	unsigned rawio;		/* Whether can use rawio (IOCTL call) */ 55.  	unsigned extra1; 56.  	unsigned extra2; 57.  #endif 58.  };  59.    60.   extern struct flag flags;