Source:NetHack 2.2a/mfndpos.h

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

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

1.   /*	SCCS Id: @(#)mfndpos.h	1.4	87/08/08 2.   /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3.    /* mfndpos.h - version 1.0.2 */ 4.     5.    /* changed by GAN 02/06/87 to add nine extra bits for traps - 6.    * this because new traps make nine for traps insufficient 7.    */  8.      9.    #define ALLOW_TRAPS     0777777 10.  #define ALLOW_U         01000000 11.  #define ALLOW_M         02000000 12.  #define ALLOW_TM        04000000 13.  #define ALLOW_ALL       (ALLOW_U | ALLOW_M | ALLOW_TM | ALLOW_TRAPS) 14.  #define ALLOW_SSM       010000000 15.  #define ALLOW_ROCK      020000000 16.  #define NOTONL          040000000 17.  #define NOGARLIC        0100000000 18.  #define ALLOW_WALL      0200000000