#define MR1_SINKA 0x01
-#define is_friendly(A) \
- (bool)(((A)->smart & SM_FRIENDLY) ? TRUE : FALSE)
-
-#define is_friendly_idx(IDX) \
- (bool)((IDX) > 0 && is_friendly(¤t_floor_ptr->m_list[(IDX)]))
-
-#define is_pet(A) \
- (bool)(((A)->smart & SM_PET) ? TRUE : FALSE)
-
-#define is_hostile(A) \
- (bool)((is_friendly(A) || is_pet(A)) ? FALSE : TRUE)
-
/* Hack -- Determine monster race appearance index is same as race index */
#define is_original_ap(A) \
(bool)(((A)->ap_r_idx == (A)->r_idx) ? TRUE : FALSE)
extern bool alloc_guardian(bool def_val);
extern bool alloc_monster(POSITION dis, BIT_FLAGS mode);
-
extern void monster_desc(char *desc, monster_type *m_ptr, BIT_FLAGS mode);
/* Bit flags for monster_desc() */
#define MD_OBJECTIVE 0x00000001 /* Objective (or Reflexive) */
extern bool monster_has_hostile_align(monster_type *m_ptr, int pa_good, int pa_evil, monster_race *r_ptr);
extern void dice_to_string(int base_damage, int dice_num, int dice_side, int dice_mult, int dice_div, char* msg);
extern concptr look_mon_desc(monster_type *m_ptr, BIT_FLAGS mode);
+
+#define is_friendly(A) \
+ (bool)(((A)->smart & SM_FRIENDLY) ? TRUE : FALSE)
+
+#define is_friendly_idx(IDX) \
+ (bool)((IDX) > 0 && is_friendly(¤t_floor_ptr->m_list[(IDX)]))
+
+#define is_pet(A) \
+ (bool)(((A)->smart & SM_PET) ? TRUE : FALSE)
+
+#define is_hostile(A) \
+ (bool)((is_friendly(A) || is_pet(A)) ? FALSE : TRUE)
\ No newline at end of file