OSDN Git Service

[Refactor] #39963 Changed the variable name from do_poly to do_polymorph in effect_mo...
[hengband/hengband.git] / src / effect / effect-monster-util.h
1 #pragma once
2
3 typedef struct
4 {
5         grid_type *g_ptr;
6         monster_type *m_ptr;
7         monster_type *m_caster_ptr;
8         monster_race *r_ptr;
9         char killer[80];
10         bool seen;
11         bool seen_msg;
12         bool slept;
13         bool obvious;
14         bool known;
15         bool skipped;
16         bool get_angry;
17         bool do_polymorph;
18         int do_dist;
19         int do_conf;
20         int do_stun;
21         int do_sleep;
22         int do_fear;
23         int do_time;
24         bool heal_leper;
25         GAME_TEXT m_name[MAX_NLEN];
26         char m_poss[10];
27         PARAMETER_VALUE photo;
28         concptr note;
29         concptr note_dies;
30         DEPTH caster_lev;
31
32         MONSTER_IDX who;
33         POSITION r;
34         POSITION y;
35         POSITION x;
36         HIT_POINT dam;
37         EFFECT_ID effect_type;
38         BIT_FLAGS flag;
39         bool see_s_msg;
40 } effect_monster_type;
41
42 void initialize_effect_monster(player_type *caster_ptr, effect_monster_type *em_ptr, MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_POINT dam, EFFECT_ID effect_type, BIT_FLAGS flag, bool see_s_msg);