Lines Matching refs:r_idx

40 static bool know_armour(int r_idx, const monster_lore *l_ptr)  in know_armour()  argument
42 const monster_race *r_ptr = &r_info[r_idx]; in know_armour()
67 static bool know_damage(int r_idx, const monster_lore *l_ptr, int i) in know_damage() argument
69 const monster_race *r_ptr = &r_info[r_idx]; in know_damage()
94 static void describe_monster_desc(int r_idx) in describe_monster_desc() argument
96 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_desc()
108 static void describe_monster_spells(int r_idx, const monster_lore *l_ptr) in describe_monster_spells() argument
110 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_spells()
338 static void describe_monster_drop(int r_idx, const monster_lore *l_ptr) in describe_monster_drop() argument
340 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_drop()
441 static void describe_monster_attack(int r_idx, const monster_lore *l_ptr) in describe_monster_attack() argument
443 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_attack()
584 if (d1 && d2 && know_damage(r_idx, l_ptr, m)) in describe_monster_attack()
617 static void describe_monster_abilities(int r_idx, const monster_lore *l_ptr) in describe_monster_abilities() argument
619 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_abilities()
888 static void describe_monster_kills(int r_idx, const monster_lore *l_ptr) in describe_monster_kills() argument
890 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_kills()
999 static void describe_monster_toughness(int r_idx, const monster_lore *l_ptr) in describe_monster_toughness() argument
1001 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_toughness()
1011 if (know_armour(r_idx, l_ptr)) in describe_monster_toughness()
1034 static void describe_monster_exp(player_type *p_ptr, int r_idx, const monster_lore *l_ptr) in describe_monster_exp() argument
1036 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_exp()
1087 static void describe_monster_movement(int r_idx, const monster_lore *l_ptr, bool depth_in_feet) in describe_monster_movement() argument
1089 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_movement()
1194 static void cheat_monster_lore(int r_idx, monster_lore *l_ptr) in cheat_monster_lore() argument
1196 const monster_race *r_ptr = &r_info[r_idx]; in cheat_monster_lore()
1244 void describe_monster_name(player_type *p_ptr, int r_idx) in describe_monster_name() argument
1246 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster_name()
1253 c2 = p_ptr->r_char[r_idx]; in describe_monster_name()
1257 a2 = p_ptr->r_attr[r_idx]; in describe_monster_name()
1293 void describe_monster(player_type *p_ptr, int r_idx, bool spoilers) in describe_monster() argument
1295 const monster_race *r_ptr = &r_info[r_idx]; in describe_monster()
1300 l_ptr = p_ptr->l_list + r_idx; in describe_monster()
1320 describe_monster_name(p_ptr, r_idx); in describe_monster()
1323 if (p_ptr->dm_flags & DM_SEE_MONSTERS || spoilers) cheat_monster_lore(r_idx, &lore); in describe_monster()
1327 describe_monster_kills(r_idx, &lore); in describe_monster()
1331 describe_monster_desc(r_idx); in describe_monster()
1334 describe_monster_movement(r_idx, &lore, option_p(p_ptr, DEPTH_IN_FEET)); in describe_monster()
1337 if (!spoilers) describe_monster_exp(p_ptr, r_idx, &lore); in describe_monster()
1340 describe_monster_spells(r_idx, &lore); in describe_monster()
1343 if (!spoilers) describe_monster_toughness(r_idx, &lore); in describe_monster()
1346 describe_monster_abilities(r_idx, &lore); in describe_monster()
1349 describe_monster_drop(r_idx, &lore); in describe_monster()
1352 describe_monster_attack(r_idx, &lore); in describe_monster()
1366 int monster_richness(int r_idx) in monster_richness() argument
1370 return (r_info[r_idx].flags1 & RF1_DROP_USEFUL)*6 + in monster_richness()
1371 (r_info[r_idx].flags1 & RF1_DROP_GREAT)*4 + in monster_richness()
1372 (r_info[r_idx].flags1 & RF1_DROP_GOOD)*3 + in monster_richness()
1373 (r_info[r_idx].flags1 & RF1_DROP_90)*2 + in monster_richness()
1374 (r_info[r_idx].flags1 & RF1_DROP_60)*1; in monster_richness()
1379 u16b rand_mimic_kind(int r_idx) in rand_mimic_kind() argument
1382 monster_race *r_ptr = &r_info[r_idx]; in rand_mimic_kind()
1409 static void roff_top(int r_idx)
1411 monster_race *r_ptr = &r_info[r_idx];
1462 void screen_text_out(int r_idx) in screen_text_out() argument
1472 roff_aux(r_idx); in screen_text_out()
1475 roff_top(r_idx); in screen_text_out()
1485 void display_text_out(int r_idx) in display_text_out() argument
1501 roff_aux(r_idx); in display_text_out()
1504 roff_top(r_idx); in display_text_out()