/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/ |
H A D | hudtargetbox.cpp | 536 ship *target_shipp; in renderTargetShip() local 543 target_shipp = &Ships[target_objp->instance]; in renderTargetShip() 590 …r_info.set_team_color(target_shipp->team_name, target_shipp->secondary_team_name, target_shipp->te… in renderTargetShip() 1439 ship* target_shipp = &Ships[target_objp->instance]; in render() local 1449 …((Iff_info[target_shipp->team].flags & IFFF_ORDERS_SHOWN) && !(Iff_info[target_shipp->team].flags … in render() 1452 auto orders = ship_return_orders(target_shipp); in render() 1620 ship *target_shipp; in renderTargetShipInfo() local 1629 target_shipp = &Ships[target_objp->instance]; in renderTargetShipInfo() 1644 hud_stuff_ship_name(outstr_name, target_shipp); in renderTargetShipInfo() 1645 hud_stuff_ship_class(outstr_class, target_shipp); in renderTargetShipInfo() [all …]
|
H A D | hudlock.cpp | 723 ship *target_shipp=nullptr; in hud_lock_acquire_current_target() local 730 target_shipp = &Ships[target_objp->instance]; in hud_lock_acquire_current_target() 740 if ( (target_shipp) && (Ship_info[target_shipp->ship_info_index].is_big_or_huge()) ) { in hud_lock_acquire_current_target() 755 ss = GET_FIRST(&target_shipp->subsys_list); in hud_lock_acquire_current_target() 756 while ( ss != END_OF_LIST( &target_shipp->subsys_list ) ) { in hud_lock_acquire_current_target() 2006 ship *target_shipp=NULL; in hud_lock_get_new_lock_pos() local 2015 target_shipp = &Ships[target_objp->instance]; in hud_lock_get_new_lock_pos() 2022 if ( (target_shipp) && (Ship_info[target_shipp->ship_info_index].is_big_or_huge()) && in hud_lock_get_new_lock_pos() 2042 ss = GET_FIRST(&target_shipp->subsys_list); in hud_lock_get_new_lock_pos() 2043 while ( ss != END_OF_LIST( &target_shipp->subsys_list ) ) { in hud_lock_get_new_lock_pos() [all …]
|
H A D | hud.cpp | 1510 ship *target_shipp = NULL; in hud_update_frame() local 1514 target_shipp = &Ships[targetp->instance]; in hud_update_frame() 1515 Player->target_is_dying = target_shipp->flags[Ship::Ship_Flags::Dying]; in hud_update_frame() 1518 …if ( target_shipp->flags[Ship::Ship_Flags::Depart_warp] || target_shipp->flags[Ship::Ship_Flags::E… in hud_update_frame() 1545 Assert( target_shipp != NULL ); in hud_update_frame() 1548 if (iff_x_attacks_y(target_shipp->team, Player_ship->team)) in hud_update_frame() 1557 if (stricmp(Ai_class_names[Ai_info[target_shipp->ai_index].ai_class], NOX("none")) != 0) in hud_update_frame() 1575 if ( target_shipp ) { in hud_update_frame()
|
H A D | hudtarget.cpp | 1090 ship *target_shipp; in hud_target_subobject_common() local 1092 target_shipp = &Ships[Objects[Player_ai->target_objnum].instance]; in hud_target_subobject_common() 1095 start = END_OF_LIST(&target_shipp->subsys_list); in hud_target_subobject_common() 1104 if ( A == &target_shipp->subsys_list ) { in hud_target_subobject_common() 1741 ship *target_shipp; in hud_target_live_turret() local 1760 target_shipp = &Ships[objp->instance]; in hud_target_live_turret() 1787 …for (A=GET_FIRST(&target_shipp->subsys_list); A!=END_OF_LIST(&target_shipp->subsys_list); A=GET_NE… in hud_target_live_turret() 1904 target_shipp->last_targeted_subobject[Player_num] = Player_ai->targeted_subsys; in hud_target_live_turret() 3368 ship *target_shipp = NULL; in hud_show_selection_set() local 3372 target_shipp = &Ships[targetp->instance]; in hud_show_selection_set() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/ |
H A D | hudtargetbox.cpp | 506 ship *target_shipp; in renderTargetShip() local 513 target_shipp = &Ships[target_objp->instance]; in renderTargetShip() 599 if (target_shipp->flags2 & SF2_GLOWMAPS_DISABLED) { in renderTargetShip() 1386 ship* target_shipp = &Ships[target_objp->instance]; in render() local 1395 …target_shipp->team) || ((Iff_info[target_shipp->team].flags & IFFF_ORDERS_SHOWN) && !(Iff_info[tar… in render() 1551 ship *target_shipp; in renderTargetShipInfo() local 1560 target_shipp = &Ships[target_objp->instance]; in renderTargetShipInfo() 1575 hud_stuff_ship_name(outstr_name, target_shipp); in renderTargetShipInfo() 1576 hud_stuff_ship_class(outstr_class, target_shipp); in renderTargetShipInfo() 1711 …if ( (target_shipp->flags & SF_DISABLED) || (ship_subsys_disrupted(target_shipp, SUBSYSTEM_ENGINE)… in renderTargetShipInfo() [all …]
|
H A D | hudlock.cpp | 1028 ship *target_shipp=NULL; in hud_lock_get_new_lock_pos() local 1037 target_shipp = &Ships[target_objp->instance]; in hud_lock_get_new_lock_pos() 1044 …if ( (target_shipp) && (Ship_info[target_shipp->ship_info_index].flags & (SIF_BIG_SHIP|SIF_HUGE_SH… in hud_lock_get_new_lock_pos() 1064 ss = GET_FIRST(&target_shipp->subsys_list); in hud_lock_get_new_lock_pos() 1065 while ( ss != END_OF_LIST( &target_shipp->subsys_list ) ) { in hud_lock_get_new_lock_pos() 1083 } else if ( (target_shipp) && (wip->wi_flags & WIF_HOMING_JAVELIN)) { in hud_lock_get_new_lock_pos() 1084 …Player->locking_subsys = ship_get_closest_subsys_in_sight(target_shipp, SUBSYSTEM_ENGINE, &Player_… in hud_lock_get_new_lock_pos()
|
H A D | hud.cpp | 1532 ship *target_shipp = NULL; in hud_update_frame() local 1536 target_shipp = &Ships[targetp->instance]; in hud_update_frame() 1537 Player->target_is_dying = target_shipp->flags & SF_DYING; in hud_update_frame() 1540 if ( target_shipp->flags & (SF_DEPART_WARP|SF_EXPLODED) ) { in hud_update_frame() 1567 Assert( target_shipp != NULL ); in hud_update_frame() 1570 if (iff_x_attacks_y(target_shipp->team, Player_ship->team)) in hud_update_frame() 1579 if (stricmp(Ai_class_names[Ai_info[target_shipp->ai_index].ai_class], NOX("none"))) in hud_update_frame() 1597 if ( target_shipp ) { in hud_update_frame()
|
H A D | hudtarget.cpp | 1093 ship *target_shipp; in hud_target_subobject_common() local 1095 target_shipp = &Ships[Objects[Player_ai->target_objnum].instance]; in hud_target_subobject_common() 1098 start = GET_FIRST(&target_shipp->subsys_list); in hud_target_subobject_common() 1107 if ( A == &target_shipp->subsys_list ) { in hud_target_subobject_common() 1730 ship *target_shipp; in hud_target_live_turret() local 1749 target_shipp = &Ships[objp->instance]; in hud_target_live_turret() 1776 …for (A=GET_FIRST(&target_shipp->subsys_list); A!=END_OF_LIST(&target_shipp->subsys_list); A=GET_NE… in hud_target_live_turret() 1893 target_shipp->last_targeted_subobject[Player_num] = Player_ai->targeted_subsys; in hud_target_live_turret() 3412 ship *target_shipp = NULL; in hud_show_selection_set() local 3416 target_shipp = &Ships[targetp->instance]; in hud_show_selection_set() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/parse/ |
H A D | sexp.cpp | 15102 ship *target_shipp = sexp_get_ship_from_node(node); in sexp_facing() local 15103 if (target_shipp == NULL) { in sexp_facing() 15116 vm_vec_sub(&v2, &Objects[target_shipp->objnum].pos, &Player_obj->pos); in sexp_facing() 16291 void ship_copy_damage(ship *target_shipp, ship *source_shipp) in ship_copy_damage() argument 16294 object *target_objp = &Objects[target_shipp->objnum]; in ship_copy_damage() 16299 if (target_shipp->ship_info_index != source_shipp->ship_info_index) in ship_copy_damage() 16301 …t ship class. Strange results might occur.\n", source_shipp->ship_name, target_shipp->ship_name)); in ship_copy_damage() 16306 target_shipp->special_hitpoints = source_shipp->special_hitpoints; in ship_copy_damage() 16307 target_shipp->ship_max_hull_strength = source_shipp->ship_max_hull_strength; in ship_copy_damage() 16311 target_shipp->ship_max_shield_strength = source_shipp->ship_max_shield_strength; in ship_copy_damage() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/parse/ |
H A D | sexp.cpp | 17826 void ship_copy_damage(ship *target_shipp, ship *source_shipp) in ship_copy_damage() argument 17829 object *target_objp = &Objects[target_shipp->objnum]; in ship_copy_damage() 17834 if (target_shipp->ship_info_index != source_shipp->ship_info_index) in ship_copy_damage() 17836 …t ship class. Strange results might occur.\n", source_shipp->ship_name, target_shipp->ship_name)); in ship_copy_damage() 17841 target_shipp->special_hitpoints = source_shipp->special_hitpoints; in ship_copy_damage() 17842 target_shipp->ship_max_hull_strength = source_shipp->ship_max_hull_strength; in ship_copy_damage() 17846 target_shipp->special_shield = source_shipp->special_shield; in ship_copy_damage() 17847 target_shipp->ship_max_shield_strength = source_shipp->ship_max_shield_strength; in ship_copy_damage() 17856 target_ss = ship_get_subsys(target_shipp, source_ss->system_info->subobj_name); in ship_copy_damage()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/patches/ |
H A D | colonial_hud.patch | 3690 …_pos, flags | MR_LOCK_DETAIL | MR_AUTOCENTER | MR_NO_FOGGING, -1, -1, target_shipp->ship_replaceme…
|