Add gift, embrace commands. Implement flirting with nothing.
[rogue-pphs.git] / rogue.h
diff --git a/rogue.h b/rogue.h
index 0281b1d..f426f9e 100644 (file)
--- a/rogue.h
+++ b/rogue.h
@@ -48,7 +48,7 @@
 #define otherwise break;default\r
 #define until(expr) while(!(expr))\r
 #define ce(a, b) ((a).x == (b).x && (a).y == (b).y)\r
-#define draw(window) (wrefresh(window),usleep(50000))\r
+#define draw(window) (wrefresh(window),usleep(20000))\r
 #define hero player.t_pos\r
 #define pstats player.t_stats\r
 #define pack player.t_pack\r
@@ -71,6 +71,7 @@
 #define newgrp() ++group\r
 #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
 /*\r
  * Things that appear on the screens\r