Home
last modified time | relevance | path

Searched refs:shipp (Results 1 – 25 of 215) sorted by relevance

123456789

/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ship/
H A Dshipcontrails.cpp71 Assert(shipp != NULL); in ct_ship_create()
90 Assert(shipp != NULL); in ct_ship_delete()
111 Assert(shipp != NULL); in ct_ship_process()
112 Assert(shipp->objnum >= 0); in ct_ship_process()
195 Assert(shipp != NULL); in ct_update_contrails()
196 Assert(shipp->objnum >= 0); in ct_update_contrails()
238 Assert(shipp != NULL); in ct_create_contrails()
271 Assert(shipp != NULL); in ct_ship_process_ABtrails()
334 Assert(shipp != NULL); in ct_create_ABtrails()
349 shipp->ABtrail_ptr[idx] = trail_create(&shipp->ab_info[idx]); in ct_create_ABtrails()
[all …]
H A Dafterburner.cpp68 ship *shipp; in afterburners_start() local
79 shipp = &Ships[objp->instance]; in afterburners_start()
80 Assert( shipp->ship_info_index >= 0 && shipp->ship_info_index < ship_info_size() ); in afterburners_start()
133 shipp->afterburner_last_engage_fuel = shipp->afterburner_fuel; in afterburners_start()
187 ship *shipp; in afterburners_update() local
190 shipp = &Ships[objp->instance]; in afterburners_update()
192 Assert( shipp->ship_info_index >= 0 && shipp->ship_info_index < ship_info_size() ); in afterburners_update()
264 shipp->afterburner_fuel = 0.0f; in afterburners_update()
303 ship *shipp; in afterburners_stop() local
305 shipp = &Ships[objp->instance]; in afterburners_stop()
[all …]
H A Dawacs.cpp99 ship *shipp; in awacs_update_all_levels() local
121 if ((shipp->is_dying_or_departing() || shipp->is_arriving())) in awacs_update_all_levels()
178 ship *shipp = NULL; in awacs_get_level() local
208 shipp = &Ships[target->instance]; in awacs_get_level()
229 Assert( shipp != NULL ); in awacs_get_level()
230 if (shipp->tag_left > 0.0f || shipp->level2_tag_left > 0.0f) in awacs_get_level()
355 ship *shipp; in team_visibility_update() local
370 shipp = &Ships[ship_num]; in team_visibility_update()
373 if (shipp->is_dying_or_departing() || shipp->is_arriving()) in team_visibility_update()
385 team_ships[shipp->team][team_count[shipp->team]] = ship_num; in team_visibility_update()
[all …]
H A Dshipfx.cpp72 if (shipp->num_hits == 0) { in shipfx_remove_submodel_ship_sparks()
563 ship *shipp; in shipfx_warpin_frame() local
660 ship* shipp; in shipfx_warpout_start() local
712 ship *shipp; in shipfx_warpout_frame() local
1163 ship *shipp = &Ships[n]; in shipfx_emit_spark() local
1229 if ((shipp->is_arriving()) && (shipp->warpin_effect)) in shipfx_emit_spark()
2425 Assert(shipp != NULL); in shipfx_do_shockwave_stuff()
2426 if(shipp == NULL){ in shipfx_do_shockwave_stuff()
2434 if(shipp->objnum < 0){ in shipfx_do_shockwave_stuff()
2520 Assert(shipp != NULL); in DCF_BOOL()
[all …]
H A Dship.cpp7708 ship *shipp; in ship_delete() local
8149 ship *shipp; in ship_blow_up_area_apply_blast() local
8515 shipp->death_time = shipp->final_death_time; in ship_dying_frame()
9401 shipp->radar_last_status = shipp->radar_current_status; in MONITOR()
9442 ship *shipp; in ship_process_post() local
9884 trail_info *ci = &shipp->ab_info[shipp->ab_count]; in ship_init_afterburners()
10121 entry.shipp = shipp; in ship_create()
10131 entry->shipp = shipp; in ship_create()
10916 ship *shipp; in ship_launch_countermeasure() local
12887 ship *shipp; in ship_select_next_primary() local
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ship/
H A Dshipcontrails.cpp71 Assert(shipp != NULL); in ct_ship_create()
90 Assert(shipp != NULL); in ct_ship_delete()
111 Assert(shipp != NULL); in ct_ship_process()
112 Assert(shipp->objnum >= 0); in ct_ship_process()
192 Assert(shipp != NULL); in ct_update_contrails()
193 Assert(shipp->objnum >= 0); in ct_update_contrails()
235 Assert(shipp != NULL); in ct_create_contrails()
268 Assert(shipp != NULL); in ct_ship_process_ABtrails()
331 Assert(shipp != NULL); in ct_create_ABtrails()
346 shipp->ABtrail_ptr[idx] = trail_create(&shipp->ab_info[idx]); in ct_create_ABtrails()
[all …]
H A Dafterburner.cpp70 ship *shipp; in afterburners_start() local
81 shipp = &Ships[objp->instance]; in afterburners_start()
82 Assert( shipp->ship_info_index >= 0 && shipp->ship_info_index < Num_ship_classes ); in afterburners_start()
170 ship *shipp; in afterburners_update() local
173 shipp = &Ships[objp->instance]; in afterburners_update()
175 Assert( shipp->ship_info_index >= 0 && shipp->ship_info_index < Num_ship_classes ); in afterburners_update()
230 shipp->afterburner_fuel = 0.0f; in afterburners_update()
241 shipp->afterburner_fuel = 0.0f; in afterburners_update()
280 ship *shipp; in afterburners_stop() local
282 shipp = &Ships[objp->instance]; in afterburners_stop()
[all …]
H A Dawacs.cpp99 ship *shipp; in awacs_update_all_levels() local
121 if ((shipp->flags & SF_DYING) || (shipp->flags & SF_DEPARTING) || (shipp->flags & SF_ARRIVING)) in awacs_update_all_levels()
178 ship *shipp = NULL; in awacs_get_level() local
229 Assert( shipp != NULL ); in awacs_get_level()
230 if (shipp->tag_left > 0.0f || shipp->level2_tag_left > 0.0f) in awacs_get_level()
355 ship *shipp; in team_visibility_update() local
370 shipp = &Ships[ship_num]; in team_visibility_update()
373 if ((shipp->flags & SF_DYING) || (shipp->flags & SF_DEPARTING) || (shipp->flags & SF_ARRIVING)) in team_visibility_update()
381 if ((shipp->flags2 & SF2_STEALTH) && (shipp->flags2 & SF2_FRIENDLY_STEALTH_INVIS)) in team_visibility_update()
385 team_ships[shipp->team][team_count[shipp->team]] = ship_num; in team_visibility_update()
[all …]
H A Dship.cpp6411 …gr_set_team_color(shipp->team_name, shipp->secondary_team_name, shipp->team_change_timestamp, ship… in ship_render()
6880 ship *shipp; in ship_delete() local
7219 ship *shipp; in ship_blow_up_area_apply_blast() local
7590 shipp->death_time = shipp->final_death_time; in ship_dying_frame()
8415 shipp->radar_last_status = shipp->radar_current_status; in MONITOR()
8456 ship *shipp; in ship_process_post() local
8931 trail_info *ci = &shipp->ab_info[shipp->ab_count]; in ship_init_afterburners()
9702 ship *shipp; in ship_launch_countermeasure() local
11538 ship *shipp; in ship_select_next_primary() local
11774 ship *shipp; in ship_select_next_secondary() local
[all …]
H A Dshipfx.cpp64 if (shipp->num_hits == 0) { in shipfx_remove_submodel_ship_sparks()
614 ship *shipp; in shipfx_warpin_frame() local
803 ship *shipp; in shipfx_warpout_start() local
857 ship *shipp; in shipfx_warpout_frame() local
1405 ship *shipp = &Ships[n]; in shipfx_emit_spark() local
1477 if ((shipp->flags & (SF_ARRIVING|SF_DEPART_WARP)) && (shipp->warpout_effect)) in shipfx_emit_spark()
2648 Assert(shipp != NULL); in shipfx_do_shockwave_stuff()
2649 if(shipp == NULL){ in shipfx_do_shockwave_stuff()
2657 if(shipp->objnum < 0){ in shipfx_do_shockwave_stuff()
2743 Assert(shipp != NULL); in DCF_BOOL()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/fred2/
H A Dshipflagsdlg.cpp167 ship *shipp; in OnInitDialog() local
423 ship *shipp = &Ships[shipnum]; in update_ship() local
688 shipp->flags |= SF_ESCORT; in update_ship()
693 if (shipp->flags & SF_ESCORT) in update_ship()
696 shipp->flags &= ~SF_ESCORT; in update_ship()
739 shipp->flags |= SF_SCANNABLE; in update_ship()
937 shipp->flags2 |= SF2_NO_ETS; in update_ship()
944 shipp->flags2 &= ~SF2_NO_ETS; in update_ship()
953 shipp->flags2 |= SF2_CLOAKED; in update_ship()
985 shipp->flags |= SF_VAPORIZE; in update_ship()
[all …]
H A Ddumpstats.cpp554 ship *shipp; in get_messaging_info() local
561 shipp = &Ships[objp->instance]; in get_messaging_info()
577 ship *shipp; in get_species_ship_breakdown() local
618 shipp = &Ships[objp->instance]; in get_species_ship_breakdown()
624 …\t\tName: %s Type: %s, Cargo: %s\r\n", shipp->ship_name, Ship_info[shipp->ship_info_index].name, C… in get_species_ship_breakdown()
634 shipp = &Ships[objp->instance]; in get_species_ship_breakdown()
640 …\t\tName: %s, Type: %s Cargo: %s\r\n", shipp->ship_name, Ship_info[shipp->ship_info_index].name, C… in get_species_ship_breakdown()
652 shipp = &Ships[objp->instance]; in get_species_ship_breakdown()
658 …t\tName: %s, Type: %s, Cargo: %s\r\n", shipp->ship_name, Ship_info[shipp->ship_info_index].name, C… in get_species_ship_breakdown()
675 …t\tName: %s, Type: %s, Cargo: %s\r\n", shipp->ship_name, Ship_info[shipp->ship_info_index].name, C… in get_species_ship_breakdown()
[all …]
H A Dshipspecialdamage.cpp212 ship *shipp = &Ships[shipnum]; in update_ship() local
219 shipp->use_special_explosion = true; in update_ship()
222 shipp->special_exp_damage = m_damage; in update_ship()
223 shipp->special_exp_blast = m_blast; in update_ship()
240 shipp->use_special_explosion = false; in update_ship()
241 shipp->special_exp_inner = -1; in update_ship()
242 shipp->special_exp_outer = -1; in update_ship()
243 shipp->special_exp_damage = -1; in update_ship()
244 shipp->special_exp_blast = -1; in update_ship()
245 shipp->use_shockwave = false; in update_ship()
[all …]
H A Dmissionsave.cpp1327 Assert(shipp && dock_ptr); in save_single_dock_instance()
1364 ship *shipp; in save_objects() local
1381 shipp = &Ships[i]; in save_objects()
1453 if (shipp->weapons.ai_class != Ship_info[shipp->ship_info_index].ai_class) { in save_objects()
1471 if (shipp->wingnum >= 0){ in save_objects()
1540 if (shipp->arrival_delay) in save_objects()
1771 if (shipp->use_shockwave && (shipp->special_exp_shockwave_speed > 0)) { in save_objects()
1805 if (shipp->use_shockwave && (shipp->special_exp_shockwave_speed > 0)) { in save_objects()
1961 if (shipp->group >= 0) { in save_objects()
1972 if (Ship_info[shipp->ship_info_index].score == shipp->score ) { in save_objects()
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/fred2/
H A Dshipflagsdlg.cpp171 ship *shipp; in OnInitDialog() local
179 shipp = &Ships[objp->instance]; in OnInitDialog()
242 ship_in_wing = (shipp->wingnum != -1);; in OnInitDialog()
306 ship_in_wing = (shipp->wingnum != -1);; in OnInitDialog()
433 ship *shipp = &Ships[shipnum]; in update_ship() local
434 object *objp = &Objects[shipp->objnum]; in update_ship()
698 shipp->flags.set(Ship::Ship_Flags::Escort); in update_ship()
703 if (shipp->flags[Ship::Ship_Flags::Escort]) in update_ship()
983 if (shipp->ship_guardian_threshold) in update_ship()
986 shipp->ship_guardian_threshold = 0; in update_ship()
[all …]
H A Ddumpstats.cpp552 ship *shipp; in get_messaging_info() local
559 shipp = &Ships[objp->instance]; in get_messaging_info()
575 ship *shipp; in get_species_ship_breakdown() local
616 shipp = &Ships[objp->instance]; in get_species_ship_breakdown()
622 …\t\tName: %s Type: %s, Cargo: %s\r\n", shipp->ship_name, Ship_info[shipp->ship_info_index].name, C… in get_species_ship_breakdown()
632 shipp = &Ships[objp->instance]; in get_species_ship_breakdown()
638 …\t\tName: %s, Type: %s Cargo: %s\r\n", shipp->ship_name, Ship_info[shipp->ship_info_index].name, C… in get_species_ship_breakdown()
650 shipp = &Ships[objp->instance]; in get_species_ship_breakdown()
656 …t\tName: %s, Type: %s, Cargo: %s\r\n", shipp->ship_name, Ship_info[shipp->ship_info_index].name, C… in get_species_ship_breakdown()
673 …t\tName: %s, Type: %s, Cargo: %s\r\n", shipp->ship_name, Ship_info[shipp->ship_info_index].name, C… in get_species_ship_breakdown()
[all …]
H A Dshipspecialdamage.cpp212 ship *shipp = &Ships[shipnum]; in update_ship() local
219 shipp->use_special_explosion = true; in update_ship()
222 shipp->special_exp_damage = m_damage; in update_ship()
223 shipp->special_exp_blast = m_blast; in update_ship()
240 shipp->use_special_explosion = false; in update_ship()
241 shipp->special_exp_inner = -1; in update_ship()
242 shipp->special_exp_outer = -1; in update_ship()
243 shipp->special_exp_damage = -1; in update_ship()
244 shipp->special_exp_blast = -1; in update_ship()
245 shipp->use_shockwave = false; in update_ship()
[all …]
H A Dmissionsave.cpp1512 wp = &shipp->weapons; in save_common_object_data()
3035 ship *shipp; in save_objects() local
3052 shipp = &Ships[i]; in save_objects()
3136 if (shipp->weapons.ai_class != Ship_info[shipp->ship_info_index].ai_class) { in save_objects()
3154 if (shipp->wingnum >= 0) { in save_objects()
3227 if (shipp->wingnum >= 0) { in save_objects()
3448 if (shipp->use_shockwave && (shipp->special_exp_shockwave_speed > 0)) { in save_objects()
3478 if (shipp->use_shockwave && (shipp->special_exp_shockwave_speed > 0)) { in save_objects()
3622 if (shipp->group >= 0) { in save_objects()
3633 if (Ship_info[shipp->ship_info_index].score == shipp->score) { in save_objects()
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/
H A Dhudobserver.cpp26 void hud_observer_init(ship *shipp, ai_info *aip) in hud_observer_init() argument
32 strcpy_s(Hud_obs_ship.ship_name, shipp->ship_name); in hud_observer_init()
33 Hud_obs_ship.display_name = shipp->display_name; in hud_observer_init()
34 Hud_obs_ship.team = shipp->team; in hud_observer_init()
35 Hud_obs_ship.ai_index = shipp->ai_index; in hud_observer_init()
36 Hud_obs_ship.flags = shipp->flags; in hud_observer_init()
38 Hud_obs_ship.objnum = shipp->objnum; in hud_observer_init()
39 Hud_obs_ship.wingnum = shipp->wingnum; in hud_observer_init()
40 Hud_obs_ship.alt_type_index = shipp->alt_type_index; in hud_observer_init()
41 Hud_obs_ship.callsign_index = shipp->callsign_index; in hud_observer_init()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/
H A Dhudobserver.cpp26 void hud_observer_init(ship *shipp, ai_info *aip) in hud_observer_init() argument
32 strcpy_s(Hud_obs_ship.ship_name, shipp->ship_name); in hud_observer_init()
33 Hud_obs_ship.team = shipp->team; in hud_observer_init()
34 Hud_obs_ship.ai_index = shipp->ai_index; in hud_observer_init()
35 Hud_obs_ship.flags = shipp->flags; in hud_observer_init()
36 Hud_obs_ship.flags2 = shipp->flags2; in hud_observer_init()
37 Hud_obs_ship.ship_info_index = shipp->ship_info_index; in hud_observer_init()
38 Hud_obs_ship.objnum = shipp->objnum; in hud_observer_init()
39 Hud_obs_ship.wingnum = shipp->wingnum; in hud_observer_init()
40 Hud_obs_ship.alt_type_index = shipp->alt_type_index; in hud_observer_init()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/network/
H A Dmulti_obj.cpp360 ship *shipp; in multi_oo_pack_data() local
581 ship *shipp = NULL; in multi_oo_unpack_client_data() local
618 if(shipp != NULL){ in multi_oo_unpack_client_data()
639 if((shipp != NULL) && (shipp->ai_index != -1)){ in multi_oo_unpack_client_data()
707 ship *shipp; in multi_oo_unpack_data() local
785 …oo_arrive_time_avg_diff[shipp - Ships] += oo_arrive_time[shipp - Ships][idx + 1] - oo_arrive_time[ in multi_oo_unpack_data()
836 oo_interp_points[shipp - Ships][0] = oo_interp_points[shipp - Ships][1]; in multi_oo_unpack_data()
953 if((shipp != NULL) && (shipp->ai_index >= 0) && (shipp->ai_index < MAX_AI_INFO)){ in multi_oo_unpack_data()
1090 ship *shipp; in multi_oo_maybe_update() local
1390 ship *shipp; in multi_oo_gameplay_init() local
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scripting/api/objs/
H A Dship.cpp256 shipp->ship_name[len - 1] = 0;
275 shipp->display_name = s;
334 if (shipp == Player_ship) {
339 if(shipp->ship_info_index < 0)
358 shipp->cmeasure_count = newcm;
736 shipp->team = nt;
814 ship_reset_disabled_physics( &Objects[shipp->objnum], shipp->ship_info_index );
1399 if (shipp->wingnum != -1)
1413 if (shipp->wingnum != -1)
1827 ship *shipp = NULL; variable
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/qtfred/src/mission/
H A Dmissionsave.cpp1284 wp = &shipp->weapons; in save_common_object_data()
2757 ship* shipp; in save_objects() local
2773 shipp = &Ships[i]; in save_objects()
2857 if (shipp->weapons.ai_class != Ship_info[shipp->ship_info_index].ai_class) { in save_objects()
2876 if (shipp->wingnum >= 0) { in save_objects()
2950 if (shipp->wingnum >= 0) { in save_objects()
3228 if (shipp->use_shockwave && (shipp->special_exp_shockwave_speed > 0)) { in save_objects()
3258 if (shipp->use_shockwave && (shipp->special_exp_shockwave_speed > 0)) { in save_objects()
3410 if (shipp->group >= 0) { in save_objects()
3422 if (Ship_info[shipp->ship_info_index].score == shipp->score) { in save_objects()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/missionui/
H A Dredalert.cpp685 if (shipp == NULL) { in red_alert_store_subsys_status()
709 ship *shipp; in red_alert_store_wingman_status() local
731 if ( !(shipp->flags & SF_FROM_PLAYER_WING) && !(shipp->flags & SF_RED_ALERT_STORE_STATUS) ) { in red_alert_store_wingman_status()
735 ras.name = shipp->ship_name; in red_alert_store_wingman_status()
780 if ( (shipp->wing_status_wing_index >= 0) && (shipp->wing_status_wing_pos >= 0) ) { in red_alert_delete_ship()
782 hud_set_wingman_status_dead(shipp->wing_status_wing_index, shipp->wing_status_wing_pos); in red_alert_delete_ship()
784 hud_set_wingman_status_none(shipp->wing_status_wing_index, shipp->wing_status_wing_pos); in red_alert_delete_ship()
791 obj_delete(shipp->objnum); in red_alert_delete_ship()
792 if ( shipp->wingnum >= 0 ) { in red_alert_delete_ship()
793 ship_wing_cleanup( shipp-Ships, &Wings[shipp->wingnum] ); in red_alert_delete_ship()
[all …]
/dports/games/netherearth/netherearth-0.51/
H A Dnethercycle.cpp151 shipp.x=(int(shipp.x*8.0))/8.0; in cycle()
152 shipp.y=(int(shipp.y*8.0))/8.0; in cycle()
154 x[0]=shipp.x; in cycle()
156 y[0]=shipp.y; in cycle()
180 if (ship_op3==OP_UP) if (shipp.z<5.0) shipp.z+=0.05; in cycle()
181 if (ship_op3!=OP_UP && shipp.z>minz) shipp.z-=0.025; in cycle()
182 if (shipp.z<minz) shipp.z=minz; in cycle()
194 if (ShipCollision(ship,shipp.x,shipp.y,shipp.z)) { in cycle()
199 if (p.z!=old_shipp.z && ShipCollision(ship,shipp.x,shipp.y,shipp.z)) { in cycle()
206 if (p.x!=old_shipp.x && ShipCollision(ship,shipp.x,shipp.y,shipp.z)) { in cycle()
[all …]

123456789