3 #include "system/angband.h"
5 #define NUM_NEST_MON_TYPE 64 /*!<nestの種別数 */
6 #define TRAPPED_PIT_MONSTER_PLACE_MAX 69
8 /*! nestのID定義 / Nest types code */
12 NEST_TYPE_SYMBOL_GOOD = 2,
13 NEST_TYPE_SYMBOL_EVIL = 3,
15 NEST_TYPE_LOVECRAFTIAN = 5,
22 /*! pitのID定義 / Pit types code */
27 PIT_TYPE_LOVECRAFTIAN = 3,
28 PIT_TYPE_SYMBOL_GOOD = 4,
29 PIT_TYPE_SYMBOL_EVIL = 5,
33 PIT_TYPE_DARK_ELF = 9,
36 /*! pit/nest型情報の構造体定義 */
37 typedef struct player_type player_type;
38 struct nest_pit_type {
39 concptr name; //<! 部屋名
40 bool (*hook_func)(player_type *player_ptr, MONRACE_IDX r_idx); //<! モンスターフィルタ関数
41 void (*prep_func)(player_type *player_ptr); //<! 能力フィルタ関数
46 /*! デバッグ時にnestのモンスター情報を確認するための構造体 / A struct for nest monster information with cheat_hear */
47 struct nest_mon_info_type {
48 MONRACE_IDX r_idx; //!< モンスター種族ID
49 bool used; //!< 既に選んだかどうか
52 typedef struct dun_data_type dun_data_type;
53 bool build_type5(player_type *player_ptr, dun_data_type *dd_ptr);
54 bool build_type6(player_type *player_ptr, dun_data_type *dd_ptr);
55 bool build_type13(player_type *player_ptr, dun_data_type *dd_ptr);