|
Wing Commander II
Reconstructed Win32 source (1996)
|
Sets a viewport rectangle. More...
#include "game.h"Go to the source code of this file.
Functions | |
| void | SetViewportRect (Viewport *viewport, unsigned short left, unsigned short top, unsigned short right, unsigned short bottom) |
Sets a viewport rectangle.
Definition in file viewrect.c.
| void SetViewportRect | ( | Viewport * | viewport, |
| unsigned short | left, | ||
| unsigned short | top, | ||
| unsigned short | right, | ||
| unsigned short | bottom ) |
Definition at line 9 of file viewrect.c.
References Viewport::bottom, Viewport::left, Viewport::right, SetViewportRect(), and Viewport::top.
Referenced by auto_pilot_sequence(), DosMemmove(), HandleSpaceFlightControls(), initialize_cockpit(), InitializeCockpitResources(), RunSpaceFlight(), set_eye_direction_and_position(), and SetViewportRect().
| int g_aaiVduModeStack[3][4] = { 0 } |
Definition at line 80 of file viewrect.c.
Referenced by get_mode(), push_mode(), and set_mode().
| short g_aasShipArmor[10][4] = { 0 } |
Definition at line 135 of file viewrect.c.
Referenced by ApplyAlternateShipType(), calculate_damage_level(), evaluate_damage(), inflict_damage(), set_objects_data(), Set_up_ship_info(), show_target_disp(), and update_bars().
| short g_aasShipMaximumShield[10][2] = { 0 } |
Definition at line 133 of file viewrect.c.
Referenced by ApplyAlternateShipType(), internal_damage(), replenish_shields(), replenish_weapon_energy_bank(), revise_shields(), and set_objects_data().
| short g_aasShipShield[10][2] = { 0 } |
Definition at line 134 of file viewrect.c.
Referenced by ApplyAlternateShipType(), CanShipWeaponDamageTarget(), inflict_damage(), internal_damage(), replenish_shields(), replenish_weapon_energy_bank(), set_objects_data(), show_target_disp(), update_bars(), and update_lights().
| signed char g_abFlightPath[MISSION_OBJECTIVE_COUNT] = { -1 } |
Definition at line 68 of file viewrect.c.
Referenced by arrive_from_warp(), auto_pilot_sequence(), Build_objective_list(), CentreMouseOnCurrentNavObjective(), cruise_home(), cruise_to_destination(), cycle_next_objective(), get_follow_point(), SelectNavObjectiveAtPoint(), set_new_objective(), set_next_destination(), and triumph().
| signed char g_abHazardObjects[0x14] |
Definition at line 62 of file viewrect.c.
Referenced by remove_all_hazards(), remove_object(), start_hazard_field(), and update_hazards().
| signed char g_abPilotEjectionAttempted[16] = { 0 } |
Definition at line 188 of file viewrect.c.
Referenced by ResolveObjectDestruction(), and Set_up_ship_info().
| signed char g_abProjectileCollisionBonus[ SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 184 of file viewrect.c.
Referenced by FireTargetCameraGuns(), object_collision(), and set_objects_data().
| signed char g_abShipEjectionSequenceEnabled[12] = { 0 } |
Definition at line 189 of file viewrect.c.
Referenced by fire_weapon(), launch_carrier_fighter(), ResolveObjectDestruction(), and Set_up_ship_info().
| signed char g_abShipNavPointIndex[16] = { -1 } |
Definition at line 170 of file viewrect.c.
Referenced by cruise_home(), cruise_to_destination(), get_first_follow_point(), get_follow_point(), house_keep_objects(), is_any_ship_returning_to_current_nav_point(), and unwarp().
| signed char g_abShipTurn[16] = { -1 } |
Definition at line 175 of file viewrect.c.
Referenced by abandoned(), cruise_home(), cruise_to_destination(), defend_mission(), escort_mission(), init_intelligence_data(), and regulate_turn().
| signed char g_acLastCollisionObject[SPACE_OBJECT_COUNT] = { -1 } |
Definition at line 123 of file viewrect.c.
Referenced by ApplyAlternateShipType(), object_collision(), and set_objects_data().
| signed char g_acObjectAnimationDelay[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 112 of file viewrect.c.
Referenced by animate_shape(), and set_objects_data().
| signed char g_acObjectCollisionGraceTicks[ SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 113 of file viewrect.c.
Referenced by fire_weapon(), house_keep_objects(), init_hazard(), and object_collision().
| signed char g_acObjectOwner[SPACE_OBJECT_COUNT] = { -1 } |
Definition at line 122 of file viewrect.c.
Referenced by ApplyAlternateShipType(), borrow_dust(), capital_ship_strike_mission(), child_object(), CountShipProjectiles(), draw_nav_pointer(), Explosion(), FF_missile_intelligence(), find_child_object(), find_child_ship(), fire_weapon(), HasShipActiveMissile(), house_keep_objects(), inflict_damage(), make_shard(), object_collision(), RecordCannedSceneObjectEvent(), reposition_fixed_child_objects(), ResolveObjectDestruction(), send_appropriate_message(), set_objects_data(), ShipExplosion(), SpawnCapitalFlakProjectile(), and warp().
| signed char g_acObjectType[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 101 of file viewrect.c.
Referenced by accelerate_and_move_object(), animate_object(), animate_shape(), apply_force_to_object(), apply_force_to_objects_center(), ApplyAlternateShipType(), approach_cruise_speed(), approach_half_speed(), auto_pilot_sequence(), BeginShipDestructionSequence(), BuildCommunicationCommandMenu(), calculate_damage_level(), capital_ship_strike_mission(), check_for_lost_control(), check_message(), CompleteStarSystemJump(), Create_explosion_debris(), evaluate_damage(), Explosion(), fire_weapon(), FireTargetCameraGuns(), free_cockpit(), free_ship(), get_right_shape(), get_ship_max_velocity(), GetShipAccelerationRate(), house_keep_objects(), inflict_damage(), init_intelligence_data(), initialize_cockpit(), InitializeCockpitResources(), InitializeShipWeaponTypeIndices(), internal_damage(), launch_carrier_fighter(), load_all_slots(), load_ship(), Mfish_hook(), mine_intelligence(), object_collision(), players_flight_dynamics(), release_capital_ship_shapes(), repair_internal_damage(), replenish_shields(), revise_shields(), rotate_object_to_goal(), rotational_acceleration(), RunCutsceneScript(), set_objects_data(), Set_up_ship_info(), show_target_disp(), SpawnCapitalFlakProjectile(), unwarp(), update_bars(), UpdateShipTurretGuns(), and your_internal_damage().
| signed char g_acPilotHitPoints[16] = { -1 } |
Definition at line 158 of file viewrect.c.
Referenced by ApplyAlternateShipType(), pilot_hit(), and set_objects_data().
| signed char g_acPlayerComponentDamage[9] = { -1 } |
Definition at line 76 of file viewrect.c.
Referenced by damage_your_component(), HandleSpaceFlightControls(), malf(), overlay_head_up_display(), prepare_mission(), repair_internal_damage(), replenish_shields(), replenish_weapon_energy_bank(), ReportComponentRepaired(), show_damage_disp(), target_locking(), UpdateDamageDisplay(), UpdateSavedTorpedoTargetLock(), and your_internal_damage().
| signed char g_acShipAlertSource[12] = { -1 } |
Definition at line 173 of file viewrect.c.
Referenced by clear_alert(), prevent_collision(), and start_collision_alert().
| signed char g_acShipCollisionCooldown[16] = { 0 } |
Definition at line 178 of file viewrect.c.
Referenced by intelligence_events(), object_collision(), Set_up_ship_info(), and ship_intelligence().
| signed char g_acShipCommunicator[16] = { -1 } |
Definition at line 147 of file viewrect.c.
Referenced by FF_missile_intelligence(), internal_damage(), Set_up_ship_info(), and your_internal_damage().
| signed char g_acShipComputerDamage[16] = { -1 } |
Definition at line 146 of file viewrect.c.
Referenced by internal_damage(), Set_up_ship_info(), and your_internal_damage().
| signed char g_acShipDamage[16] = { -1 } |
Definition at line 148 of file viewrect.c.
Referenced by ApplyAlternateShipType(), calculate_damage_level(), evaluate_damage(), internal_damage(), repair_internal_damage(), ResolveObjectDestruction(), set_objects_data(), Set_up_ship_info(), and your_internal_damage().
| signed char g_acShipExhaustHeat[16] = { -1 } |
Definition at line 145 of file viewrect.c.
Referenced by accelerate_and_move_object(), heat_seeking_missile_intelligence(), house_keep_objects(), place_exhaust_on_ships(), and Set_up_ship_info().
| signed char g_acShipIonDriveDamage[16] = { -1 } |
Definition at line 149 of file viewrect.c.
Referenced by ApplyAlternateShipType(), damage_ion_drive(), recalc_max_velocity(), set_objects_data(), and Set_up_ship_info().
| signed char g_acShipLastAttacker[16] = { -1 } |
Definition at line 138 of file viewrect.c.
Referenced by ApplyAlternateShipType(), house_keep_objects(), object_collision(), set_objects_data(), and Set_up_ship_info().
| signed char g_acShipList[16] = { -1 } |
Definition at line 195 of file viewrect.c.
Referenced by build_squad_list(), build_target_list(), find_squad_center(), fire_turrets(), and init_formation_burst().
| signed char g_acShipNavPoint[12] = { -1 } |
Definition at line 127 of file viewrect.c.
Referenced by cruise_to_destination(), set_up_action_sphere(), Set_up_ship_info(), and split_patrol_mission().
| signed char g_acShipPendingMessage[16] = { -1 } |
Definition at line 160 of file viewrect.c.
Referenced by intelligence_events(), npc_communication(), remove_object(), send_message(), and Set_up_ship_info().
| signed char g_acShipPortrait[12] = { -1 } |
Definition at line 159 of file viewrect.c.
Referenced by BuildCommunicationCommandMenu(), ejection_sequence(), init_intelligence_data(), internal_damage(), launch_carrier_fighter(), new_space_music_changes(), npc_communication(), real_vid_transmit(), remove_object(), send_message(), and Set_up_ship_info().
| signed char g_acShipSequence[14] = { -1 } |
Definition at line 176 of file viewrect.c.
Referenced by advance(), capital_ship_strike_mission(), formation_break(), general_zig(), Mburnout(), Mbuzz_debris(), Mcorkscrew(), Mfish_hook(), Mgloat(), Mhard_break(), Mhard_turn(), Mkickit(), Mroll_over(), Msit_n_spin(), Msplit_left(), Msplit_right(), Mtarget_missile(), Mtight_loop(), Mturn_n_kick(), Mturn_n_spin(), Mveer_away(), reset_maneuver(), and ShipAiState46().
| signed char g_acShipStress[16] = { 0 } |
Definition at line 187 of file viewrect.c.
Referenced by handle_stress(), init_intelligence_data(), intelligence_events(), reset_stress(), ResolveObjectDestruction(), ShipAiState44(), stress_morale(), and try2rout().
| signed char g_acShipTarget[16] = { -1 } |
Definition at line 167 of file viewrect.c.
Referenced by ApplyAlternateShipType(), approach_and_engage(), attacker_in_range(), build_target_list(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), call_enemy(), capital_ship_intelligence(), capital_ship_strike_mission(), chaff_intelligence(), chase_speed(), check_destroy_target(), check_engage_target(), check_target(), Chosen_communicate_option(), clean_up_cockpit(), ClearTargetCameraView(), CountAlliesOnSameTarget(), cruise_to_destination(), cycle_onscreen_targets(), defend_mission(), destroyer_intelligence(), detect_enemy_tail(), draw_3d_scanner(), DrawTargetRangeReadout(), engage(), FF_missile_intelligence(), find_child_ship(), FindMissileTargetingObject(), FindNearestMissileTargetingObject(), fire_missile(), fire_players_lasers(), fire_turrets(), fire_weapon(), formation_break(), formation_burst(), get_color(), HandleSpaceFlightControls(), have_target(), heat_seeking_missile_intelligence(), house_keep_objects(), in_danger(), inflict_damage(), intelligence_events(), is_ship_tailing_player_target(), kilrathi_wingman(), launch_carrier_fighter(), maneuvering(), Mkill_missile(), Mturn_n_kick(), new_view(), object_intelligence(), overlay_head_up_display(), patrol_area(), perform_maneuver(), pick_regular_maneuver(), process_maneuver_node(), ProcessCannedSceneInput(), request(), reset_tactic(), RestoreTransientCockpitGraphics(), SaveTorpedoTargetLockForViewChange(), scan_and_lock(), select_target(), set_eye_direction_and_position(), set_objects_data(), show_target_disp(), SpawnCapitalFlakProjectile(), SpawnFlakBurst(), stationary_intelligence(), tanker_intelligence(), target_within_range(), ToggleTargetCameraOverlay(), ToggleTargetCameraTracking(), and UpdateTargetLeadIndicator().
| signed char g_acTurnInterval[16] = { -1 } |
Definition at line 143 of file viewrect.c.
Referenced by find_next_ship_turn_slot(), and regulate_turn().
| signed char g_acTurnRegulator[16] = { -1 } |
Definition at line 142 of file viewrect.c.
Referenced by find_next_ship_turn_slot(), and regulate_turn().
| signed char g_acVduModeStackDepth[2] = { -1, 0 } |
Definition at line 81 of file viewrect.c.
Referenced by get_mode(), GetVduModeStackDepth(), pop_mode(), push_mode(), and set_mode().
| signed char g_acViableTarget[16] = { -1 } |
Definition at line 198 of file viewrect.c.
Referenced by build_your_target_list(), check_target(), cycle_onscreen_targets(), FF_missile_intelligence(), heat_seeking_missile_intelligence(), and SortViableTargetsByDistance().
| short g_aeObjectClass[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 125 of file viewrect.c.
Referenced by accelerate_and_move_object(), animate_object(), any_enemy(), apply_force_to_object(), ApplyAlternateShipType(), approach_and_engage(), attacker_in_range(), auto_pilot_sequence(), auto_pilot_valid(), borrow_dust(), build_target_list(), build_your_target_list(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), call_enemy(), CanPlayerLand(), CanShipWeaponDamageTarget(), capital_ship_strike_mission(), chaff_intelligence(), check_destroy_target(), check_for_collision(), check_for_lost_control(), check_futurion(), check_next_wave(), ClearTransientObjectsForEjection(), coming_home(), CompleteStarSystemJump(), CountAlliesOnSameTarget(), CountEnemyFighters(), CountShipProjectiles(), crash_time(), Create_explosion_debris(), cruise_home(), detect_collisions(), detect_enemy_tail(), draw_3d_scanner(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), DrawSpaceSceneFrame(), DrawTargetRangeReadout(), enemy_within_range(), evaluate_damage(), Explosion(), explosion_shock_wave(), extra_hazard(), FF_missile_intelligence(), find_child_object(), find_child_ship(), find_next_ship_turn_slot(), find_ship_index(), find_vacant_3d_object(), FindMissileTargetingObject(), FindNearestMissileTargetingObject(), fire(), fire_turrets(), fire_weapon(), free_ship(), futurion_intelligence(), generate_stars(), get_color(), get_right_shape(), get_ship_max_velocity(), get_ship_slot(), GetCannedSceneObjectMode(), GetShipAccelerationRate(), HandleSpaceFlightControls(), has_opposing_ship(), HasShipActiveMissile(), heat_seeking_missile_intelligence(), house_keep_objects(), in_danger(), inflict_damage(), inherit_leader(), inherit_leader_mission(), init_intelligence_data(), InitializeConstellationObject(), intelligence_events(), internal_damage(), intro_drawbackgroundships(), is_any_ship_returning_to_current_nav_point(), IsCapitalShipObject(), kilrathi_near(), launch_carrier_fighter(), load_ship(), mine_intelligence(), Mstrafe_enemy(), Mturn_n_kick(), npc_communication(), object_collision(), object_intelligence(), overlay_head_up_display(), pick_regular_maneuver(), place_exhaust_on_ships(), ProcessEnemyWaveCompletion(), regulate_turn(), release_all_capital_ship_shapes(), remove_object(), report_kilrathi_rout(), reposition_fixed_child_objects(), request(), ResolveObjectDestruction(), room_for_me(), rotate_object_to_goal(), rotational_acceleration(), scan_for_enemy(), score_for_kill(), SelectNextExternalViewObject(), send_appropriate_message(), send_message(), servicetrack(), set_eye_direction_and_position(), set_objects_data(), set_up_action_sphere(), SetFleetOverviewView(), ShipExplosion(), show_target_disp(), stationary_intelligence(), strike_mission(), transform_objects_to_your_view(), try2rout(), TryBeginStarSystemJump(), unactive(), update_objects_in_space(), update_star_field(), UpdateShipTurretGuns(), and your_internal_damage().
| short g_aeShipObjective[12] = { 0 } |
Definition at line 166 of file viewrect.c.
Referenced by alter_objective(), are_alive(), BuildCommunicationCommandMenu(), change_mission_type(), CompleteStarSystemJump(), defend_mission(), engage(), escort_mission(), HandleSpaceFlightControls(), imperial_wingman(), inflict_damage(), kilrathi_patrol(), kilrathi_wingman(), launch_carrier_fighter(), npc_communication(), rendezvous_mission(), report_kilrathi_rout(), request(), reset_objective(), set_new_objective(), split_patrol_mission(), and strike_mission().
| short g_aeSpecialManeuver[12] = { 0 } |
Definition at line 141 of file viewrect.c.
Referenced by accelerate_and_move_object(), any_enemy(), attacker_in_range(), auto_pilot_sequence(), build_target_list(), build_your_target_list(), call_enemy(), check_for_lost_control(), check_message(), check_target(), detect_enemy_tail(), enemy_within_range(), find_ship_index(), fire_afterburner(), fire_weapon(), general_zig(), GetCannedSceneObjectMode(), house_keep_objects(), imperial_formation(), in_danger(), inflict_damage(), init_intelligence_data(), intelligence_events(), Mbuzz_debris(), Mkickit(), Mline_up_drop(), Msplit_left(), Msplit_right(), Mtarget_missile(), Mtry2tail(), Mturn_n_kick(), normal_speed(), place_exhaust_on_ships(), player_input(), players_flight_dynamics(), process_maneuver_node(), regulate_turn(), report_kilrathi_rout(), request(), ResolveObjectDestruction(), RestoreCannedSceneObjectState(), rotate_object_to_goal(), scan_for_enemy(), send_appropriate_message(), set_special(), show_target_disp(), try2rout(), update_objects_in_space(), vid_transmit(), and your_afterburner().
| HazardField g_aHazardFields[8] = { { -1 } } |
Definition at line 59 of file viewrect.c.
Referenced by add_hazard_field(), check_hazards(), and start_hazard_field().
| MissionObjective g_aMissionObjectives[MISSION_OBJECTIVE_COUNT] |
Definition at line 69 of file viewrect.c.
Referenced by achieved(), AddUniqueObjectiveNavLabel(), arrive_from_warp(), auto_pilot_sequence(), auto_pilot_valid(), Build_objective_list(), BuildMap(), CanPlayerLand(), CentreMouseOnCurrentNavObjective(), changetrack(), check_next_wave(), check_visit(), cleanup_objectives(), coming_home(), cruise_home(), draw_nav_pointer(), find_objective(), flag_objective(), flag_reached(), FlagCurrentNavObjectivesReached(), FollowSelectedObjectiveSystem(), get_follow_point(), hidden_objective(), IsMissionObjectiveOutOfSystem(), IsObjectiveInDisplayedSystem(), LocateMobileObjective(), mobile_objective(), nav_note(), objective_lost(), objective_name(), ObjectivesShareNavLabel(), ResolveObjectDestruction(), SelectNavObjectiveAtPoint(), set_new_objective(), set_objective_range(), set_up_action_sphere(), SetScale(), sighted(), TryBeginStarSystemJump(), update_objective_location(), UpdateTargetCameraObject(), and visited().
| short g_anFlightInput[3] = { 0 } |
Definition at line 50 of file viewrect.c.
Referenced by determine_pilot_hand(), player_input(), players_flight_dynamics(), and process_player_input().
| int g_anLastDrawnVduMode[3] = { 0 } |
Definition at line 82 of file viewrect.c.
Referenced by init_vdus(), InvalidateVduMode(), set_new_vdu(), and update_vid_disp().
| short g_anObjectPitchRotation[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 117 of file viewrect.c.
Referenced by apply_force_to_object(), auto_pilot_sequence(), check_for_lost_control(), draw_target_box(), init_ijk(), players_flight_dynamics(), rotate_eye_to_goal(), rotate_object(), rotate_object_to_goal(), rotational_acceleration(), try_far_spot(), and update_star_field().
| short g_anObjectRollRotation[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 119 of file viewrect.c.
Referenced by apply_force_to_object(), auto_pilot_sequence(), check_for_lost_control(), draw_target_box(), init_ijk(), players_flight_dynamics(), rotate_eye_to_goal(), rotate_object(), rotate_object_to_goal(), and rotational_acceleration().
| short g_anObjectYawRotation[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 118 of file viewrect.c.
Referenced by apply_force_to_object(), auto_pilot_sequence(), check_for_lost_control(), init_ijk(), players_flight_dynamics(), rotate_eye_to_goal(), rotate_object(), rotate_object_to_goal(), rotational_acceleration(), stationary_intelligence(), try_far_spot(), and update_star_field().
| short g_anPitchGoal[12] = { 0 } |
Definition at line 130 of file viewrect.c.
Referenced by auto_pilot_sequence(), CanSetNewShipTurnGoal(), formation_break(), general_zig(), Mgloat(), Mtight_loop(), Mwabble(), no_goal(), point_ship(), rotate_object_to_goal(), steady_object(), steer_away_from_object(), steer_away_from_predicted_object(), trim_goals(), and veer_random().
| short g_anPreviousFlightInput[3] = { 0 } |
Definition at line 51 of file viewrect.c.
Referenced by player_input().
| short g_anRollGoal[12] = { 0 } |
Definition at line 132 of file viewrect.c.
Referenced by auto_pilot_sequence(), CanSetNewShipTurnGoal(), chase_location(), formation_break(), goto_formation(), Mcorkscrew(), Mline_up_drop(), Mroll_over(), Mstrafe_n_roll(), Mwabble(), no_goal(), rotate_object_to_goal(), ShipAiState46(), steady_object(), steer_away_from_object(), steer_away_from_predicted_object(), and tanker_intelligence().
| unsigned int g_anShipAlertFlags[10] = { 0 } |
Definition at line 172 of file viewrect.c.
Referenced by alert_flag(), clear_alert(), and set_alert().
| int g_anShipCloakState[10] = { -1 } |
Definition at line 179 of file viewrect.c.
Referenced by BeginShipCloak(), draw_3d_scanner(), DrawTargetRangeReadout(), explode(), fire(), GetCannedSceneObjectMode(), house_keep_objects(), inflict_damage(), overlay_head_up_display(), place_exhaust_on_ships(), process_maneuver_node(), ResetShipCloakState(), Set_up_ship_info(), ShipAiState47(), show_target_disp(), target_valid(), transform_objects_to_your_view(), and UpdateShipTurretGuns().
| int g_anShipFuel[10] = { 0 } |
Definition at line 144 of file viewrect.c.
Referenced by ApplyAlternateShipType(), check_message(), CompleteStarSystemJump(), drain_fuel(), internal_damage(), recalc_max_velocity(), set_objects_data(), update_lights(), your_afterburner(), and your_internal_damage().
| int g_anShipSpeed[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 116 of file viewrect.c.
Referenced by accelerate_and_move_object(), approach_ship_speed(), approach_speed(), arrive_from_warp(), auto_pilot_sequence(), celerate(), chase_location(), chase_speed(), CompleteStarSystemJump(), control_speed(), FF_missile_intelligence(), fire_weapon(), fix_velocity(), goto_formation(), goto_location(), HandleSpaceFlightControls(), heat_seeking_missile_intelligence(), housekeep_power_plant_and_fuel(), intelligence_events(), launch_carrier_fighter(), Msit_n_spin(), object_collision(), object_intelligence(), place_exhaust_on_ships(), prepare_for_jump(), set_formation_position(), set_speed(), Set_up_ship_info(), and update_digital_readouts().
| short g_anYawGoal[12] = { 0 } |
Definition at line 131 of file viewrect.c.
Referenced by auto_pilot_sequence(), CanSetNewShipTurnGoal(), formation_break(), general_zig(), Mburnout(), Mcorkscrew(), Mfish_hook(), Mhard_turn(), Msplit_left(), Msplit_right(), Mwabble(), no_goal(), point_perpendicular_to_point(), point_ship(), prepare_for_jump(), rotate_object_to_goal(), ShipAiState46(), steady_object(), steer_away_from_object(), steer_away_from_predicted_object(), tanker_intelligence(), trim_goals(), and veer_random().
| ObjectResourceSlot g_aObjectResourceSlots[5] = { { -1 } } |
Definition at line 72 of file viewrect.c.
Referenced by Create_explosion_debris(), FindObjectResourceSlot(), free_all_slots(), free_ship(), get_right_shape(), get_shape_slot(), init_3Space_objects(), load_all_slots(), load_ship(), new_sphere_shapes(), and shape_loaded().
| unsigned char* g_apObjectExhaustShape[10] = { 0 } |
Definition at line 126 of file viewrect.c.
Referenced by ApplyAlternateShipType(), load_all_slots(), load_ship(), place_exhaust_on_ships(), and set_objects_data().
| unsigned char* g_apObjectShape[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 100 of file viewrect.c.
Referenced by ApplyAlternateShipType(), build_your_target_list(), ClearTransientObjectsForEjection(), Create_explosion_debris(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), draw_target_box(), easy2see(), free_ship(), FreeConstellationObject(), get_right_shape(), InitializeConstellationObject(), intro_drawbackgroundships(), load_ship(), release_all_capital_ship_shapes(), release_capital_ship_shapes(), remove_object(), set_objects_data(), set_up_action_sphere(), and ShipExplosion().
| MissionShipRecord* g_apShipMissionRecord[10] = { 0 } |
Definition at line 161 of file viewrect.c.
Referenced by auto_pilot_valid(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), flag_reached(), launch_carrier_fighter(), npc_communication(), real_vid_transmit(), Set_up_ship_info(), show_target_disp(), and TryBeginStarSystemJump().
| short g_asActionCount[12] = { 0 } |
Definition at line 140 of file viewrect.c.
Referenced by futurion_intelligence(), and Set_up_ship_info().
| short g_asDifficultyLevels[16][4] |
Definition at line 23 of file viewrect.c.
Referenced by GetAdaptiveTurnRate(), and init_mission().
| FixedVector g_aShipDestination[10] = { 0 } |
Definition at line 128 of file viewrect.c.
Referenced by auto_pilot_sequence(), auto_pilot_valid(), coming_home(), cruise_home(), cruise_to_destination(), formation_burst(), init_formation_burst(), maintain_formation(), reach_warp(), strike_mission(), and TryBeginStarSystemJump().
| ShortVector g_aShipFormationOffset[10] = { 0 } |
Definition at line 129 of file viewrect.c.
Referenced by auto_position(), maintain_formation(), and set_formation_position().
| FixedVector g_aShipForwardVector[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 107 of file viewrect.c.
Referenced by accelerate_and_move_object(), alter_pitch(), alter_yaw(), animate_object(), approach(), auto_pilot_sequence(), chase_location(), ComputePointAheadOfObject(), ComputePointBehindObject(), copy_frame(), facing_to_object(), fire_weapon(), FireTargetCameraGuns(), fix_objects_ijk(), fix_velocity(), generate_stars(), get_facing_range_from_object(), get_facing_range_from_point(), goto_formation(), HandleCannedSceneBufferBoundary(), house_keep_objects(), inflict_damage(), init_hazard(), init_ijk(), InitializeConstellationObject(), launch_carrier_fighter(), make_shard(), match_ship_to_eye(), Msit_n_spin(), new_view(), offset_location(), point_at(), point_parallel(), point_ship_behind_object(), position_child(), position_relative_ijk(), RecordCannedSceneObjectState(), RestoreCannedSceneObjectState(), set_eye_direction_and_position(), SetFleetOverviewView(), SetTargetCameraEyePosition(), skew_randomly(), start_dust(), transform_to_objects_frame(), try_far_spot(), update_star_field(), UpdateFleetOverviewCameraRotation(), UpdateShipTurretGuns(), UpdateTargetCameraObject(), and UpdateTargetLeadIndicator().
| FixedVector g_aShipMissionSpot[20] = { 0 } |
Definition at line 165 of file viewrect.c.
Referenced by cruise_home(), cruise_to_destination(), dist_from_home(), inherit_leader_mission(), init_intelligence_data(), patrol_area(), and strike_mission().
| FixedVector g_aShipPosition[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 108 of file viewrect.c.
Referenced by accelerate_and_move_object(), animate_object(), ApplyCannedSceneObjectEventRecord(), approach(), auto_pilot_sequence(), auto_position(), BuildMap(), capital_ship_strike_mission(), check_for_collision(), check_hazards(), child_object(), CompleteStarSystemJump(), ComputePointAheadOfObject(), ComputePointBehindObject(), Create_explosion_debris(), Create_ship_hit_debris(), distance_from_object(), distance_from_point(), draw_3d_scanner(), draw_nav_pointer(), DrawNavLocationReadout(), DrawNavPlayerMarker(), explosion_shock_wave(), facing_to_object(), find_squad_center(), fire(), fire_turrets(), fire_weapon(), FireTargetCameraGuns(), generate_stars(), get_facing_range_from_object(), get_follow_point(), GetShipDistanceToNavPoint(), goto_formation(), HandleCannedSceneBufferBoundary(), imperial_formation(), init_formation_burst(), init_hazard(), init_ship(), initialize_object(), InitializeConstellationObject(), kilrathi_near(), launch_carrier_fighter(), locate_ship(), look_at(), make_shard(), match_ship_to_eye(), Mline_up_drop(), Msit_n_spin(), Mtry2tail(), new_view(), object_collision(), offset_location(), ok_hazard_spot(), onboard_explosion(), place_ship_near_player_until_valid(), PlaySfxWaveFileByNumber(), point_at(), point_capital_ship_at_object(), point_perpendicular(), point_ship_at_object(), point_ship_at_point(), point_ship_behind_object(), point_ship_below_object(), position_child(), position_relative_ijk(), prevent_collision(), real_crash_time(), RecordCannedSceneObjectEvent(), room_for_me(), scan_for_enemy(), send_at_point(), servicetrack(), set_eye_direction_and_position(), set_formation_position(), set_objective_range(), Set_up_ship_info(), SetFleetOverviewView(), SetScale(), SetTargetCameraEyePosition(), ShipExplosion(), ships_within_range(), sound_effect(), SpawnCapitalFlakProjectile(), SpawnFlakBurst(), start_dust(), steer_away_from_object(), steer_away_from_predicted_object(), ToggleTargetCameraTracking(), transform_objects_to_your_view(), try_far_spot(), unwarp(), update_objective_location(), update_objects_in_space(), update_star_field(), UpdateShipTurretGuns(), UpdateTargetCameraObject(), UpdateTargetLeadIndicator(), and warp().
| FixedVector g_aShipRightVector[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 105 of file viewrect.c.
Referenced by alter_roll(), alter_yaw(), copy_frame(), FireTargetCameraGuns(), fix_objects_ijk(), generate_stars(), inflict_damage(), init_ijk(), match_roll_orientation(), match_ship_to_eye(), Mtry2tail(), new_view(), offset_location(), position_child(), position_relative_ijk(), set_background_objects_rotation(), set_eye_direction_and_position(), SetFleetOverviewView(), SetTargetCameraEyePosition(), skew_randomly(), sound_effect(), start_dust(), transform_to_objects_frame(), try_far_spot(), update_star_field(), UpdateFleetOverviewCameraRotation(), and UpdateShipTurretGuns().
| FixedVector g_aShipUpVector[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 106 of file viewrect.c.
Referenced by alter_pitch(), alter_roll(), copy_frame(), fire_weapon(), FireTargetCameraGuns(), fix_objects_ijk(), generate_stars(), get_right_shape(), HandleCannedSceneBufferBoundary(), init_ijk(), match_roll_orientation(), match_ship_to_eye(), new_view(), offset_location(), point_ship_below_object(), position_child(), position_relative_ijk(), RecordCannedSceneObjectState(), RestoreCannedSceneObjectState(), set_background_objects_rotation(), set_eye_direction_and_position(), SetFleetOverviewView(), SetTargetCameraEyePosition(), skew_randomly(), start_dust(), transform_to_objects_frame(), try_far_spot(), update_star_field(), UpdateFleetOverviewCameraRotation(), and UpdateShipTurretGuns().
| FixedVector g_aShipVelocity[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 109 of file viewrect.c.
Referenced by accelerate_and_move_object(), animate_object(), apply_force_to_object(), apply_force_to_objects_center(), ApplyCannedSceneObjectEventRecord(), approach(), auto_pilot_sequence(), capital_ship_strike_mission(), ClearTargetCameraView(), compute_formation_destination(), Create_explosion_debris(), Create_ship_hit_debris(), cruise_home(), fire_afterburner(), fire_weapon(), FireTargetCameraGuns(), fix_velocity(), HandleCannedSceneBufferBoundary(), hit_asteroid(), house_keep_objects(), init_hazard(), initialize_object(), launch_carrier_fighter(), launch_object(), make_shard(), match_ship_to_eye(), new_view(), object_collision(), onboard_explosion(), real_crash_time(), real_velocity(), RecordCannedSceneObjectEvent(), RecordCannedSceneObjectState(), RestoreCannedSceneObjectState(), send_at_point(), servicetrack(), set_eye_direction_and_position(), Set_up_ship_info(), SetFleetOverviewView(), ShipExplosion(), SpawnFlakBurst(), SpawnMissionEjectionPod(), start_dust(), steer_away_from_object(), steer_away_from_predicted_object(), unwarp(), update_digital_readouts(), update_objects_in_space(), update_star_field(), UpdateShipTurretGuns(), UpdateTargetCameraObject(), UpdateTargetCameraTracking(), UpdateTargetLeadIndicator(), and warp().
| unsigned char g_aShipWeapons[10][0xA1] |
Definition at line 150 of file viewrect.c.
Referenced by ApplyAlternateShipType(), capital_ship_strike_mission(), CountShipCockpitGunDisplays(), decrement_lock_time(), draw_target_box(), find_next_gun(), find_weapon(), fire(), fire_fixed_projectile_weapon(), fire_missile(), fire_turrets(), fire_weapon(), HasInRangeGunForTargetLead(), HasShipCockpitGunDisplay(), InitializeShipWeaponTypeIndices(), internal_damage(), IsOnlyShipGun(), lock_off(), position_child(), remove_weapon(), RemovePlayerReleaseWeapon(), SaveTorpedoTargetLockForViewChange(), select_guns(), select_new_release_weapon(), set_objects_data(), Set_up_ship_info(), ShipHasCloakingDevice(), ShipHasTorpedo(), show_weapon_disp(), target_locking(), update_status_text(), UpdateTargetLeadIndicator(), and your_internal_damage().
| short g_asLoadedShipViewFrame[12] = { 0 } |
Definition at line 154 of file viewrect.c.
Referenced by get_right_shape(), load_ship(), place_exhaust_on_ships(), release_all_capital_ship_shapes(), release_capital_ship_shapes(), remove_object(), Set_up_ship_info(), and ShipExplosion().
| short g_asObjectAnimationIndex[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 111 of file viewrect.c.
Referenced by animate_shape(), house_keep_objects(), and set_objects_data().
| short g_asObjectCollisionRadius[70] = { 0 } |
Definition at line 120 of file viewrect.c.
Referenced by animate_object(), apply_force_to_object(), ApplyAlternateShipType(), auto_position(), capital_ship_strike_mission(), check_for_collision(), coming_home(), distance_from_object(), distance_from_point(), draw_nav_pointer(), explosion_shock_wave(), get_facing_range_from_object(), get_facing_range_from_point(), launch_carrier_fighter(), make_shard(), Mtail_fire(), Mtry2tail(), Mveer_away(), Mzip_past(), new_view(), object_collision(), onboard_explosion(), perform_maneuver(), point_ship_behind_object(), point_ship_below_object(), real_crash_time(), room_for_me(), rotational_acceleration(), set_objects_data(), transform_objects_to_your_view(), update_star_field(), UpdateShipTurretGuns(), and UpdateTargetLeadIndicator().
| short g_asObjectCounter[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 110 of file viewrect.c.
Referenced by ApplyCannedSceneObjectEventRecord(), BeginShipDestructionSequence(), capital_ship_strike_mission(), check_for_lost_control(), check_futurion(), CompleteStarSystemJump(), count_down(), Create_explosion_debris(), Create_ship_hit_debris(), Explosion(), fire(), fire_flack(), fire_players_lasers(), fire_turrets(), fire_weapon(), FireTargetCameraGuns(), futurion_intelligence(), house_keep_objects(), init_hazard(), make_shard(), mine_intelligence(), Mstrafe_n_roll(), object_collision(), onboard_explosion(), pilot_hit(), players_flight_dynamics(), RecordCannedSceneObjectEvent(), rotate_object_to_goal(), SpawnCapitalFlakProjectile(), SpawnFlakBurst(), transform_objects_to_your_view(), TryBeginStarSystemJump(), unwarp(), UpdateShipTurretGuns(), and warp().
| short g_asObjectDamage[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 121 of file viewrect.c.
Referenced by animate_object(), ApplyAlternateShipType(), calculate_damage_level(), capital_ship_strike_mission(), fire_weapon(), FireTargetCameraGuns(), inflict_damage(), intelligence_events(), internal_damage(), object_collision(), RunCutsceneScript(), set_objects_data(), Set_up_ship_info(), SpawnCapitalFlakProjectile(), UpdateShipTurretGuns(), and your_internal_damage().
| short g_asObjectDistance[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 104 of file viewrect.c.
Referenced by build_your_target_list(), BuildObjectDepthOrder(), draw_nav_pointer(), DrawTargetRangeReadout(), manage_hazard(), place_exhaust_on_ships(), remove_object(), reposition_fixed_child_objects(), servicetrack(), and transform_objects_to_your_view().
| short g_asObjectDrawX[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 98 of file viewrect.c.
Referenced by draw_sorted_objects_to_buffer(), and intro_drawbackgroundships().
| short g_asObjectDrawY[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 99 of file viewrect.c.
Referenced by draw_sorted_objects_to_buffer(), and intro_drawbackgroundships().
| short g_asObjectFlip[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 102 of file viewrect.c.
Referenced by animate_shape(), ApplyAlternateShipType(), build_your_target_list(), draw_sorted_objects_to_buffer(), draw_target_box(), easy2see(), flip_angle(), get_right_shape(), intro_drawbackgroundships(), place_exhaust_on_ships(), reposition_fixed_child_objects(), and set_objects_data().
| unsigned short g_asObjectScale[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 115 of file viewrect.c.
Referenced by animate_object(), animate_shape(), ApplyAlternateShipType(), ApplyCannedSceneObjectEventRecord(), CompleteStarSystemJump(), Explosion(), house_keep_objects(), object_collision(), onboard_explosion(), place_exhaust_on_ships(), RecordCannedSceneObjectEvent(), reposition_fixed_child_objects(), set_objects_data(), ShipExplosion(), and transform_objects_to_your_view().
| short g_asObjectScreenAngle[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 97 of file viewrect.c.
Referenced by ApplyAlternateShipType(), build_your_target_list(), Create_explosion_debris(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), draw_target_box(), easy2see(), flip_angle(), get_right_shape(), InitializeConstellationObject(), intro_drawbackgroundships(), place_exhaust_on_ships(), reposition_fixed_child_objects(), set_background_objects_rotation(), set_objects_data(), start_dust(), and transform_objects_to_your_view().
| short g_asObjectScreenScale[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 103 of file viewrect.c.
Referenced by build_your_target_list(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), draw_target_box(), easy2see(), InitializeConstellationObject(), intro_drawbackgroundships(), reposition_fixed_child_objects(), set_background_objects_rotation(), and transform_objects_to_your_view().
| short g_asObjectScreenX[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 95 of file viewrect.c.
Referenced by animate_object(), animate_shape(), BeginShipCloak(), BeginShipDestructionSequence(), borrow_dust(), build_your_target_list(), BuildObjectDepthOrder(), check_sighting(), check_target(), crash_time(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), draw_target_box(), DrawTargetRangeReadout(), easy2see(), Explosion(), find_vacant_3d_object(), house_keep_objects(), inflict_damage(), manage_hazard(), object_collision(), ok_hazard_spot(), place_exhaust_on_ships(), remove_object(), reposition_fixed_child_objects(), servicetrack(), set_up_action_sphere(), show_target_disp(), target_locking(), transform_objects_to_your_view(), update_star_field(), and UpdateTargetCameraTracking().
| short g_asObjectScreenY[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 96 of file viewrect.c.
Referenced by build_your_target_list(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), draw_target_box(), easy2see(), place_exhaust_on_ships(), reposition_fixed_child_objects(), target_locking(), transform_objects_to_your_view(), and UpdateTargetCameraTracking().
| short g_asObjectType[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 124 of file viewrect.c.
Referenced by animate_shape(), ApplyAlternateShipType(), approach_and_engage(), build_target_list(), build_your_target_list(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), capital_ship_intelligence(), chaff_intelligence(), ClearTransientObjectsForEjection(), Create_explosion_debris(), cruise_home(), death_sequence(), draw_sorted_objects_to_buffer(), Explosion(), explosion_shock_wave(), FF_missile_intelligence(), fire_afterburner(), fire_turrets(), fire_weapon(), free_ship(), get_color(), get_right_shape(), HandleSpaceFlightControls(), heat_seeking_missile_intelligence(), house_keep_objects(), inflict_damage(), InitializeConstellationObject(), internal_damage(), intro_drawbackgroundships(), launch_carrier_fighter(), load_ship(), manage_hazard(), Mstrafe_enemy(), object_collision(), object_intelligence(), place_exhaust_on_ships(), RecordCannedSceneObjectEvent(), remove_object(), reposition_fixed_child_objects(), score_for_kill(), set_eye_direction_and_position(), set_objects_data(), set_up_action_sphere(), set_up_next_wave(), Set_up_ship_info(), SpawnFlakBurst(), transform_objects_to_your_view(), TryBeginStarSystemJump(), update_bars(), and UpdateTargetCameraObject().
| short g_asObjectViewFrame[SPACE_OBJECT_COUNT] = { 0 } |
Definition at line 94 of file viewrect.c.
Referenced by animate_shape(), ApplyAlternateShipType(), build_your_target_list(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), draw_target_box(), easy2see(), generate_stars(), get_right_shape(), InitializeConstellationObject(), intro_drawbackgroundships(), place_exhaust_on_ships(), set_objects_data(), ToggleTargetCameraTracking(), transform_objects_to_your_view(), and update_star_field().
| short g_asPilotLevel[12] = { 0 } |
Definition at line 157 of file viewrect.c.
Referenced by any_defense(), approach_and_engage(), check_destroy_target(), engage(), Explosion(), find_next_ship_turn_slot(), fire_weapon(), get_ship_max_velocity(), GetShipAccelerationRate(), handle_stress(), init_intelligence_data(), internal_damage(), launch_carrier_fighter(), npc_communication(), pick_regular_maneuver(), process_maneuver_node(), request(), reset_stress(), ResolveObjectDestruction(), Set_up_ship_info(), and skill_check().
| short g_asProjectileEvasionTicks[8] = { 0 } |
Definition at line 186 of file viewrect.c.
Referenced by house_keep_objects(), object_collision(), process_maneuver_node(), Set_up_ship_info(), and ShipAiState46().
| short g_asShipAfterburnerTimer[10] = { 0 } |
Definition at line 137 of file viewrect.c.
Referenced by accelerate_and_move_object(), fire_afterburner(), fire_super_brake(), start_collision_alert(), and your_afterburner().
| short g_asShipAlertCountdown[12] = { 0 } |
Definition at line 174 of file viewrect.c.
Referenced by clear_alert(), start_collision_alert(), and try2end_collision_alert().
| short g_asShipCloakCooldown[10] = { 0 } |
Definition at line 180 of file viewrect.c.
Referenced by GetCannedSceneObjectMode(), house_keep_objects(), process_maneuver_node(), ResetShipCloakState(), Set_up_ship_info(), and ShipAiState47().
| short g_asShipCloakElapsedFrames[10] = { 0 } |
Definition at line 181 of file viewrect.c.
Referenced by BeginShipCloak(), DrawTargetRangeReadout(), GetCannedSceneObjectMode(), house_keep_objects(), overlay_head_up_display(), show_target_disp(), target_valid(), and transform_objects_to_your_view().
| short g_asShipCount[12] = { 0 } |
Definition at line 177 of file viewrect.c.
Referenced by accelerate_and_jump(), formation_burst(), general_zig(), Mcorkscrew(), Mgloat(), Mhard_break(), Msit_n_spin(), Mturn_n_spin(), Mwabble(), prepare_for_jump(), reset_maneuver(), and TryBeginStarSystemJump().
| short g_asShipFriendlyFireCooldown[10] = { 0 } |
Definition at line 183 of file viewrect.c.
Referenced by fire(), house_keep_objects(), inflict_damage(), and Set_up_ship_info().
| short g_asShipIdentified[12] = { 1 } |
Definition at line 182 of file viewrect.c.
Referenced by BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), draw_target_box(), real_vid_transmit(), request(), Set_up_ship_info(), and show_target_disp().
| short g_asShipIntelResourceKey[10] = { 0 } |
Definition at line 156 of file viewrect.c.
Referenced by init_intelligence_data(), init_mission(), and remove_object().
| short g_asShipIntelSlot[10] = { 0 } |
Definition at line 155 of file viewrect.c.
Referenced by init_intelligence_data(), init_mission(), perform_maneuver(), pick_kilrathi_maneuver(), process_maneuver_node(), ProcessMissionWaveCommands(), and remove_object().
| short g_asShipListRange[16] = { 0 } |
Definition at line 196 of file viewrect.c.
Referenced by build_target_list(), and fire_turrets().
| short g_asShipManeuver[12] = { 29 } |
Definition at line 169 of file viewrect.c.
Referenced by advance(), CompleteStarSystemJump(), DrawSpaceSceneFrame(), fire_weapon(), house_keep_objects(), init_intelligence_data(), perform_maneuver(), pick_from_list(), pick_regular_maneuver(), process_maneuver_node(), remove_object(), reset_maneuver(), RestoreCannedSceneObjectState(), try2reset_maneuver(), unactive(), unwarp(), and warp().
| short g_asShipMaximumVelocity[12] = { 0 } |
Definition at line 171 of file viewrect.c.
Referenced by approach_full_speed(), arrive_from_warp(), auto_pilot_sequence(), capital_ship_strike_mission(), celerate(), normal_speed(), and recalc_max_velocity().
| short g_asShipMissionIndex[12] = { 0 } |
Definition at line 153 of file viewrect.c.
Referenced by analyze_kill(), auto_pilot_sequence(), BeginShipDestructionSequence(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), Explosion(), find_ship_index(), flag_reached(), get_color(), house_keep_objects(), inflict_damage(), init_ship(), launch_carrier_fighter(), new_space_music_changes(), npc_communication(), process_maneuver_node(), request(), ResolveObjectDestruction(), send_message(), set_up_action_sphere(), Set_up_ship_info(), SpawnMissionEjectionPod(), strike_mission(), and UpdateTargetCameraObject().
| short g_asShipMissionParameter[12] = { 0 } |
Definition at line 164 of file viewrect.c.
Referenced by auto_pilot_valid(), capital_ship_strike_mission(), check_destroy_target(), check_goal(), cruise_to_destination(), defend_mission(), escort_mission(), Explosion(), flag_reached(), get_follow_point(), inflict_damage(), inherit_leader_mission(), init_intelligence_data(), new_space_music_changes(), rendezvous_mission(), send_message(), Set_up_ship_info(), split_patrol_mission(), strike_mission(), triumph(), and TryBeginStarSystemJump().
| short g_asShipMissionType[12] = { 0 } |
Definition at line 163 of file viewrect.c.
Referenced by arrive_from_warp(), auto_pilot_valid(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), capital_ship_intelligence(), change_mission_type(), changetrack(), check_futurion(), coming_home(), CompleteStarSystemJump(), escorting_a_ship(), formation_burst(), inflict_damage(), inherit_leader_mission(), init_intelligence_data(), is_any_ship_returning_to_current_nav_point(), IsShipRouting(), launch_carrier_fighter(), Mstrafe_enemy(), new_space_music_changes(), report_kilrathi_rout(), reset_mission_type(), run_away(), set_up_action_sphere(), ship_intelligence(), ShouldWingmanAcceptRoutCommand(), stationary_intelligence(), triumph(), and TryBeginStarSystemJump().
| short g_asShipSide[12] = { 2 } |
Definition at line 139 of file viewrect.c.
Referenced by abandoned(), analyze_kill(), any_enemy(), arrive_from_warp(), attacker_in_range(), auto_pilot_sequence(), auto_pilot_valid(), build_target_list(), build_your_target_list(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), call_enemy(), CanPlayerLand(), capital_ship_intelligence(), capital_ship_strike_mission(), check_destroy_target(), check_for_lost_control(), check_next_wave(), check_target(), coming_home(), CountAlliesOnSameTarget(), CountEnemyFighters(), cruise_home(), cruise_to_destination(), cycle_onscreen_targets(), detect_enemy_tail(), draw_target_box(), enemy_within_range(), engage(), Explosion(), FF_missile_intelligence(), fire(), fire_turrets(), flag_reached(), get_color(), get_first_follow_point(), get_follow_point(), get_ship_max_velocity(), GetShipAccelerationRate(), HandleSpaceFlightControls(), has_opposing_ship(), hostile_sphere(), house_keep_objects(), in_danger(), inflict_damage(), init_intelligence_data(), init_ship(), initialize_ship(), intelligence_events(), internal_damage(), IsEngagementTargetDisallowed(), kilrathi_near(), launch_carrier_fighter(), new_space_music_changes(), npc_communication(), object_collision(), prepare_for_jump(), process_maneuver_node(), ProcessEnemyWaveCompletion(), regulate_turn(), remove_object(), report_kilrathi_rout(), request(), reset_mission_type(), ResolveObjectDestruction(), rotate_object_to_goal(), run_away(), RunCampaignGameLoop(), scan_for_enemy(), score_for_kill(), select_target(), send_appropriate_message(), send_message(), set_objects_data(), Set_up_ship_info(), stationary_intelligence(), StoreMissionResultsInCampaignGlobals(), target_locking(), target_valid(), try2rout(), TryBeginStarSystemJump(), UpdateShipTurretGuns(), warp(), and wingman_mission().
| short g_asShipTactic[12] = { 0 } |
Definition at line 168 of file viewrect.c.
Referenced by accelerate_and_move_object(), alter_tactic(), arrive_from_warp(), capital_ship_intelligence(), coming_home(), explosion_shock_wave(), FF_missile_intelligence(), fire_weapon(), GetCannedSceneObjectMode(), house_keep_objects(), inflict_damage(), init_intelligence_data(), kilrathi_patrol(), patrol_area(), reach_warp(), reset_tactic(), scan_and_lock(), set_eye_direction_and_position(), strike_mission(), TryBeginStarSystemJump(), and warp_arrival().
| short g_asShipWeaponEnergy[10] = { 0 } |
Definition at line 136 of file viewrect.c.
Referenced by ApplyAlternateShipType(), fire_players_lasers(), fire_weapon(), replenish_weapon_energy_bank(), set_objects_data(), and update_lights().
| short g_asShipWingLeader[12] = { 0 } |
Definition at line 162 of file viewrect.c.
Referenced by build_squad_list(), imperial_formation(), inherit_leader(), inherit_leader_mission(), kilrathi_wingman(), launch_carrier_fighter(), maintain_formation(), player_wingman(), run_away(), Set_up_ship_info(), and split_patrol_mission().
| short g_asViableTargetDistance[10] = { 0 } |
Definition at line 199 of file viewrect.c.
Referenced by build_your_target_list(), FF_missile_intelligence(), heat_seeking_missile_intelligence(), and SortViableTargetsByDistance().
| short g_bDisplayWingmanTargetData = 0 |
Definition at line 77 of file viewrect.c.
Referenced by ClearHudMessageDisplay(), DrawTargetRangeReadout(), HandleSpaceFlightControls(), init_mission(), request(), and show_target_disp().
| short g_bEngageAllowed = 0 |
Definition at line 190 of file viewrect.c.
Referenced by allow_engage(), disallow_engage(), imperial_formation(), and request().
| short g_bExpandedShipGraphicsEnabled = 0 |
Definition at line 49 of file viewrect.c.
Referenced by free_ship(), get_right_shape(), load_ship(), LoadOriginFxDrivers(), main(), place_exhaust_on_ships(), release_all_capital_ship_shapes(), release_capital_ship_shapes(), and set_up_action_sphere().
| short g_bMissileCameraEnabled = 0 |
Definition at line 93 of file viewrect.c.
Referenced by HandleSpaceFlightControls(), and init_3Space_objects().
| short g_bTargetLockAcquired = 0 |
Definition at line 91 of file viewrect.c.
Referenced by decrement_lock_time(), and DrawTargetRangeReadout().
| short g_bTargetLockMode = 0 |
Definition at line 92 of file viewrect.c.
Referenced by check_target(), clean_up_cockpit(), HandleFleetOverviewInput(), HandleSpaceFlightControls(), lock_off(), new_view(), overlay_head_up_display(), prepare_mission(), RestoreTransientCockpitGraphics(), SaveTorpedoTargetLockForViewChange(), show_target_disp(), target_locking(), and UpdateTargetLeadIndicator().
| short g_bTargetLockReadoutDirty = 0 |
Definition at line 86 of file viewrect.c.
Referenced by DrawTargetRangeReadout(), lock_off(), and start_lock().
| short g_bUseEyePositionForHazards = 0 |
Definition at line 61 of file viewrect.c.
Referenced by check_hazards(), init_hazard(), and update_hazards().
| signed char g_cCurrentKey = (signed char)0x80 |
Definition at line 29 of file viewrect.c.
Referenced by HandleFleetOverviewInput(), HandleSpaceFlightControls(), player_input(), PollPersonnelMenuInput(), process_player_input(), ProcessCannedSceneInput(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), SelectCockpitVduMode(), SelectLegacyGameSource(), SelectPersonnelFileSlot(), SelectTransferredPilot(), and ShowNoTransferablePilots().
| signed char g_cCurrentNavPointIndex = -1 |
Definition at line 67 of file viewrect.c.
Referenced by auto_pilot_sequence(), Build_objective_list(), CentreMouseOnCurrentNavObjective(), cycle_next_objective(), DrawSelectedNavLegendEntry(), get_first_follow_point(), InflightComputer(), is_any_ship_returning_to_current_nav_point(), SelectNavObjectiveAtPoint(), set_new_objective(), and set_next_destination().
| signed char g_cCurrentObjective = -1 |
Definition at line 57 of file viewrect.c.
Referenced by arrive_from_warp(), auto_pilot_sequence(), auto_pilot_valid(), Build_objective_list(), BuildMap(), changetrack(), check_objectives(), clear_head_up_display(), cycle_next_objective(), draw_3d_scanner(), draw_nav_pointer(), DrawCalculatingLabel(), DrawNavLocationReadout(), flag_reached(), FollowSelectedObjectiveSystem(), InflightComputer(), set_new_objective(), set_objective_range(), set_up_action_sphere(), show_navigation_disp(), strike_mission(), TryBeginStarSystemJump(), update_objective_location(), and UpdateMap().
| signed char g_cMissionObjectiveCount = -1 |
Definition at line 66 of file viewrect.c.
Referenced by auto_pilot_valid(), BriefingMap_LoadShapes(), Build_objective_list(), BuildMap(), CanPlayerLand(), check_next_wave(), DrawNavMapLegend(), find_objective(), FlagCurrentNavObjectivesReached(), hidden_objective(), InflightComputer(), objective_name(), set_new_objective(), set_next_destination(), set_up_action_sphere(), SetScale(), update_cockpit(), and UpdateTargetCameraObject().
| signed char g_cPreviousKey = (signed char)0x80 |
Definition at line 30 of file viewrect.c.
Referenced by HandleFleetOverviewInput(), HandleSpaceFlightControls(), player_input(), PollPersonnelMenuInput(), process_player_input(), and ProcessCannedSceneInput().
| signed char g_cTargetDisplayObject = -1 |
Definition at line 89 of file viewrect.c.
Referenced by DrawTargetRangeReadout(), and show_target_disp().
| signed char g_cViableTargetCount = 0 |
Definition at line 197 of file viewrect.c.
Referenced by build_your_target_list(), check_target(), cycle_onscreen_targets(), FF_missile_intelligence(), heat_seeking_missile_intelligence(), and SortViableTargetsByDistance().
| signed char g_cViewObject = -1 |
Definition at line 34 of file viewrect.c.
Referenced by new_view(), ProcessCannedSceneInput(), SelectNextExternalViewObject(), and set_eye_direction_and_position().
| unsigned int g_dwCannedSceneSnapshotEnd = 0 |
Definition at line 200 of file viewrect.c.
| unsigned int g_dwCannedSceneSnapshotStart = 0 |
Definition at line 31 of file viewrect.c.
Referenced by FinishCannedScenePlayback(), ReadTapeInitialState(), and WriteTapeInitialState().
| short g_nAutoEngageTimer = -1 |
Definition at line 191 of file viewrect.c.
Referenced by allow_engage(), BuildCommunicationCommandMenu(), clean_up_cockpit(), imperial_formation(), request(), and try2allow_engage().
| short g_nCockpitResetState = 0 |
Definition at line 85 of file viewrect.c.
Referenced by overlay_head_up_display().
| short g_nCurrentNavPoint = 0 |
Definition at line 53 of file viewrect.c.
Referenced by abandoned(), arrive_from_warp(), auto_pilot_sequence(), auto_pilot_valid(), check_next_wave(), cruise_to_destination(), FindNearestNavPoint(), FlagCurrentNavObjectivesReached(), init_intelligence_data(), launch_carrier_fighter(), orbit_sphere(), ReleaseStaleNavTarget(), set_up_action_sphere(), set_up_next_wave(), split_patrol_mission(), and TryBeginStarSystemJump().
| int g_nCurrentObjectiveRange = 0 |
Definition at line 56 of file viewrect.c.
Referenced by check_objectives(), DrawCalculatingLabel(), and set_objective_range().
| short g_nCurrentWave = -1 |
Definition at line 54 of file viewrect.c.
Referenced by imperial_formation(), report_kilrathi_rout(), set_up_action_sphere(), and set_up_next_wave().
| short g_nExternalViewShip = -1 |
Definition at line 74 of file viewrect.c.
Referenced by HandleSpaceFlightControls(), init_3Space_objects(), new_view(), object_intelligence(), ResolveObjectDestruction(), and set_eye_direction_and_position().
| short g_nEyePitchGoal = 0 |
Definition at line 35 of file viewrect.c.
Referenced by new_view(), and rotate_eye_to_goal().
| short g_nEyePitchRate = 1 |
Definition at line 38 of file viewrect.c.
Referenced by new_view(), and rotate_eye_to_goal().
| short g_nEyeRollGoal = 0 |
Definition at line 37 of file viewrect.c.
Referenced by new_view(), rotate_eye_to_goal(), and set_eye_direction_and_position().
| short g_nEyeRollRate = 1 |
Definition at line 40 of file viewrect.c.
Referenced by new_view(), rotate_eye_to_goal(), and set_eye_direction_and_position().
| short g_nEyeYawGoal = 0 |
Definition at line 36 of file viewrect.c.
Referenced by new_view(), and rotate_eye_to_goal().
| short g_nEyeYawRate = 1 |
Definition at line 39 of file viewrect.c.
Referenced by new_view(), and rotate_eye_to_goal().
| short g_nFacingToTarget = 0 |
Definition at line 45 of file viewrect.c.
Referenced by being_tailed(), BuildCommunicationCommandMenu(), capital_ship_strike_mission(), chase_location(), cruise_to_destination(), facing_to_object(), fire(), futurion_intelligence(), get_facing_range_from_point(), goto_formation(), goto_location(), heat_seeking_missile_intelligence(), intelligence_events(), Mbuzz_debris(), Mget_distance(), Mkill_missile(), Mram_missile(), Msit_n_spin(), Mveer_away(), Mzip_past(), prepare_for_jump(), prevent_collision(), process_maneuver_node(), ShipAiState45(), target_locking(), UpdateSavedTorpedoTargetLock(), and UpdateShipTurretGuns().
| short g_nHazardFieldCount = 0 |
Definition at line 58 of file viewrect.c.
Referenced by add_hazard_field(), check_hazards(), house_keep(), and set_up_action_sphere().
| short g_nLoadedCommPortraitPilot = -1 |
Definition at line 55 of file viewrect.c.
Referenced by free_cockpit(), init_intelligence_data(), and real_vid_transmit().
| int g_nMissionMusicTrackOverride = 0 |
Definition at line 194 of file viewrect.c.
Referenced by gametrack(), and init_intelligence_data().
| short g_nNavPointerObject = -1 |
Definition at line 52 of file viewrect.c.
Referenced by draw_nav_pointer(), draw_sorted_objects_to_buffer(), intro_drawbackgroundships(), remove_nav_pointer(), remove_object(), and transform_objects_to_your_view().
| short g_nPlayerCollisionObject = -1 |
Definition at line 78 of file viewrect.c.
Referenced by house_keep_objects(), and init_3Space_objects().
| short g_nRenderedSpaceFrame = 0 |
Definition at line 33 of file viewrect.c.
Referenced by animate_object(), check_target(), draw_cockpit_lights(), DrawSpaceSceneFrame(), DrawTargetRangeReadout(), init_3Space_objects(), manage_hazard(), overlay_head_up_display(), and vid_transmit().
| short g_nSelectedGunType = -1 |
Definition at line 83 of file viewrect.c.
Referenced by ApplyAlternateShipType(), select_new_gun(), set_objects_data(), and show_weapon_disp().
| short g_nSelectedReleaseWeaponIndex = -1 |
Definition at line 84 of file viewrect.c.
Referenced by ApplyAlternateShipType(), decrement_lock_time(), draw_target_box(), HandleSpaceFlightControls(), lock_off(), remove_weapon(), SaveTorpedoTargetLockForViewChange(), select_new_release_weapon(), set_objects_data(), show_weapon_disp(), and target_locking().
| short g_nSpaceFrame = 0 |
Definition at line 32 of file viewrect.c.
Referenced by accelerate(), ApplyCannedSceneFrameEvents(), DecreaseAdaptiveDifficulty(), FlushCannedSceneRecordingBuffer(), gametrack(), house_keep(), house_keep_objects(), IncreaseAdaptiveDifficulty(), init_3Space_objects(), object_intelligence(), playWAVE(), RecordCannedSceneBriefingCharacter(), RecordCannedSceneObjectEvent(), RecordCannedSceneObjectState(), RecordMusicCommandHook(), regulate_turn(), replenish_shields(), replenish_weapon_energy_bank(), servicetrack(), set_objects_data(), SetCockpitLightBlink(), ToggleTargetCameraTracking(), transform_objects_to_your_view(), Update_3Space(), update_cockpit(), update_lights(), update_objects_in_space(), UpdateTargetCameraObject(), and your_afterburner().
| short g_nTargetFacing = 0 |
Definition at line 46 of file viewrect.c.
Referenced by being_tailed(), BuildCommunicationCommandMenu(), close_behind(), fire(), get_facing_range_from_object(), heat_seeking_missile_intelligence(), intelligence_events(), Mbest_strafe(), Mturn_n_spin(), Mzip_past(), perform_maneuver(), prepare_for_jump(), prevent_collision(), process_maneuver_node(), and target_locking().
| short g_nTargetLockCountdown = 0 |
Definition at line 87 of file viewrect.c.
Referenced by check_target(), CheckTargetLockMalfunction(), cycle_onscreen_targets(), decrement_lock_time(), draw_target_box(), DrawTargetRangeReadout(), fire_missile(), lock_off(), new_view(), overlay_head_up_display(), SaveTorpedoTargetLockForViewChange(), start_lock(), starting_lock(), and target_locking().
| short g_nTargetLockMarkerAngle = 0 |
Definition at line 88 of file viewrect.c.
Referenced by draw_target_box(), and start_lock().
| short g_nTargetRange = 0 |
Definition at line 47 of file viewrect.c.
Referenced by any_enemy(), approach_and_engage(), attacker_in_range(), being_tailed(), BuildCommunicationCommandMenu(), chase_location(), chase_speed(), close_behind(), defend_mission(), escort_mission(), FF_missile_intelligence(), fire(), futurion_intelligence(), get_facing_range_from_object(), get_facing_range_from_point(), goto_formation(), goto_location(), heat_seeking_missile_intelligence(), in_danger(), intelligence_events(), Mget_distance(), Mkill_missile(), Mram_missile(), Msit_n_fire(), Msit_n_spin(), Mstrafe_enemy(), Mtry2tail(), Mveer_away(), Mzip_past(), patrol_area(), perform_maneuver(), prepare_for_jump(), process_maneuver_node(), scan_for_enemy(), UpdateSavedTorpedoTargetLock(), and UpdateShipTurretGuns().
| short g_nTargetShip = 0 |
Definition at line 48 of file viewrect.c.
Referenced by any_enemy(), attacker_in_range(), capital_ship_intelligence(), defend_mission(), escort_mission(), imperial_formation(), in_danger(), Mkill_missile(), rendezvous_mission(), scan_for_enemy(), and tanker_intelligence().
| int g_nUnusedTargetWord = 0 |
Definition at line 90 of file viewrect.c.
| int g_nUnusedWingmanWord = 0 |
Definition at line 192 of file viewrect.c.
| short g_nYourWingman = -1 |
Definition at line 75 of file viewrect.c.
Referenced by auto_pilot_sequence(), auto_position(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), Chosen_communicate_option(), clean_up_cockpit(), CompleteStarSystemJump(), disobey_formation(), DrawTargetRangeReadout(), ejection_sequence(), Explosion(), fire(), fire_weapon(), HandleSpaceFlightControls(), house_keep_objects(), imperial_formation(), inflict_damage(), init_intelligence_data(), init_ship(), intelligence_events(), new_space_music_changes(), object_intelligence(), prepare_mission(), process_maneuver_node(), regulate_turn(), remove_object(), request(), RunCutsceneScript(), send_appropriate_message(), send_message(), ShouldWingmanAcceptRoutCommand(), show_target_disp(), SpawnMissionEjectionPod(), try2allow_engage(), try2rout(), TryBeginStarSystemJump(), and wingman_dead().
| HazardField* g_pActiveHazardField = 0 |
Definition at line 60 of file viewrect.c.
Referenced by auto_pilot_sequence(), auto_pilot_valid(), check_hazards(), detect_collisions(), init_hazard(), match_ship_to_eye(), remove_all_hazards(), start_hazard_field(), try_far_spot(), and update_star_field().
| PilotProfile g_stCurrentPilotProfile = { 0 } |
Definition at line 73 of file viewrect.c.
Referenced by affect_mission_score(), BuildMap(), ejection_sequence(), ExpandCommMessageTokens(), init_mission(), InitializeCampaignConstellationState(), LoadSelectedPilotCampaign(), OpenDiskDataFile(), prepare_mission(), ProcessEnemyWaveCompletion(), RunCampaignChalkboardMenu(), RunCampaignGameLoop(), RunGameApplication(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), ShowPlayerEjectionSequence(), ShowPlayerStrandingSequence(), StoreMissionResultsInCampaignGlobals(), and UpdateTargetCameraObject().
| ShipIntelligenceMetadata g_stWingmanIntelligence = { 0 } |
Definition at line 193 of file viewrect.c.
Referenced by disobey_formation(), init_intelligence_data(), init_mission(), ShouldWingmanAcceptRoutCommand(), and try2allow_engage().
| FixedVector g_vCollisionDelta = { 0 } |
Definition at line 43 of file viewrect.c.
Referenced by check_for_collision(), hit_asteroid(), object_collision(), and room_for_me().
| FixedVector g_vPlayerAcceleration = { 0 } |
Definition at line 79 of file viewrect.c.
Referenced by accelerate_and_move_object().
| FixedVector g_vPreviousStarFieldMotion = { 0 } |
Definition at line 42 of file viewrect.c.
Referenced by update_star_field().
| FixedVector g_vStarFieldMotion = { 0 } |
Definition at line 41 of file viewrect.c.
Referenced by update_star_field().
| FixedVector g_vToTarget = { 0 } |
Definition at line 44 of file viewrect.c.
Referenced by capital_ship_strike_mission(), chase_location(), distance_from_point(), FF_missile_intelligence(), get_facing_range_from_point(), goto_formation(), heat_seeking_missile_intelligence(), object_intelligence(), and UpdateShipTurretGuns().