Difference between revisions of "Source:NetHack 3.1.0/mfndpos.h"
Jump to navigation
Jump to search
m (Automated source code upload) |
Kernigh bot (talk | contribs) m (NetHack 3.1.0/mfndpos.h moved to Source:NetHack 3.1.0/mfndpos.h: Robot: moved page) |
(No difference)
|
Latest revision as of 06:41, 4 March 2008
Below is the full text to mfndpos.h from the source code of NetHack 3.1.0. To link to a particular line, write [[NetHack 3.1.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.1 90/22/02 */ 2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3. /* NetHack may be freely redistributed. See license for details. */ 4. 5. #ifndef MFNDPOS_H 6. #define MFNDPOS_H 7. 8. #define ALLOW_TRAPS 0x0002FFFFL /* can enter 18 kinds of traps */ 9. #define ALLOW_U 0x00040000L /* can attack you */ 10. #define ALLOW_M 0x00080000L /* can attack other monsters */ 11. #define ALLOW_TM 0x00100000L /* can attack tame monsters */ 12. #define ALLOW_ALL (ALLOW_U | ALLOW_M | ALLOW_TM | ALLOW_TRAPS) 13. #define NOTONL 0x00200000L /* avoids direct line to player */ 14. #define OPENDOOR 0x00400000L /* opens closed doors */ 15. #define UNLOCKDOOR 0x00800000L /* unlocks locked doors */ 16. #define BUSTDOOR 0x01000000L /* breaks any doors */ 17. #define ALLOW_ROCK 0x02000000L /* pushes rocks */ 18. #define ALLOW_WALL 0x04000000L /* walks thru walls */ 19. #define ALLOW_DIG 0x08000000L /* digs */ 20. #define ALLOW_SANCT 0x20000000L /* enters temples */ 21. #define ALLOW_SSM 0x40000000L /* ignores scare monster */ 22. #define NOGARLIC 0x80000000L /* hates garlic */ 23. 24. #endif /* MFNDPOS_H */