OSDN Git Service

Merge remote-tracking branch 'remotes/hengbandosx/english-mind-edits' into feature...
[hengband/hengband.git] / src / player-attack / player-attack-util.h
1 #pragma once
2
3 #include "combat/combat-options-type.h"
4 #include "combat/martial-arts-table.h"
5 #include "grid/grid.h"
6 #include "system/angband.h"
7 #include "system/object-type-definition.h"
8 #include "system/monster-type-definition.h"
9
10 typedef enum chaotic_effect {
11     CE_NONE = 0,
12     CE_VAMPIRIC = 1,
13     CE_QUAKE = 2,
14     CE_CONFUSION = 3,
15     CE_TELE_AWAY = 4,
16     CE_POLYMORPH = 5,
17 } chaotic_effect;
18
19 typedef struct player_attack_type {
20     s16b hand;
21     combat_options mode;
22     monster_type *m_ptr;
23     bool backstab;
24     bool surprise_attack;
25     bool stab_fleeing;
26     bool monk_attack;
27     int num_blow;
28     HIT_POINT attack_damage;
29     GAME_TEXT m_name[MAX_NLEN];
30     BIT_FLAGS flags[TR_FLAG_SIZE];
31     chaotic_effect chaos_effect;
32     bool can_drain;
33     const martial_arts *ma_ptr;
34     int drain_result;
35     grid_type *g_ptr;
36     bool *fear;
37     bool *mdeath;
38     int drain_left;
39     bool weak;
40 } player_attack_type;