X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=rogue.h;h=5edf336cf22ba5815b8c3361524d351205982cdd;hp=f426f9e126d87ce7b81902b4248c64f109b35e3b;hb=81fe22799e2080f165af7929627d664658b944bb;hpb=9c3c378b5c998e689cefd9cad3e2deb863cbcefa diff --git a/rogue.h b/rogue.h index f426f9e..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 */ @@ -337,6 +337,10 @@ struct trap { extern struct trap traps[MAXTRAPS]; +#define NUM_FEATURES 6 +#define MAYBE_INTERESTED 1 +#define INTERESTED 20 + /* * Structure describing a fighting being */ @@ -347,6 +351,8 @@ struct stats { int s_arm; /* Armor class */ int s_hpt; /* Hit points */ char s_dmg[30]; /* String describing damage done */ + int s_ont; /* Orientation flags */ + int s_int; /* Level of interest in rogue */ }; /*