NHDT->ANH, nethack->anethack, nhdat->anhdat
[aNetHack.git] / include / mfndpos.h
blob92f2a62859c16f76fb5ab5e3e8bb691f0aeb60c8
1 /* aNetHack 0.0.1 mfndpos.h $ANH-Date: 1432512776 2015/05/25 00:12:56 $ $ANH-Branch: master $:$ANH-Revision: 1.12 $ */
2 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
3 /* aNetHack may be freely redistributed. See license for details. */
5 #ifndef MFNDPOS_H
6 #define MFNDPOS_H
8 #define ALLOW_MDISP 0x00001000L /* can displace a monster out of its way */
9 #define ALLOW_TRAPS 0x00020000L /* can enter traps */
10 #define ALLOW_U 0x00040000L /* can attack you */
11 #define ALLOW_M 0x00080000L /* can attack other monsters */
12 #define ALLOW_TM 0x00100000L /* can attack tame monsters */
13 #define ALLOW_ALL (ALLOW_U | ALLOW_M | ALLOW_TM | ALLOW_TRAPS)
14 #define NOTONL 0x00200000L /* avoids direct line to player */
15 #define OPENDOOR 0x00400000L /* opens closed doors */
16 #define UNLOCKDOOR 0x00800000L /* unlocks locked doors */
17 #define BUSTDOOR 0x01000000L /* breaks any doors */
18 #define ALLOW_ROCK 0x02000000L /* pushes rocks */
19 #define ALLOW_WALL 0x04000000L /* walks thru walls */
20 #define ALLOW_DIG 0x08000000L /* digs */
21 #define ALLOW_BARS 0x10000000L /* may pass thru iron bars */
22 #define ALLOW_SANCT 0x20000000L /* enters temples */
23 #define ALLOW_SSM 0x40000000L /* ignores scare monster */
24 #ifdef NHSTDC
25 #define NOGARLIC 0x80000000UL /* hates garlic */
26 #else
27 #define NOGARLIC 0x80000000L /* hates garlic */
28 #endif
30 #endif /* MFNDPOS_H */