Searched refs:dmg_type_idx (Results 1 – 6 of 6) sorted by relevance
587 int dmg_type_idx = -1; in do_subobj_hit_stuff() local596 dmg_type_idx = shockwave_get_damage_type_idx(other_obj->instance); in do_subobj_hit_stuff()600 dmg_type_idx = Weapon_info[beam_get_weapon_info_index(other_obj)].damage_type_idx; in do_subobj_hit_stuff()606 dmg_type_idx = Ships[other_obj->instance].collision_damage_type_idx; in do_subobj_hit_stuff()2060 int dmg_type_idx = -1; in ship_do_damage() local2066 dmg_type_idx = Weapon_info[beam_get_weapon_info_index(other_obj)].damage_type_idx; in ship_do_damage()2068 dmg_type_idx = shockwave_get_damage_type_idx(other_obj->instance); in ship_do_damage()2074 dmg_type_idx = Ships[other_obj->instance].collision_damage_type_idx; in ship_do_damage()2140 int dmg_type_idx = -1; in ship_do_damage() local2146 dmg_type_idx = shockwave_get_damage_type_idx(other_obj->instance); in ship_do_damage()[all …]
506 int dmg_type_idx = -1; in do_subobj_heal_stuff() local515 dmg_type_idx = shockwave_get_damage_type_idx(other_obj->instance); in do_subobj_heal_stuff()517 dmg_type_idx = Weapon_info[Weapons[other_obj->instance].weapon_info_index].damage_type_idx; in do_subobj_heal_stuff()519 dmg_type_idx = Weapon_info[beam_get_weapon_info_index(other_obj)].damage_type_idx; in do_subobj_heal_stuff()824 int dmg_type_idx = -1; in do_subobj_hit_stuff() local833 dmg_type_idx = shockwave_get_damage_type_idx(other_obj->instance); in do_subobj_hit_stuff()835 dmg_type_idx = Weapon_info[Weapons[other_obj->instance].weapon_info_index].damage_type_idx; in do_subobj_hit_stuff()837 dmg_type_idx = Weapon_info[beam_get_weapon_info_index(other_obj)].damage_type_idx; in do_subobj_hit_stuff()839 dmg_type_idx = Asteroid_info[Asteroids[other_obj->instance].asteroid_type].damage_type_idx; in do_subobj_hit_stuff()841 dmg_type_idx = Debris[other_obj->instance].damage_type_idx; in do_subobj_hit_stuff()[all …]
3750 int dmg_type_idx, piercing_type; in beam_handle_collisions() local3755 dmg_type_idx = wi->damage_type_idx; in beam_handle_collisions()3759 piercing_type = Armor_types[shipp->armor_type_idx].GetPiercingType(dmg_type_idx); in beam_handle_collisions()3761 draw_limit = Armor_types[shipp->armor_type_idx].GetPiercingLimit(dmg_type_idx); in beam_handle_collisions()3847 int dmg_type_idx = wi->damage_type_idx; in beam_handle_collisions() local3851 damage = Armor_types[trgt_wip->armor_type_idx].GetDamage(damage, dmg_type_idx, 1.0f, true); in beam_handle_collisions()
6976 int dmg_type_idx, piercing_type; in weapon_hit() local6981 dmg_type_idx = wip->damage_type_idx; in weapon_hit()6985 piercing_type = Armor_types[shipp->armor_type_idx].GetPiercingType(dmg_type_idx); in weapon_hit()6987 draw_limit = Armor_types[shipp->armor_type_idx].GetPiercingLimit(dmg_type_idx); in weapon_hit()
2979 int dmg_type_idx, piercing_type; in beam_handle_collisions() local2984 dmg_type_idx = wi->damage_type_idx; in beam_handle_collisions()2988 piercing_type = Armor_types[shipp->armor_type_idx].GetPiercingType(dmg_type_idx); in beam_handle_collisions()2990 draw_limit = Armor_types[shipp->armor_type_idx].GetPiercingLimit(dmg_type_idx); in beam_handle_collisions()
5987 int dmg_type_idx, piercing_type; in weapon_hit() local5992 dmg_type_idx = wip->damage_type_idx; in weapon_hit()5996 piercing_type = Armor_types[shipp->armor_type_idx].GetPiercingType(dmg_type_idx); in weapon_hit()5998 draw_limit = Armor_types[shipp->armor_type_idx].GetPiercingLimit(dmg_type_idx); in weapon_hit()