|
Wing Commander II
Reconstructed Win32 source (1996)
|
Autopilot travel and interstitial flight sequences. More...
#include "game.h"Go to the source code of this file.
Macros | |
| #define | g_nAutopilotDebugEnabled (*(const short *)&g_bAutopilotDebugEnabled) |
Functions | |
| void | visit_the_cinema (int view, int obj, short frames) |
| short | player_wingman (short obj) |
| void | set_speed (short obj, short speed) |
| void | auto_position (short obj, short *formationSlot) |
| void | auto_pilot_sequence (void) |
Variables | |
| short | g_nAutopilotFormationShipCount = 0 |
| short | g_bAutopilotSequenceActive = 0 |
Autopilot travel and interstitial flight sequences.
Definition in file auto.c.
| #define g_nAutopilotDebugEnabled (*(const short *)&g_bAutopilotDebugEnabled) |
Definition at line 16 of file auto.c.
Referenced by auto_pilot_sequence().
Definition at line 100 of file auto.c.
References AddFixedVectors(), advance(), auto_pilot_sequence(), auto_pilot_valid(), auto_position(), check_hazards(), clean_up_cockpit(), ComputeVectorDelta(), copy_frame(), ObjectTypeData::cruiseVelocity, distance_between_points(), distance_from_object(), distance_from_point(), ejection_sequence(), equ_vector(), force_view(), free_view_buffer(), g_27_stViewScratchInfo, g_78_bHighMemoryBuffersSetState, g_abFlightPath, g_acObjectType, g_aeObjectClass, g_aeSpecialManeuver, g_aMissionNavPoints, g_aMissionObjectives, g_anObjectPitchRotation, g_anObjectRollRotation, g_anObjectYawRotation, g_anPitchGoal, g_anRollGoal, g_anShipSpeed, g_anYawGoal, g_aObjectTypeData, g_aShipDestination, g_aShipForwardVector, g_aShipPosition, g_aShipVelocity, g_asShipMaximumVelocity, g_asShipMissionIndex, g_asShipSide, g_bAutopilotSequenceActive, g_cCurrentNavPointIndex, g_cCurrentObjective, g_nArcadeState, g_nAutopilotDebugEnabled, g_nAutopilotFormationShipCount, g_nCockpitDisplayMode, g_nCurrentNavPoint, g_nEjectionSequenceState, g_nPendingEjectionSequenceCount, g_nScreenHeight, g_nScreenWidth, g_nTrainSimActive, g_nYourWingman, g_pActiveHazardField, g_ucPendingEjectionTransition, initialize_view_buffer(), is_team_member(), kilrathi_near(), LogMemoryStateToFile(), MinShort(), NormalizeFixedVector(), OBJECT_CLASS_MISSILE, OBJECT_CLASS_SHIP, player_wingman(), point_at(), MissionObjective::position, ReleaseStaleNavTarget(), remove_object(), report_kilrathi_rout(), ResetCannedSceneRecording(), ResetSoundState(), ScaleFixedVector(), set_speed(), SetViewportRect(), SIDE_IMPERIAL, SPECIAL_MANEUVER_NONE, SPECIAL_MANEUVER_UNKNOWN_9, SubtractFixedVectors(), Update_3Space(), visit_the_cinema(), and zero_vector().
Referenced by ApplyCannedSceneObjectEventRecord(), auto_pilot_sequence(), and HandleSpaceFlightControls().
| void auto_position | ( | short | obj, |
| short * | formationSlot ) |
Definition at line 64 of file auto.c.
References auto_position(), g_aShipFormationOffset, g_aShipPosition, g_asObjectCollisionRadius, g_nAutopilotFormationShipCount, g_nYourWingman, MaxShort(), player_wingman(), and position_relative_ijk().
Referenced by auto_pilot_sequence(), and auto_position().
| short player_wingman | ( | short | obj | ) |
Definition at line 48 of file auto.c.
References g_asShipWingLeader, and player_wingman().
Referenced by auto_pilot_sequence(), auto_position(), and player_wingman().
| void set_speed | ( | short | obj, |
| short | speed ) |
Definition at line 54 of file auto.c.
References fix_velocity(), g_anShipSpeed, and set_speed().
Referenced by auto_pilot_sequence(), and set_speed().
| void visit_the_cinema | ( | int | view, |
| int | obj, | ||
| short | frames ) |
Definition at line 21 of file auto.c.
References DIBslamReal(), force_view(), g_bPlayerCollisionEnabled, g_bPlayerDamageEnabled, g_nOriginDevUnlock, MarkDibDirty(), RenderSpaceViewFrame(), Update_3Space(), and visit_the_cinema().
Referenced by auto_pilot_sequence(), and visit_the_cinema().
| short g_bAutopilotSequenceActive = 0 |
Definition at line 9 of file auto.c.
Referenced by auto_pilot_sequence(), CompleteStarSystemJump(), and set_up_action_sphere().
| short g_nAutopilotFormationShipCount = 0 |
Definition at line 8 of file auto.c.
Referenced by auto_pilot_sequence(), and auto_position().