Monsters will only accept gifts if they are slightly interested in you. Monster inter...
[rogue-pphs.git] / rogue.h
diff --git a/rogue.h b/rogue.h
index f426f9e..5edf336 100644 (file)
--- a/rogue.h
+++ b/rogue.h
@@ -72,7 +72,7 @@
 #define o_charges o_ac\r
 #define ISMULT(type) (type == POTION || type == SCROLL || type == FOOD)\r
 #define rndchoice(a) (a[rnd(sizeof(a)/sizeof((a)[0]))])\r
-\r
+#define hash(i) ((unsigned)(i)*2654435761u)\r
 /*\r
  * Things that appear on the screens\r
  */\r
@@ -337,6 +337,10 @@ struct trap {
 \r
 extern struct trap  traps[MAXTRAPS];\r
 \r
+#define NUM_FEATURES 6\r
+#define MAYBE_INTERESTED 1\r
+#define INTERESTED 20\r
+\r
 /*\r
  * Structure describing a fighting being\r
  */\r
@@ -347,6 +351,8 @@ struct stats {
     int s_arm;                         /* Armor class */\r
     int s_hpt;                         /* Hit points */\r
     char s_dmg[30];                    /* String describing damage done */\r
+    int s_ont;                          /* Orientation flags */\r
+    int s_int;                          /* Level of interest in rogue */\r
 };\r
 \r
 /*\r