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