|
Wing Commander II
Reconstructed Win32 source (1996)
|
Mission setup, action spheres and ship loading. More...
#include "game.h"Go to the source code of this file.
Variables | |
| short | g_bMissionShipInitializationInProgress = 0 |
| short | g_bShipResourceReloadInProgress = 0 |
| void ** | g_apPacketReferenceGroups [5] = { 0 } |
| unsigned char | g_ucPendingEjectionTransition = 0xff |
| short | g_bEjectionWaitForEnemyWave = 0 |
| short | g_bEjectionAwaitingCommCommand = 0 |
| short | g_nPendingEjectionSequenceCount = 0 |
| short | g_bEjectionTriggerImmediately = 0 |
| short | g_nEjectionSequenceState = 0 |
| signed char | g_cQueuedNpcPortrait = -1 |
| signed char | g_cQueuedNpcMessage = -1 |
| ShortVector | g_aaFormationPositions [5][8] |
| short | g_anPilotTurnInterval [8] |
| short | g_1_nEnemyCommCommandBase |
| short | g_nEnemyCommPilotIndex |
| short | g_asCapitalHitDamageStepTable [10] |
Mission setup, action spheres and ship loading.
Definition in file mission.c.
| void add_hazard_field | ( | short | type, |
| FixedVector | center, | ||
| short | radius, | ||
| short | density ) |
| void ApplyAlternateShipType | ( | short | obj | ) |
Definition at line 138 of file mission.c.
References ObjectTypeData::animation, ApplyAlternateShipType(), ObjectTypeData::armorFront, ObjectTypeData::armorLeft, ObjectTypeData::armorRear, ObjectTypeData::armorRight, ObjectTypeData::collisionRadius, ObjectTypeData::field_18, g_aasShipArmor, g_aasShipMaximumShield, g_aasShipShield, g_acLastCollisionObject, g_acObjectOwner, g_acObjectType, g_acPilotHitPoints, g_acShipDamage, g_acShipIonDriveDamage, g_acShipLastAttacker, g_acShipTarget, g_aeObjectClass, g_anShipFuel, g_aObjectTypeData, g_apObjectExhaustShape, g_apObjectShape, g_aShipWeapons, g_asObjectCollisionRadius, g_asObjectDamage, g_asObjectFlip, g_asObjectScale, g_asObjectScreenAngle, g_asObjectType, g_asObjectViewFrame, g_asShipTurretFireEnabled, g_asShipWeaponEnergy, g_nSelectedGunType, g_nSelectedReleaseWeaponIndex, HasShipCockpitGunDisplay(), init_ijk(), InitializeShipWeaponTypeIndices(), ObjectTypeData::lifetime, ObjectTypeData::objectClass, recalc_max_velocity(), ObjectTypeData::scale, ObjectTypeData::shapeSet, ObjectTypeData::shieldAft, ObjectTypeData::shieldFore, and ObjectTypeData::weaponLoadout.
Referenced by ApplyAlternateShipType(), init_ship(), and prepare_mission().
| void check_futurion | ( | short | i | ) |
Definition at line 68 of file mission.c.
References check_futurion(), g_aeObjectClass, g_asObjectCounter, g_asShipMissionType, MISSION_TYPE_WARP_ARRIVE, and OBJECT_CLASS_FUTURION.
Referenced by check_futurion(), and init_ship().
| void ComputeVectorDelta | ( | FixedVector * | from, |
| FixedVector * | to, | ||
| FixedVector * | delta ) |
| void * FetchDiskPacketRetrying | ( | char * | fileName, |
| short | section, | ||
| short | flags ) |
| void find_next_ship_turn_slot | ( | short | obj | ) |
Definition at line 1231 of file mission.c.
References find_next_ship_turn_slot(), g_acTurnInterval, g_acTurnRegulator, g_aeObjectClass, g_anPilotTurnInterval, g_asPilotLevel, and OBJECT_CLASS_SHIP.
Referenced by find_next_ship_turn_slot(), and init_ship().
| short FindObjectResourceSlot | ( | short | resourceType | ) |
Definition at line 401 of file mission.c.
References FindObjectResourceSlot(), and g_aObjectResourceSlots.
Referenced by FindObjectResourceSlot(), and LoadAlternateShipType().
| void flag_objective | ( | short | objective, |
| unsigned char | flags ) |
Definition at line 703 of file mission.c.
References free_all_slots(), free_ship(), g_aObjectResourceSlots, and release_all_capital_ship_shapes().
Referenced by death_sequence(), free_all_slots(), and ReleaseSpaceflightResources().
| void free_ship | ( | short | slot | ) |
Definition at line 604 of file mission.c.
References ObjectTypeData::animation, free_ship(), FreePacketAndClear(), g_19_bStoredHighMemoryEnabled, g_1_nResourcePaletteState, g_acObjectType, g_aeObjectClass, g_aObjectResourceSlots, g_aObjectTypeData, g_apObjectShape, g_apPacketReferenceGroups, g_asObjectType, g_bExpandedShipGraphicsEnabled, OBJECT_CLASS_ASTEROID, OBJECT_CLASS_CAPITAL_SHIP, OBJECT_CLASS_MISSILE, OBJECT_CLASS_SHIP, release_capital_ship_shapes(), ReleasePacketHandle(), remove_object(), ObjectResourceSlot::resourceType, ObjectTypeData::shape, ObjectTypeData::shapeSet, SPACE_LAST_MOVING_OBJECT, and SPACE_OBJECT_COUNT.
Referenced by free_3Space_objects(), free_all_slots(), free_ship(), load_common_3Space_objects(), and new_sphere_shapes().
| short get_shape_slot | ( | void | ) |
Definition at line 751 of file mission.c.
References g_aObjectResourceSlots, and get_shape_slot().
Referenced by get_shape_slot(), and new_sphere_shapes().
| void init_intelligence_data | ( | short | obj | ) |
Definition at line 1316 of file mission.c.
References AllocateTaggedMemory(), clear_alert(), ShipIntelligenceMetadata::enemyCommCommandBase, g_13_stMissionHeaderBlock, g_1_nEnemyCommCommandBase, g_abShipTurn, g_acObjectType, g_acShipPortrait, g_acShipStress, g_aeObjectClass, g_aeSpecialManeuver, g_aMissionNavPoints, g_aObjectTypeData, g_aShipIntelligenceData, g_aShipMissionSpot, g_asPilotLevel, g_asShipIntelResourceKey, g_asShipIntelSlot, g_asShipIntelState, g_asShipManeuver, g_asShipMissionParameter, g_asShipMissionType, g_asShipSide, g_asShipTactic, g_nCurrentNavPoint, g_nEnemyCommPilotIndex, g_nLoadedCommPortraitPilot, g_nMissionMusicTrackOverride, g_nYourWingman, g_pCommPortraitResource, g_stWingmanIntelligence, MissionHeader::homeMissionShip, init_intelligence_data(), LoadCommPortraitResources(), LoadPacketIntoBuffer(), locate_ship(), MANEUVER_WARPING_IN, MISSION_TYPE_DEFEND, MISSION_TYPE_ESCORT, MISSION_TYPE_GOTO_WARP, MISSION_TYPE_STRIKE, MISSION_TYPE_WARP_ARRIVE, MISSION_TYPE_WINGMAN, ShipIntelligenceMetadata::musicTrack, OBJECT_CLASS_SHIP, MissionNavPoint::position, RATING_ACE_SPIRIT, ReportFatalErrorCode(), ObjectTypeData::resourceType, SIDE_IMPERIAL, SIDE_KILRATHI, SPECIAL_MANEUVER_NONE, and TACTIC_WARP_IN.
Referenced by init_intelligence_data(), and Set_up_ship_info().
| void init_mission | ( | short | series, |
| short | mission ) |
Definition at line 87 of file mission.c.
References ShipIntelligenceMetadata::engagementMode, MissionHeader::entryNavPoint, ShipIntelligenceMetadata::formationDisobeyMode, g_11_nMissionResourceBudget, g_13_stMissionHeaderBlock, g_1_nEnemyCommCommandBase, g_acJumpDriveUsedBySystem, g_aMissionNavPoints, g_aMissionResourceDescriptors, g_asDifficultyLevels, g_asShipIntelResourceKey, g_asShipIntelSlot, g_bCockpitDamageFrame0Shown, g_bCockpitDamageFrame2Shown, g_bDisplayWingmanTargetData, g_bFriendlyFireWarningIssued, g_bFuelGaugeDamaged, g_bMissileLockAcquired, g_bMissionDeathSequencePending, g_bTargetLockActive, g_nAdaptiveDifficulty, g_nAvailableGameMemoryNumber, g_nCommDeathSequenceFrame, g_nCurStellarSystem, g_nEnemyCommPilotIndex, g_nEnemyTauntCommandBase, g_nLastAdaptiveDifficultyChangeFrame, g_stCurrentPilotProfile, g_stWingmanIntelligence, g_ucPendingEjectionTransition, init_3Space_objects(), init_mission(), InitializeCockpitResources(), LoadMissionData(), LoadPacketIntoBuffer(), LoadPacketResourceList(), PilotProfile::playerShipType, prepare_mission(), ResetWeaponDisplayPositions(), ShipIntelligenceMetadata::routDecisionMode, MissionNavPoint::systemIndex, and ShipIntelligenceMetadata::targetingMode.
Referenced by init_mission(), RunCampaignGameLoop(), and RunGameApplication().
| short init_ship | ( | short | missionShip, |
| short | navPoint ) |
Definition at line 1255 of file mission.c.
References add_hazard_field(), AddFixedVectors(), ApplyAlternateShipType(), check_futurion(), MissionShipRecord::field_13, find_next_ship_turn_slot(), find_ship_index(), g_aMissionNavPoints, g_aMissionShips, g_aShipPosition, g_asShipMissionIndex, g_asShipSide, g_nYourWingman, init_ship(), initialize_ship(), is_alive(), is_team_member(), LoadAlternateShipType(), MissionShipRecord::navPoint, MissionShipRecord::objectType, MissionShipRecord::pilot, MissionShipRecord::position, Set_up_ship_info(), MissionShipRecord::side, MissionShipRecord::speed, MissionShipRecord::state, and MissionShipRecord::type.
Referenced by init_ship(), prepare_mission(), set_up_action_sphere(), and set_up_next_wave().
| short is_alive | ( | signed char | pilot | ) |
Definition at line 61 of file mission.c.
References g_pPilotStatus, and is_alive().
Referenced by init_ship(), is_alive(), and prepare_mission().
| short is_team_member | ( | short | missionShip | ) |
Definition at line 1217 of file mission.c.
References g_13_stMissionHeaderBlock, MissionHeader::initialMissionShips, is_team_member(), and MissionHeader::playerMissionShip.
Referenced by auto_pilot_sequence(), hidden_objective(), init_ship(), is_team_member(), and strike_mission().
Definition at line 715 of file mission.c.
References ObjectTypeData::animation, free_view_buffer(), g_acObjectType, g_aObjectResourceSlots, g_aObjectTypeData, g_apObjectExhaustShape, g_bShipResourceReloadInProgress, load_all_slots(), load_ship(), release_all_capital_ship_shapes(), and ObjectResourceSlot::resourceType.
Referenced by death_sequence(), ejection_sequence(), load_all_slots(), and set_up_action_sphere().
| void load_ship | ( | short | resourceType, |
| short | objectType, | ||
| short | objectClass, | ||
| short | slot ) |
Definition at line 415 of file mission.c.
References ObjectResourceSlot::animation, ObjectTypeData::animation, FetchDiskPacketRetrying(), ObjectResourceSlot::field_12, FreePacketAndClear(), g_19_bStoredHighMemoryEnabled, g_1_nResourcePaletteState, g_98_nMemConfiguration, g_acObjectType, g_aeObjectClass, g_aObjectResourceSlots, g_aObjectTypeData, g_apObjectExhaustShape, g_apObjectShape, g_apPacketReferenceGroups, g_asLoadedShipViewFrame, g_asObjectType, g_bExpandedShipGraphicsEnabled, g_bShipResourceReloadInProgress, HOST_POINTER_SIZE, LOAD_OBJECT_TYPE_RECORD, load_ship(), OBJECT_CLASS_ASTEROID, OBJECT_CLASS_CAPITAL_SHIP, OBJECT_CLASS_MISSILE, OBJECT_CLASS_SHIP, ObjectResourceSlot::objectClass, ObjectResourceSlot::objectType, ReportFatalErrorCode(), ObjectResourceSlot::resourceType, ObjectResourceSlot::shape, ObjectTypeData::shape, ObjectResourceSlot::shapeSet, ObjectTypeData::shapeSet, and SPACE_LAST_MOVING_OBJECT.
Referenced by load_all_slots(), load_common_3Space_objects(), load_ship(), new_sphere_shapes(), and prepare_mission().
| void LoadAlternateShipType | ( | short | resourceType, |
| short | logicalFile ) |
Definition at line 214 of file mission.c.
References ObjectTypeData::animation, FindObjectResourceSlot(), g_aObjectTypeData, g_nSelectedCampaignSlot, LOAD_OBJECT_TYPE_RECORD, LoadAlternateShipType(), ObjectTypeData::resourceType, ObjectTypeData::shape, and ObjectTypeData::shapeSet.
Referenced by init_ship(), LoadAlternateShipType(), and prepare_mission().
| void new_sphere_shapes | ( | MissionNavPoint * | navPoint | ) |
Definition at line 789 of file mission.c.
References free_ship(), free_view_buffer(), g_aObjectResourceSlots, get_shape_slot(), initialize_view_buffer(), load_ship(), new_sphere_shapes(), MissionNavPoint::preloadLogicalFiles, MissionNavPoint::preloadObjectClasses, MissionNavPoint::preloadObjectTypes, release_all_capital_ship_shapes(), ObjectResourceSlot::resourceType, shape_loaded(), and shape_needed().
Referenced by new_sphere_shapes(), set_up_action_sphere(), and set_up_next_wave().
| void place_ship_near_player_until_valid | ( | short | obj, |
| short | minimum, | ||
| short | maximum ) |
Definition at line 1043 of file mission.c.
References g_aShipPosition, place_ship_near_player_until_valid(), random_radial(), and room_for_me().
Referenced by arrive_from_warp(), place_ship_near_player_until_valid(), and set_up_next_wave().
Definition at line 281 of file mission.c.
References ApplyAlternateShipType(), Build_objective_list(), MissionHeader::entryNavPoint, MissionShipRecord::field_13, find_ships_sphere(), g_13_stMissionHeaderBlock, g_36_cPilotKillCountValue, g_4_acInitialShipKillNumber, g_6_nHomeOperationShipIndexValue, g_8_bUserDestroyedFlag, g_acPlayerComponentDamage, g_aMissionShips, g_bLandingCommRequestPending, g_bMissionShipInitializationInProgress, g_bTargetLockMode, g_bWingmanKilledThisMission, g_nMissionEntryNavOverride, g_nYourWingman, g_stCurrentPilotProfile, MissionHeader::homeMissionShip, init_ship(), MissionHeader::initialMissionShips, is_alive(), load_ship(), LoadAlternateShipType(), PilotProfile::missionScore, MissionShipRecord::navPoint, OBJECT_CLASS_SHIP, MissionShipRecord::objectType, MissionHeader::playerMissionShip, PilotProfile::playerShipType, MissionShipRecord::portrait, prepare_mission(), set_objects_data(), Set_up_ship_info(), and MissionShipRecord::type.
Referenced by init_mission(), and prepare_mission().
| void ProcessMissionWaveCommands | ( | MissionNavPoint * | navPoint | ) |
Definition at line 832 of file mission.c.
References ejection_sequence(), g_aShipIntelligenceData, g_asShipIntelSlot, g_bEjectionAwaitingCommCommand, g_bEjectionTriggerImmediately, g_bEjectionWaitForEnemyWave, g_cQueuedNpcMessage, g_cQueuedNpcPortrait, g_nArcadeState, g_nEjectionSequenceState, g_nPendingEjectionSequenceCount, g_ucPendingEjectionTransition, LoadPacketIntoBuffer(), ProcessMissionWaveCommands(), and MissionNavPoint::waveCommands.
Referenced by ProcessMissionWaveCommands(), set_up_action_sphere(), and set_up_next_wave().
| void random_radial | ( | const FixedVector * | center, |
| short | radius, | ||
| FixedVector * | position ) |
Definition at line 251 of file mission.c.
References find_ships_sphere(), g_69_aMissionObjectiveSources, g_aMissionShips, g_bBriefingMapActive, MissionObjectiveSource::index, MissionShipRecord::navPoint, RefreshObjectiveShipNavPoints(), and MissionObjectiveSource::type.
Referenced by Build_objective_list(), close_behind(), and RefreshObjectiveShipNavPoints().
Definition at line 357 of file mission.c.
References FreePacketAndClear(), g_aeObjectClass, g_apObjectShape, g_asLoadedShipViewFrame, g_bExpandedShipGraphicsEnabled, OBJECT_CLASS_CAPITAL_SHIP, OBJECT_CLASS_SHIP, and release_all_capital_ship_shapes().
Referenced by free_all_slots(), load_all_slots(), new_sphere_shapes(), and release_all_capital_ship_shapes().
| void release_capital_ship_shapes | ( | short | resourceType | ) |
Definition at line 373 of file mission.c.
References FreePacketAndClear(), g_acObjectType, g_aObjectTypeData, g_apObjectShape, g_asLoadedShipViewFrame, g_bExpandedShipGraphicsEnabled, OBJECT_CLASS_CAPITAL_SHIP, OBJECT_CLASS_SHIP, and release_capital_ship_shapes().
Referenced by free_ship(), and release_capital_ship_shapes().
Definition at line 742 of file mission.c.
References remove_nav_point_objects(), and remove_object().
Referenced by remove_nav_point_objects().
Definition at line 77 of file mission.c.
References g_116_aWeaponDisplayPositions, g_aDefaultWeaponDisplayPositions, and ResetWeaponDisplayPositions().
Referenced by init_mission(), and ResetWeaponDisplayPositions().
| short room_for_me | ( | short | obj, |
| short | minimum ) |
Definition at line 1020 of file mission.c.
References ComputeVectorDelta(), distance_from_object(), g_aeObjectClass, g_aShipPosition, g_asObjectCollisionRadius, g_vCollisionDelta, IsVectorWithinRange(), room_for_me(), and SPACE_OBJECT_COUNT.
Referenced by place_ship_near_player_until_valid(), and room_for_me().
| void set_formation_position | ( | short | obj, |
| const MissionShipRecord * | record ) |
Definition at line 1105 of file mission.c.
References copy_frame(), find_ship_index(), MissionShipRecord::formationIndex, MissionShipRecord::formationSpot, g_aaFormationPositions, g_aMissionShips, g_anShipSpeed, g_aShipFormationOffset, g_aShipPosition, g_bMissionShipInitializationInProgress, MissionShipRecord::leaderMissionIndex, offset_location(), set_formation_position(), set_sphere_point(), MissionShipRecord::speed, and sub_int_vector().
Referenced by set_formation_position(), and Set_up_ship_info().
| void set_sphere_point | ( | const MissionShipRecord * | record, |
| FixedVector * | position ) |
Definition at line 52 of file mission.c.
References AddFixedVectors(), g_aMissionNavPoints, MissionShipRecord::navPoint, MissionNavPoint::position, MissionShipRecord::position, and set_sphere_point().
Referenced by Build_objective_list(), set_formation_position(), set_sphere_point(), and Set_up_ship_info().
| void set_up_action_sphere | ( | short | navPoint | ) |
Definition at line 923 of file mission.c.
References clean_up_cockpit(), explode(), flag_objective(), FreePacketAndClear(), g_78_bHighMemoryBuffersSetState, g_acShipNavPoint, g_aeObjectClass, g_aMissionNavPoints, g_aMissionObjectives, g_aMissionShips, g_aObjectTypeData, g_apObjectShape, g_asObjectScreenX, g_asObjectType, g_asShipMissionIndex, g_asShipMissionType, g_bAutopilotSequenceActive, g_bExpandedShipGraphicsEnabled, g_bJumpSequenceActive, g_bLandingCommRequestPending, g_cCurrentObjective, g_cMissionObjectiveCount, g_nCurrentNavPoint, g_nCurrentWave, g_nCurStellarSystem, g_nEnemySighting, g_nEscapedEnemyCount, g_nHazardFieldCount, init_ship(), load_all_slots(), LocateMobileObjective(), MISSION_TYPE_ROUT, MissionNavPoint::missionShips, new_sphere_shapes(), OBJECT_CLASS_CAPITAL_SHIP, OBJECT_CLASS_NULL, OBJECT_CLASS_SHIP, OBJECT_DATA_EJECTED_PILOT, OBJECT_DATA_SHIP_WING, ProcessMissionWaveCommands(), remove_all_hazards(), remove_object(), ResetCannedSceneRecording(), set_up_action_sphere(), MissionShipRecord::state, MissionNavPoint::systemIndex, MissionNavPoint::triggers, and MissionNavPoint::type.
Referenced by CompleteStarSystemJump(), ReleaseStaleNavTarget(), RunSpaceFlight(), and set_up_action_sphere().
| short set_up_next_wave | ( | void | ) |
Definition at line 1054 of file mission.c.
References g_19_bStoredHighMemoryEnabled, g_aMissionNavPoints, g_asObjectType, g_nCurrentNavPoint, g_nCurrentWave, g_nTrainSimActive, init_ship(), MissionNavPoint::missionShips, new_sphere_shapes(), OBJECT_TYPE_TORPEDO, place_ship_near_player_until_valid(), ProcessMissionWaveCommands(), remove_object(), set_up_next_wave(), SPACE_OBJECT_COUNT, and MissionNavPoint::type.
Referenced by ProcessEnemyWaveCompletion(), and set_up_next_wave().
| void Set_up_ship_info | ( | short | obj, |
| short | missionShip, | ||
| signed char | navPoint ) |
Definition at line 1135 of file mission.c.
References alter_pitch(), alter_roll(), alter_yaw(), ObjectTypeData::damageCapacity, MissionShipRecord::field_19, find_ship_index(), g_13_abShipArrivalMessageSent, g_27_aasGunCooldown, g_2_asCarrierLaunchTimer, g_2_asFlakCooldownTable, g_aasShipArmor, g_abPilotEjectionAttempted, g_abShipEjectionSequenceEnabled, g_acObjectType, g_acShipCollisionCooldown, g_acShipCommunicator, g_acShipComputerDamage, g_acShipDamage, g_acShipExhaustHeat, g_acShipIonDriveDamage, g_acShipLastAttacker, g_acShipNavPoint, g_acShipPendingMessage, g_acShipPortrait, g_aMissionShips, g_anShipCloakState, g_anShipSpeed, g_aObjectTypeData, g_apShipMissionRecord, g_asActionCount, g_asCapitalHitDamageStepTable, g_aShipPosition, g_aShipVelocity, g_aShipWeapons, g_asLoadedShipViewFrame, g_asObjectDamage, g_asObjectType, g_asPilotLevel, g_asPlayerHitsCreditValues, g_asProjectileEvasionTicks, g_asShipCloakCooldown, g_asShipFriendlyFireCooldown, g_asShipIdentified, g_asShipMissionIndex, g_asShipMissionParameter, g_asShipSide, g_asShipWingLeader, g_asSpikeriCooldown, g_asSpikeriLaunchCountdown, g_asWingmanDamageCredit, g_bKilrathiAceGreetingSent, init_intelligence_data(), MissionShipRecord::leaderMissionIndex, MissionShipRecord::missionParameter, MissionShipRecord::missionType, MissionShipRecord::name, MissionShipRecord::pilot, MissionShipRecord::pitch, MissionShipRecord::portrait, RandomInRange(), recalc_max_velocity(), reset_mission_type(), MissionShipRecord::roll, set_formation_position(), set_sphere_point(), Set_up_ship_info(), ShipHasCloakingDevice(), MissionShipRecord::side, SIDE_KILRATHI, MissionShipRecord::speed, MissionShipRecord::yaw, and zero_vector().
Referenced by init_ship(), launch_carrier_fighter(), prepare_mission(), and Set_up_ship_info().
| short shape_loaded | ( | short | resourceType | ) |
Definition at line 763 of file mission.c.
References g_aObjectResourceSlots, and shape_loaded().
Referenced by new_sphere_shapes(), and shape_loaded().
| short shape_needed | ( | const MissionNavPoint * | navPoint, |
| short | resourceType ) |
Definition at line 775 of file mission.c.
References MissionNavPoint::preloadObjectTypes, and shape_needed().
Referenced by new_sphere_shapes(), and shape_needed().
| void sub_int_vector | ( | const ShortVector * | left, |
| const ShortVector * | right, | ||
| ShortVector * | difference ) |
Definition at line 1093 of file mission.c.
References sub_int_vector(), ShortVector::x, ShortVector::y, and ShortVector::z.
Referenced by set_formation_position(), and sub_int_vector().
| short g_1_nEnemyCommCommandBase |
Definition at line 1463 of file mission.c.
Referenced by BuildCommunicationCommandMenu(), init_intelligence_data(), and init_mission().
| ShortVector g_aaFormationPositions[5][8] |
Definition at line 19 of file mission.c.
Referenced by set_formation_position().
| short g_anPilotTurnInterval[8] |
Definition at line 47 of file mission.c.
Referenced by find_next_ship_turn_slot().
| void** g_apPacketReferenceGroups[5] = { 0 } |
Definition at line 10 of file mission.c.
Referenced by free_ship(), get_right_shape(), load_ship(), and ReleasePacketHandle().
| short g_asCapitalHitDamageStepTable[10] |
Definition at line 1465 of file mission.c.
Referenced by internal_damage(), and Set_up_ship_info().
| short g_bEjectionAwaitingCommCommand = 0 |
Definition at line 13 of file mission.c.
Referenced by BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), ProcessMissionWaveCommands(), and request().
| short g_bEjectionTriggerImmediately = 0 |
Definition at line 15 of file mission.c.
Referenced by ProcessEnemyWaveCompletion(), and ProcessMissionWaveCommands().
| short g_bEjectionWaitForEnemyWave = 0 |
Definition at line 12 of file mission.c.
Referenced by ProcessEnemyWaveCompletion(), and ProcessMissionWaveCommands().
| short g_bMissionShipInitializationInProgress = 0 |
Definition at line 8 of file mission.c.
Referenced by prepare_mission(), and set_formation_position().
| short g_bShipResourceReloadInProgress = 0 |
Definition at line 9 of file mission.c.
Referenced by load_all_slots(), and load_ship().
| signed char g_cQueuedNpcMessage = -1 |
Definition at line 18 of file mission.c.
Referenced by npc_communication(), and ProcessMissionWaveCommands().
| signed char g_cQueuedNpcPortrait = -1 |
Definition at line 17 of file mission.c.
Referenced by npc_communication(), and ProcessMissionWaveCommands().
| short g_nEjectionSequenceState = 0 |
Definition at line 16 of file mission.c.
Referenced by auto_pilot_sequence(), house_keep(), ProcessEnemyWaveCompletion(), ProcessMissionWaveCommands(), and TryBeginStarSystemJump().
| short g_nEnemyCommPilotIndex |
Definition at line 1464 of file mission.c.
Referenced by BuildCommunicationCommandMenu(), init_intelligence_data(), and init_mission().
| short g_nPendingEjectionSequenceCount = 0 |
Definition at line 14 of file mission.c.
Referenced by auto_pilot_sequence(), house_keep(), ProcessEnemyWaveCompletion(), ProcessMissionWaveCommands(), and TryBeginStarSystemJump().
| unsigned char g_ucPendingEjectionTransition = 0xff |
Definition at line 11 of file mission.c.
Referenced by auto_pilot_sequence(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), house_keep(), init_mission(), ProcessEnemyWaveCompletion(), ProcessMissionWaveCommands(), request(), and TryBeginStarSystemJump().