OSDN Git Service

Merge branch 'feature/english-correction' into develop
[hengband/hengband.git] / src / blue-magic / blue-magic-util.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 // Blue Magic Cast.
6 typedef struct bmc_type {
7     DIRECTION dir;
8     PLAYER_LEVEL plev;
9     PLAYER_LEVEL summon_lev;
10     HIT_POINT damage;
11     bool pet;
12     bool no_trump;
13     BIT_FLAGS p_mode;
14     BIT_FLAGS u_mode;
15     BIT_FLAGS g_mode;
16 } bmc_type;
17
18 typedef PLAYER_LEVEL (*get_pseudo_monstetr_level_pf)(player_type *caster_ptr);
19 bmc_type *initialize_blue_magic_type(
20     player_type *caster_ptr, bmc_type *bmc_ptr, const bool success, get_pseudo_monstetr_level_pf get_pseudo_monstetr_level);