OSDN Git Service

Add new option -- show_ammo_detail / show_ammo_no_crit
[hengband/hengband.git] / src / types.h
index 7f3b165..8e34eec 100644 (file)
@@ -591,6 +591,7 @@ struct monster_type
        s16b hp;                /* Current Hit points */
        s16b maxhp;             /* Max Hit points */
        s16b max_maxhp;         /* Max Max Hit points */
+       u32b dealt_damage;              /* Sum of damages dealt by player */
 
        s16b mtimed[MAX_MTIMED];        /* Timed status counter */
 
@@ -1082,6 +1083,7 @@ struct player_type
        byte recall_dungeon;      /* Dungeon set to be recalled */
 
        s16b energy_need;         /* Energy needed for next move */
+       s16b enchant_energy_need;         /* Energy needed for next upkeep effect        */
 
        s16b food;                /* Current nutrition */
 
@@ -1704,11 +1706,11 @@ typedef struct
  *  A structure type for travel command
  */
 typedef struct {
-       int run;
+       int run; /* Remaining grid number */
        int cost[MAX_HGT][MAX_WID];
-       int x;
-       int y;
-       int dir;
+       int x; /* Target X */
+       int y; /* Target Y */
+       int dir; /* Running direction */
 } travel_type;
 #endif