Home
last modified time | relevance | path

Searched refs:armor_type_idx (Results 1 – 24 of 24) sorted by relevance

/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/object/
H A Dcollideweaponweapon.cpp96 if (wipB->armor_type_idx >= 0) in collide_weapon_weapon()
97 aDamage = Armor_types[wipB->armor_type_idx].GetDamage(aDamage, wipA->damage_type_idx, 1.0f); in collide_weapon_weapon()
100 if (wipA->armor_type_idx >= 0) in collide_weapon_weapon()
101 bDamage = Armor_types[wipA->armor_type_idx].GetDamage(bDamage, wipB->damage_type_idx, 1.0f); in collide_weapon_weapon()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/object/
H A Dcollideweaponweapon.cpp105 if (wipB->armor_type_idx >= 0) in collide_weapon_weapon()
106 aDamage = Armor_types[wipB->armor_type_idx].GetDamage(aDamage, wipA->damage_type_idx, 1.0f); in collide_weapon_weapon()
109 if (wipA->armor_type_idx >= 0) in collide_weapon_weapon()
110 bDamage = Armor_types[wipA->armor_type_idx].GetDamage(bDamage, wipB->damage_type_idx, 1.0f); in collide_weapon_weapon()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ship/
H A Dshiphit.cpp509 if (ship_p->armor_type_idx > -1) in do_subobj_heal_stuff()
510 parent_armor_flags = Armor_types[ship_p->armor_type_idx].flags; in do_subobj_heal_stuff()
564 if (subsystem->armor_type_idx > -1) in do_subobj_heal_stuff()
566 …healing_left = Armor_types[subsystem->armor_type_idx].GetDamage(healing_left, dmg_type_idx, 1.0f); in do_subobj_heal_stuff()
601 if (subsystem->armor_type_idx >= 0) in do_subobj_heal_stuff()
827 if(ship_p->armor_type_idx > -1) in do_subobj_hit_stuff()
828 parent_armor_flags = Armor_types[ship_p->armor_type_idx].flags; in do_subobj_hit_stuff()
889 if(subsystem->armor_type_idx > -1) in do_subobj_hit_stuff()
965 if (subsystem->armor_type_idx >= 0) { in do_subobj_hit_stuff()
2398 if(shipp->armor_type_idx != -1) in ship_do_damage()
[all …]
H A Dship.h344 int armor_type_idx; // FUBAR variable
770 int armor_type_idx; variable
1331 int armor_type_idx; variable
H A Dship.cpp1123 armor_type_idx = other.armor_type_idx; in clone()
1437 armor_type_idx = other.armor_type_idx; in move()
1867 armor_type_idx = -1; in ship_info()
3751 if(sip->armor_type_idx == -1) in parse_ship_values()
4752 sp->armor_type_idx = -1; in parse_ship_values()
4810 if (sp->armor_type_idx == -1) in parse_ship_values()
6446 armor_type_idx = -1; in clear()
6725 shipp->armor_type_idx = sip->armor_type_idx; in ship_set()
6913 armor_type_idx = -1; in clear()
7109 ship_system->armor_type_idx = model_system->armor_type_idx; in subsys_set()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ship/
H A Dshiphit.cpp590 if(ship_p->armor_type_idx > -1) in do_subobj_hit_stuff()
591 parent_armor_flags = Armor_types[ship_p->armor_type_idx].flags; in do_subobj_hit_stuff()
648 if(subsystem->armor_type_idx > -1) in do_subobj_hit_stuff()
650 …damage = Armor_types[subsystem->armor_type_idx].GetDamage(damage, dmg_type_idx, 1.0f); // Nuke: I … in do_subobj_hit_stuff()
724 if (subsystem->armor_type_idx >= 0) { in do_subobj_hit_stuff()
726 …damage_to_apply = Armor_types[subsystem->armor_type_idx].GetDamage(damage_to_apply, dmg_type_idx, … in do_subobj_hit_stuff()
2155 if(shipp->armor_type_idx != -1) in ship_do_damage()
2157 …damage = Armor_types[shipp->armor_type_idx].GetDamage(damage, dmg_type_idx, difficulty_scale_facto… in ship_do_damage()
H A Dship.h323 int armor_type_idx; // FUBAR variable
790 int armor_type_idx; variable
1382 int armor_type_idx; variable
H A Dship.cpp951 sip->armor_type_idx = -1; in init_ship_entry()
2634 sip->armor_type_idx = armor_type_get_idx(buf); in parse_ship_values()
2636 if(sip->armor_type_idx == -1) in parse_ship_values()
3411 sp->armor_type_idx = -1; in parse_ship_values()
3467 sp->armor_type_idx = armor_type_get_idx(buf); in parse_ship_values()
3469 if (sp->armor_type_idx == -1) in parse_ship_values()
5169 armor_type_idx = -1; in clear()
5313 shipp->armor_type_idx = sip->armor_type_idx; in ship_set()
5496 armor_type_idx = -1; in clear()
5672 ship_system->armor_type_idx = model_system->armor_type_idx; in subsys_set()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/weapon/
H A Dshockwave.cpp348 if (wip->armor_type_idx >= 0) in shockwave_move()
349 …damage = Armor_types[wip->armor_type_idx].GetDamage(damage, shockwave_get_damage_type_idx(shockwav… in shockwave_move()
H A Dbeam.cpp2968 if (shipp->armor_type_idx != -1) { in beam_handle_collisions()
2969 …if (Armor_types[shipp->armor_type_idx].GetPiercingType(wi->damage_type_idx) == SADTF_PIERCING_RETA… in beam_handle_collisions()
2987 if (shipp->armor_type_idx != -1) { 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()
3427 if (shipp->armor_type_idx != -1) { in beam_will_tool_target()
3428 …if (Armor_types[shipp->armor_type_idx].GetPiercingType(wip->damage_type_idx) == SADTF_PIERCING_NON… in beam_will_tool_target()
3431 hp_limit = Armor_types[shipp->armor_type_idx].GetPiercingLimit(wip->damage_type_idx); in beam_will_tool_target()
H A Dweapon.h502 int armor_type_idx; // Weapon armor type member
H A Dweapons.cpp853 wip->armor_type_idx = -1; in init_weapon_entry()
2586 wip->armor_type_idx = armor_type_get_idx(buf); in parse_weapon()
2588 if(wip->armor_type_idx == -1) in parse_weapon()
5845 if (target_wip->armor_type_idx >= 0) in weapon_do_area_effect()
5846 damage = Armor_types[target_wip->armor_type_idx].GetDamage(damage, wip->damage_type_idx, 1.0f); in weapon_do_area_effect()
5995 if (shipp->armor_type_idx != -1) { 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()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/weapon/
H A Dshockwave.cpp346 if (wip->armor_type_idx >= 0) in shockwave_move()
347 …damage = Armor_types[wip->armor_type_idx].GetDamage(damage, shockwave_get_damage_type_idx(shockwav… in shockwave_move()
H A Dbeam.cpp3739 if (shipp->armor_type_idx != -1) { in beam_handle_collisions()
3740 …if (Armor_types[shipp->armor_type_idx].GetPiercingType(wi->damage_type_idx) == SADTF_PIERCING_RETA… in beam_handle_collisions()
3758 if (shipp->armor_type_idx != -1) { 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()
3850 if (trgt_wip->armor_type_idx != -1) in beam_handle_collisions()
3851 damage = Armor_types[trgt_wip->armor_type_idx].GetDamage(damage, dmg_type_idx, 1.0f, true); in beam_handle_collisions()
4123 if (shipp->armor_type_idx != -1) { in beam_will_tool_target()
4124 …if (Armor_types[shipp->armor_type_idx].GetPiercingType(wip->damage_type_idx) == SADTF_PIERCING_NON… in beam_will_tool_target()
4127 hp_limit = Armor_types[shipp->armor_type_idx].GetPiercingLimit(wip->damage_type_idx); in beam_will_tool_target()
H A Dweapon.h542 int armor_type_idx; // Weapon armor type member
H A Dweapons.cpp3256 wip->armor_type_idx = armor_type_get_idx(buf); in parse_weapon()
3258 if(wip->armor_type_idx == -1) in parse_weapon()
6827 if (target_wip->armor_type_idx >= 0) in weapon_do_area_effect()
6828 …damage = Armor_types[target_wip->armor_type_idx].GetDamage(damage, wip->shockwave.damage_type_idx,… in weapon_do_area_effect()
6984 if (shipp->armor_type_idx != -1) { 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()
8699 this->armor_type_idx = -1; in reset()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scripting/api/objs/
H A Dsubsystem.cpp59 ssys->armor_type_idx = atindex;
61 atindex = ssys->armor_type_idx;
H A Dship.cpp228 shipp->armor_type_idx = atindex;
230 atindex = shipp->armor_type_idx;
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/model/
H A Dmodel.h176 int armor_type_idx; // Armor type on teh subsystem -C member
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/model/
H A Dmodel.h155 int armor_type_idx; // Armor type on teh subsystem -C variable
H A Dmodelread.cpp5455 armor_type_idx = 0; in reset()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/parse/
H A Dsexp.cpp17158 shipp->armor_type_idx = sip->armor_type_idx; in sexp_set_armor_type()
17160 shipp->armor_type_idx = armor; in sexp_set_armor_type()
17181 ss->armor_type_idx = ss->system_info->armor_type_idx; in sexp_set_armor_type()
17183 ss->armor_type_idx = armor; in sexp_set_armor_type()
H A Dlua.cpp6883 ssys->armor_type_idx = atindex;
8294 shipp->armor_type_idx = atindex;
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/parse/
H A Dsexp.cpp18699 shipp->armor_type_idx = sip->armor_type_idx; in sexp_set_armor_type()
18701 shipp->armor_type_idx = armor; in sexp_set_armor_type()
18721 ss->armor_type_idx = ss->system_info->armor_type_idx; in sexp_set_armor_type()
18723 ss->armor_type_idx = armor; in sexp_set_armor_type()