OSDN Git Service

Merge remote-tracking branch 'remotes/origin/feature/Fix-Sanity-Blast-by-AutoSave...
[hengband/hengband.git] / src / effect / effect-monster-util.h
1 #pragma once
2
3 #include "grid/grid.h"
4 #include "system/angband.h"
5 #include "system/monster-type-definition.h"
6
7 typedef struct effect_monster_type {
8     grid_type *g_ptr;
9     monster_type *m_ptr;
10     monster_type *m_caster_ptr;
11     monster_race *r_ptr;
12     char killer[MAX_MONSTER_NAME];
13     bool seen;
14     bool seen_msg;
15     bool slept;
16     bool obvious;
17     bool known;
18     bool skipped;
19     bool get_angry;
20     bool do_polymorph;
21     int do_dist;
22     int do_conf;
23     int do_stun;
24     int do_sleep;
25     int do_fear;
26     int do_time;
27     bool heal_leper;
28     GAME_TEXT m_name[MAX_NLEN];
29     char m_poss[10];
30     PARAMETER_VALUE photo;
31     concptr note;
32     concptr note_dies;
33     DEPTH caster_lev;
34
35     MONSTER_IDX who;
36     POSITION r;
37     POSITION y;
38     POSITION x;
39     HIT_POINT dam;
40     EFFECT_ID effect_type;
41     BIT_FLAGS flag;
42     bool see_s_msg;
43 } effect_monster_type;
44
45 effect_monster_type *initialize_effect_monster(player_type *caster_ptr, effect_monster_type *em_ptr, MONSTER_IDX who, POSITION r, POSITION y, POSITION x,
46     HIT_POINT dam, EFFECT_ID effect_type, BIT_FLAGS flag, bool see_s_msg);