2 * @brief monster-processのための構造体群
9 #include "monster-race/race-ability-flags.h"
10 #include "monster-race/race-behavior-flags.h"
11 #include "system/angband.h"
12 #include "util/flag-group.h"
22 bool must_alter_to_move;
33 struct old_race_flags {
34 BIT_FLAGS old_r_flags1;
35 BIT_FLAGS old_r_flags2;
36 BIT_FLAGS old_r_flags3;
37 BIT_FLAGS old_r_flagsr;
38 EnumClassFlagGroup<MonsterAbilityType> old_r_ability_flags;
39 EnumClassFlagGroup<MonsterBehaviorType> old_r_behavior_flags;
46 byte old_r_cast_spell;
49 struct coordinate_candidate {
56 turn_flags *init_turn_flags(MONSTER_IDX riding_idx, MONSTER_IDX m_idx, turn_flags *turn_flags_ptr);
57 old_race_flags *init_old_race_flags(old_race_flags *old_race_flags_ptr);
58 coordinate_candidate init_coordinate_candidate(void);
60 void store_enemy_approch_direction(int *mm, POSITION y, POSITION x);
61 void store_moves_val(int *mm, int y, int x);
62 void save_old_race_flags(MONRACE_IDX monster_race_idx, old_race_flags *old_race_flags_ptr);
63 byte decide_monster_speed(monster_type *m_ptr);