OSDN Git Service

Add artifact, Orb of Fate.
[hengband/hengband.git] / src / defines.h
index 3d33f53..c33faef 100644 (file)
@@ -57,7 +57,7 @@
 #define FAKE_VERSION   0
 #define FAKE_VER_MAJOR 12
 #define FAKE_VER_MINOR 1
-#define FAKE_VER_PATCH 1
+#define FAKE_VER_PATCH 3
 
 
 /*
@@ -75,8 +75,8 @@
  */
 #define H_VER_MAJOR 2
 #define H_VER_MINOR 1
-#define H_VER_PATCH 1
-#define H_VER_EXTRA 0
+#define H_VER_PATCH 2
+#define H_VER_EXTRA 2
 
 
 #define ANGBAND_2_8_1
 #define ART_PALANTIR             15
 #define ART_STONE_LORE           17
 #define ART_FLY_STONE            147
-
+#define ART_ORB_OF_FATE          245 
 /* Amulets */
 #define ART_CARLAMMAS            4
 #define ART_INGWE                5
 #define ACT_DETECT_ALL_MONS     137
 #define ACT_ULTIMATE_RESIST     138
 /* 127 -> unused */
+#define ACT_TELEPORT_LEVEL      248
+#define ACT_GRAND_CROSS         249
+#define ACT_CAST_OFF            250
 #define ACT_FISHING             251
 #define ACT_INROU               252
 #define ACT_MURAMASA            253
 #define SV_SCROLL_ARTIFACT              52
 #define SV_SCROLL_RESET_RECALL          53
 #define SV_SCROLL_SUMMON_KIN            54
+#define SV_SCROLL_AMUSEMENT             55
+#define SV_SCROLL_STAR_AMUSEMENT        56
 
 /* The "sval" codes for TV_POTION */
 #define SV_POTION_WATER                  0
 #define CAVE_MASK (CAVE_FLOOR | CAVE_EXTRA | CAVE_INNER | CAVE_OUTER | CAVE_SOLID | CAVE_VAULT)
 
 /* Used only after cave generation */
-#define CAVE_XXXX1      0x0200
+#define CAVE_KNOWN      0x0200    /* Directly viewed or map detected flag */
 #define CAVE_NOTE       0x0400    /* Flag for delayed visual update (needs note_spot()) */
 #define CAVE_REDRAW     0x0800    /* Flag for delayed visual update (needs lite_spot()) */
 #define CAVE_OBJECT     0x1000    /* Mirror, glyph, etc. */
 #define TR_WARNING             72     /* Warning */
 #define TR_HIDE_TYPE           73     /* Hide "pval" description */
 #define TR_SHOW_MODS           74     /* Always show Tohit/Todam */
-#define TR_XXX1                75     /* XXX1 */
+#define TR_SLAY_GOOD           75
 #define TR_LEVITATION             76     /* Feather Falling */
 #define TR_LITE                77     /* Permanent Light */
 #define TR_SEE_INVIS           78     /* See Invisible */
 #define TR_BLESSED             92     /* Item is Blessed */
 #define TR_ES_ATTACK           93     /* Fake flag for Smith */
 #define TR_ES_AC               94     /* Fake flag for Smith */
-#define TR_XXX5                95
+#define TR_KILL_GOOD           95
 
 #define TR_KILL_ANIMAL         96
 #define TR_KILL_EVIL           97
 #define RF7_SELF_LITE_2         0x00000800  /* Monster lights itself */
 #define RF7_GUARDIAN            0x00001000  /* Guardian of a dungeon */
 #define RF7_CHAMELEON           0x00002000  /* Chameleon can change */
-#define RF7_KILL_EXP            0x00004000  /* No exp until you kill it */
+#define RF7_XXXX4XXX            0x00004000  /* Now Empty */
 #define RF7_TANUKI              0x00008000  /* Tanuki disguise */
 #define RF7_HAS_DARK_1          0x00010000  /* Monster carries darkness */
 #define RF7_SELF_DARK_1         0x00020000  /* Monster darkens itself */
 #define get_feat_mimic(C) \
        (f_info[(C)->mimic ? (C)->mimic : (C)->feat].mimic)
 
-#define update_playtime() \
-{\
-       u32b tmp;\
-       tmp = time(NULL);\
-       playtime += (tmp - start_time);\
-       start_time = tmp;\
-}
-
 /*
  * Hack -- Prepare to use the "Secure" routines
  */
@@ -4651,8 +4648,9 @@ extern int PlayerUID;
 #define BACT_POKER                  43
 #define BACT_IDENT_ONE              44
 #define BACT_RECHARGE_ALL           45
-#define BACT_EVAL_AC               46
-#define MAX_BACT                    47
+#define BACT_EVAL_AC                   46
+#define BACT_BROKEN_WEAPON          47
+#define MAX_BACT                    48
 
 /*
  * Quest status