OSDN Git Service

53906cd0ddd4d6673dfea163f069d28ad499e529
[hengbandforosx/hengbandosx.git] / src / blue-magic / blue-magic-util.h
1 #pragma once
2 /*!
3  * @file blue-magic-util.h
4  * @brief 青魔法の構造体、初期化処理ヘッダ
5  */
6
7 #include "system/angband.h"
8
9 // Blue Magic Cast.
10 struct bmc_type {
11     DIRECTION dir;
12     PLAYER_LEVEL plev;
13     PLAYER_LEVEL summon_lev;
14     HIT_POINT damage;
15     bool pet;
16     bool no_trump;
17     BIT_FLAGS p_mode;
18     BIT_FLAGS u_mode;
19     BIT_FLAGS g_mode;
20 };
21
22 class PlayerType;
23 typedef PLAYER_LEVEL (*get_pseudo_monstetr_level_pf)(PlayerType *player_ptr);
24 bmc_type *initialize_blue_magic_type(
25     PlayerType *player_ptr, bmc_type *bmc_ptr, const bool success, get_pseudo_monstetr_level_pf get_pseudo_monstetr_level);