Source:NetHack 3.0.0/mfndpos.h
Revision as of 04:52, 4 March 2008 by Kernigh bot (talk | contribs) (NetHack 3.0.0/mfndpos.h moved to Source:NetHack 3.0.0/mfndpos.h: Robot: moved page)
Below is the full text to mfndpos.h from the source code of NetHack 3.0.0. To link to a particular line, write [[NetHack 3.0.0/mfndpos.h#line123]], for example.
Warning! This is the source code from an old release. For the latest release, see Source code
The NetHack General Public License applies to screenshots, source code and other content from NetHack.
This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.
1. /* SCCS Id: @(#)mfndpos.h 3.0 88/10/15 2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3. /* NetHack may be freely redistributed. See license for details. */ 4. /* mfndpos.h - version 1.0.2 */ 5. 6. #ifndef MFNDPOS_H 7. #define MFNDPOS_H 8. 9. /* changed by GAN 02/06/87 to add nine extra bits for traps - 10. * this because new traps make nine for traps insufficient 11. */ 12. 13. #define ALLOW_TRAPS 0777777L 14. #define ALLOW_U 01000000L /* can attack you */ 15. #define ALLOW_M 02000000L /* can attack other monsters */ 16. #define ALLOW_TM 04000000L 17. #define ALLOW_ALL (ALLOW_U | ALLOW_M | ALLOW_TM | ALLOW_TRAPS) 18. #define ALLOW_SSM 010000000L /* ignores scare monster */ 19. #define ALLOW_ROCK 020000000L /* pushes rocks */ 20. #define NOTONL 040000000L /* stays off direct line to player */ 21. #define NOGARLIC 0100000000L /* hates garlic */ 22. #define ALLOW_WALL 0200000000L /* walks through walls */ 23. #define ALLOW_DIG 0400000000L /* digs */ 24. #define ALLOW_SANCT 01000000000L /* enters a temple */ 25. 26. #endif /* MFNDPOS_H /**/