OSDN Git Service

To be more idiomatic, drop "was" from English message for death of dragon centipedes.
[hengband/hengband.git] / src / monster / monster-info.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "system/monster-type-definition.h"
5
6 /*
7  * Bit flags for the *_can_enter() and monster_can_cross_terrain()
8  */
9 #define CEM_RIDING 0x0001
10 #define CEM_P_CAN_ENTER_PATTERN 0x0002
11 bool monster_can_cross_terrain(player_type *player_ptr, FEAT_IDX feat, monster_race *r_ptr, BIT_FLAGS16 mode);
12 bool monster_can_enter(player_type *player_ptr, POSITION y, POSITION x, monster_race *r_ptr, BIT_FLAGS16 mode);
13 bool are_enemies(player_type *player_ptr, monster_type *m_ptr1, monster_type *m_ptr2);
14 bool monster_has_hostile_align(player_type *player_ptr, monster_type *m_ptr, int pa_good, int pa_evil, monster_race *r_ptr);
15 bool is_original_ap_and_seen(player_type *player_ptr, monster_type *m_ptr);
16
17 bool is_friendly(monster_type *m_ptr);
18 bool is_pet(monster_type *m_ptr);
19 bool is_hostile(monster_type *m_ptr);
20 bool is_original_ap(monster_type *m_ptr);
21
22 monster_race *real_r_ptr(monster_type *m_ptr);
23 MONRACE_IDX real_r_idx(monster_type *m_ptr);
24 void monster_name(player_type *player_ptr, MONSTER_IDX m_idx, char *m_name);