static int _get_powers(spell_info* spells, int max) { int ct = get_powers_aux(spells, max, _powers); switch (p_ptr->current_r_idx) { case MON_AKLASH: ct += get_powers_aux(spells + ct, max - ct, _aklash_powers); break; case MON_STORM_TROLL: ct += get_powers_aux(spells + ct, max - ct, _storm_troll_powers); break; case MON_TROLL_KING: ct += get_powers_aux(spells + ct, max - ct, _troll_king_powers); break; } return ct; }
static int _get_powers(spell_info* spells, int max) { int ct = get_powers_aux(spells, max, _powers); switch (p_ptr->current_r_idx) { case MON_COLOSSUS: ct += get_powers_aux(spells + ct, max - ct, _colossus_powers); break; case MON_SKY_GOLEM: ct += get_powers_aux(spells + ct, max - ct, _sky_powers); break; case MON_SPELLWARP_AUTOMATON: ct += get_powers_aux(spells + ct, max - ct, _spellwarp_powers); break; } return ct; }
static int _get_powers(spell_info* spells, int max) { return get_powers_aux(spells, max, _powers); }
static int _get_powers(spell_info* spells, int max) { int ct = get_powers_aux(spells, max, _powers); if (p_ptr->current_r_idx == MON_HOUND_OF_TINDALOS) ct += get_powers_aux(spells + ct, max - ct, _tindalos_powers); return ct; }
static int _get_powers(spell_info* spells, int max) { _on_mirror = is_mirror_grid(&cave[py][px]); return get_powers_aux(spells, max, _powers); }
static int _half_titan_get_powers(spell_info* spells, int max) { return get_powers_aux(spells, max, _half_titan_powers); }
static int _cave_spider_get_powers(spell_info* spells, int max) { return get_powers_aux(spells, max, _cave_spider_powers); }