+
+/*
+ * For travel command (auto run)
+ */
+#define TRAVEL
+
+/* Sniper */
+#define SP_NONE 0
+#define SP_LITE 1
+#define SP_AWAY 2
+#define SP_FIRE 3
+#define SP_KILL_WALL 4
+#define SP_COLD 5
+#define SP_KILL_TRAP 6
+#define SP_ELEC 7
+#define SP_PIERCE 8
+#define SP_RUSH 9
+#define SP_DOUBLE 10
+#define SP_EXPLODE 11
+#define SP_EVILNESS 12
+#define SP_HOLYNESS 13
+#define SP_FINAL 14
+#define SP_NEEDLE 15
+
+#define CONCENT_RADAR_THRESHOLD 2
+#define CONCENT_TELE_THRESHOLD 5
+
+/* Hex */
+#define hex_spelling_any() \
+ ((p_ptr->realm1 == REALM_HEX) && (p_ptr->magic_num1[0]))
+#define hex_spelling(X) \
+ ((p_ptr->realm1 == REALM_HEX) && (p_ptr->magic_num1[0] & (1L << (X))))
+/* 1st book */
+#define HEX_BLESS 0
+#define HEX_CURE_LIGHT 1
+#define HEX_DEMON_AURA 2
+#define HEX_STINKING_MIST 3
+#define HEX_XTRA_MIGHT 4
+#define HEX_CURSE_WEAPON 5
+#define HEX_DETECT_EVIL 6
+#define HEX_PATIENCE 7
+/* 2nd book */
+#define HEX_ICE_ARMOR 8
+#define HEX_CURE_SERIOUS 9
+#define HEX_INHAIL 10
+#define HEX_VAMP_MIST 11
+#define HEX_RUNESWORD 12
+#define HEX_CONFUSION 13
+#define HEX_BUILDING 14
+#define HEX_ANTI_TELE 15
+/* 3rd book */
+#define HEX_SHOCK_CLOAK 16
+#define HEX_CURE_CRITICAL 17
+#define HEX_RECHARGE 18
+#define HEX_RAISE_DEAD 19
+#define HEX_CURSE_ARMOUR 20
+#define HEX_SHADOW_CLOAK 21
+#define HEX_PAIN_TO_MANA 22
+#define HEX_EYE_FOR_EYE 23
+/* 4th book */
+#define HEX_ANTI_MULTI 24
+#define HEX_RESTORE 25
+#define HEX_DRAIN_CURSE 26
+#define HEX_VAMP_BLADE 27
+#define HEX_STUN_MONSTERS 28
+#define HEX_SHADOW_MOVE 29
+#define HEX_ANTI_MAGIC 30
+#define HEX_REVENGE 31
+
+/*
+ Language selection macro
+*/
+#ifdef JP
+#define _(JAPANESE,ENGLISH) (JAPANESE)
+#else
+#define _(JAPANESE,ENGLISH) (ENGLISH)
+#endif