X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=rogue.h;h=5edf336cf22ba5815b8c3361524d351205982cdd;hp=2e67f3843a7a01e46cd4993f3af60c17b7663246;hb=e4a106dfa01b6c98a80e32a2dcd2ec501adbf952;hpb=efb1335002efedd46b532a3e1daf6f390a20cce7 diff --git a/rogue.h b/rogue.h index 2e67f38..5edf336 100644 --- a/rogue.h +++ b/rogue.h @@ -72,7 +72,7 @@ #define o_charges o_ac #define ISMULT(type) (type == POTION || type == SCROLL || type == FOOD) #define rndchoice(a) (a[rnd(sizeof(a)/sizeof((a)[0]))]) - +#define hash(i) ((unsigned)(i)*2654435761u) /* * Things that appear on the screens */ @@ -338,6 +338,8 @@ struct trap { extern struct trap traps[MAXTRAPS]; #define NUM_FEATURES 6 +#define MAYBE_INTERESTED 1 +#define INTERESTED 20 /* * Structure describing a fighting being