OSDN Git Service

[Fix] #41487 SoundとMusicを間違えていたので修正 / Resolved the typo
[hengband/hengband.git] / src / monster-attack / monster-attack-util.h
1 #pragma once
2
3 #include "monster-attack/monster-attack-effect.h"
4 #include "monster-attack/monster-attack-types.h"
5 #include "system/angband.h"
6 #include "system/monster-type-definition.h"
7
8 /* MONster-Attack-Player、地図のMAPと紛らわしいのでmonapとした */
9 typedef struct monap_type {
10 #ifdef JP
11     int abbreviate; // 2回目以降の省略表現フラグ.
12 #endif
13     MONSTER_IDX m_idx;
14     monster_type *m_ptr;
15     concptr act;
16     int do_cut;
17     int do_stun;
18     bool touched;
19     rbm_type method;
20     bool explode;
21     DEPTH rlev;
22     GAME_TEXT m_name[MAX_NLEN];
23     bool do_silly_attack;
24     int d_dice;
25     int d_side;
26     object_type *o_ptr;
27     bool obvious;
28     HIT_POINT damage;
29     rbe_type effect;
30     bool blinked;
31     GAME_TEXT o_name[MAX_NLEN];
32     HIT_POINT get_damage;
33     GAME_TEXT ddesc[MAX_MONSTER_NAME];
34     ARMOUR_CLASS ac;
35     bool alive;
36     bool fear;
37     int ap_cnt;
38 } monap_type;
39
40 monap_type *initialize_monap_type(player_type *target_ptr, monap_type *monap_ptr, MONSTER_IDX m_idx);