mfndpos.h

Go to the documentation of this file.
00001 /*      SCCS Id: @(#)mfndpos.h  3.4     2002/04/06      */
00002 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
00003 /* NetHack may be freely redistributed.  See license for details. */
00004 
00005 #ifndef MFNDPOS_H
00006 #define MFNDPOS_H
00007 
00008 #define ALLOW_TRAPS     0x00020000L     /* can enter traps */
00009 #define ALLOW_U         0x00040000L     /* can attack you */
00010 #define ALLOW_M         0x00080000L     /* can attack other monsters */
00011 #define ALLOW_TM        0x00100000L     /* can attack tame monsters */
00012 #define ALLOW_ALL       (ALLOW_U | ALLOW_M | ALLOW_TM | ALLOW_TRAPS)
00013 #define NOTONL          0x00200000L     /* avoids direct line to player */
00014 #define OPENDOOR        0x00400000L     /* opens closed doors */
00015 #define UNLOCKDOOR      0x00800000L     /* unlocks locked doors */
00016 #define BUSTDOOR        0x01000000L     /* breaks any doors */
00017 #define ALLOW_ROCK      0x02000000L     /* pushes rocks */
00018 #define ALLOW_WALL      0x04000000L     /* walks thru walls */
00019 #define ALLOW_DIG       0x08000000L     /* digs */
00020 #define ALLOW_BARS      0x10000000L     /* may pass thru iron bars */
00021 #define ALLOW_SANCT     0x20000000L     /* enters temples */
00022 #define ALLOW_SSM       0x40000000L     /* ignores scare monster */
00023 #ifdef NHSTDC
00024 #define NOGARLIC        0x80000000UL    /* hates garlic */
00025 #else
00026 #define NOGARLIC        0x80000000L     /* hates garlic */
00027 #endif
00028 
00029 #endif /* MFNDPOS_H */