Source:Hack 1.0/hack.mfndpos.h

From NetHackWiki
(Redirected from Hack 1.0/hack.mfndpos.h)
Jump to navigation Jump to search

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

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

Screenshots and source code from Hack are used under the CWI license.

1.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
2.    
3.    #define	ALLOW_TRAPS	0777
4.    #define	ALLOW_U		01000
5.    #define	ALLOW_M		02000
6.    #define	ALLOW_TM	04000
7.    #define	ALLOW_ALL	(ALLOW_U | ALLOW_M | ALLOW_TM | ALLOW_TRAPS)
8.    #define	ALLOW_SSM	010000
9.    #define	ALLOW_ROCK	020000
10.   #define	NOTONL		040000
11.   #define	NOGARLIC	0100000