Monster known traps bit twiddling
This commit is contained in:
@@ -1651,6 +1651,8 @@ extern boolean olfaction(struct permonst *);
|
||||
unsigned long cvt_adtyp_to_mseenres(uchar);
|
||||
extern void monstseesu(unsigned long);
|
||||
extern boolean resist_conflict(struct monst *);
|
||||
extern boolean mon_knows_traps(struct monst *, int);
|
||||
extern void mon_learns_traps(struct monst *, int);
|
||||
|
||||
/* ### monmove.c ### */
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ struct trap {
|
||||
|
||||
/* unconditional traps */
|
||||
enum trap_types {
|
||||
ALL_TRAPS = -1, /* mon_knows_traps(), mon_learns_traps() */
|
||||
NO_TRAP = 0,
|
||||
ARROW_TRAP = 1,
|
||||
DART_TRAP = 2,
|
||||
|
||||
Reference in New Issue
Block a user