File: mfndpos.h

package info (click to toggle)
jnethack 1.1.5-11woody2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 17,988 kB
  • ctags: 14,990
  • sloc: ansic: 163,944; asm: 2,412; yacc: 2,002; lex: 412; sh: 179; makefile: 57
file content (28 lines) | stat: -rw-r--r-- 1,137 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*	SCCS Id: @(#)mfndpos.h	3.2	93/05/15	*/
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed.  See license for details. */

#ifndef MFNDPOS_H
#define MFNDPOS_H

#define ALLOW_TRAPS	0x00020000L	/* can enter traps */
#define ALLOW_U		0x00040000L	/* can attack you */
#define ALLOW_M		0x00080000L	/* can attack other monsters */
#define ALLOW_TM	0x00100000L	/* can attack tame monsters */
#define ALLOW_ALL	(ALLOW_U | ALLOW_M | ALLOW_TM | ALLOW_TRAPS)
#define NOTONL		0x00200000L	/* avoids direct line to player */
#define OPENDOOR	0x00400000L	/* opens closed doors */
#define UNLOCKDOOR	0x00800000L	/* unlocks locked doors */
#define BUSTDOOR	0x01000000L	/* breaks any doors */
#define ALLOW_ROCK	0x02000000L	/* pushes rocks */
#define ALLOW_WALL	0x04000000L	/* walks thru walls */
#define ALLOW_DIG	0x08000000L	/* digs */
#define ALLOW_SANCT	0x20000000L	/* enters temples */
#define ALLOW_SSM	0x40000000L	/* ignores scare monster */
#ifdef NHSTDC
#define NOGARLIC	0x80000000UL	/* hates garlic */
#else
#define NOGARLIC	0x80000000L	/* hates garlic */
#endif

#endif /* MFNDPOS_H */