|
Wing Commander II
Reconstructed Win32 source (1996)
|
Space views, star field and object simulation. More...
#include "game.h"Go to the source code of this file.
Macros | |
| #define | SPC_C |
| #define | COLLISION_MASS_DIFFERENCE_SCALE(objectMass, partnerMass) |
| #define | COLLISION_MAXIMUM_VELOCITY(obj) |
Functions | |
| unsigned int | rotate_eye_to_goal (void) |
| short | GetVectorMagnitude (const FixedVector *vector) |
| unsigned int | set_eye_direction_and_position (void) |
| void | force_view (int view, short obj) |
| void | SaveTorpedoTargetLockForViewChange (int previousView) |
| unsigned int | new_view (int view, short obj) |
| unsigned int | start_dust (short obj, FixedVector origin, short forwardDistance, int rightOffset, int upOffset) |
| unsigned int | generate_stars (void) |
| unsigned int | update_star_field (void) |
| short | count_down (short obj) |
| void | house_keep_objects (void) |
| void | update_objects_in_space (void) |
| unsigned int | rotate_object (short obj) |
| void | accelerate_and_move_object (short obj) |
| void | animate_shape (short obj) |
| void | animate_object (short obj) |
| void | hit_asteroid (short asteroid, short destructionChance) |
| void | object_collision (short obj) |
| void | object_intelligence (short obj) |
Variables | |
| signed char | g_bLandingCommRequestPending = 0 |
| int | g_nCapitalShipViewDistance = 0x7d000 |
| int | g_nCurrentView = -1 |
| short | g_bAlternateChaseView = 0 |
| int | g_nChaseCameraMaximumVelocity = 0x8c00 |
| short | g_nSpaceExplosionFlashActive = 0 |
| short | g_bApplyingCollisionDamage = 0 |
| short | g_asIntelligenceEvent [12] = { 0 } |
| short | g_nCockpitCameraObject |
| FixedVector | g_vExternalViewOffset |
| short | g_nStarFieldJRotationNumber |
| short | g_2_nExternalViewDistanceValue |
| short | g_1_nStarFieldIRotation |
| short | g_7_nExternalViewTimeout |
Space views, star field and object simulation.
Definition in file spc.c.
| #define COLLISION_MASS_DIFFERENCE_SCALE | ( | objectMass, | |
| partnerMass ) |
Definition at line 25 of file spc.c.
Referenced by object_collision().
| #define COLLISION_MAXIMUM_VELOCITY | ( | obj | ) |
| void accelerate_and_move_object | ( | short | obj | ) |
Definition at line 1153 of file spc.c.
References accelerate_and_move_object(), AddFixedVectors(), alert_flag(), approach_zero_speed(), ComputeVectorDelta(), DivideFixed(), dot_product(), drain_fuel(), g_acObjectType, g_acShipExhaustHeat, g_aeObjectClass, g_aeSpecialManeuver, g_anShipSpeed, g_aObjectTypeData, g_aShipForwardVector, g_aShipPosition, g_aShipVelocity, g_asShipAfterburnerTimer, g_asShipTactic, g_vPlayerAcceleration, GetShipAccelerationRate(), ObjectTypeData::maximumVelocity, MinInt(), MultiplyFixed(), NormalizeAndScaleVector(), OBJECT_CLASS_MISSILE, RandomBelowOrEqual(), ScaleFixedVector(), set_special(), SPECIAL_MANEUVER_AFTERBURNER, SPECIAL_MANEUVER_KILL_ENGINES, SPECIAL_MANEUVER_NONE, SPECIAL_MANEUVER_STOP_DRIFT, SPECIAL_MANEUVER_SUPER_BRAKE, TACTIC_SIT_STILL, Vector_magnitude(), and zero_vector().
Referenced by accelerate_and_move_object(), and update_objects_in_space().
| void animate_object | ( | short | obj | ) |
Definition at line 1314 of file spc.c.
References AddFixedVectors(), animate_object(), animate_shape(), FillFixedVectorWithRandomComponents(), find_vacant_3d_object(), g_acObjectType, g_aeObjectClass, g_aObjectTypeData, g_aShipForwardVector, g_aShipPosition, g_aShipVelocity, g_asObjectCollisionRadius, g_asObjectDamage, g_asObjectScale, g_asObjectScreenX, g_nRenderedSpaceFrame, OBJECT_CLASS_ASTEROID, OBJECT_CLASS_DEBRIS, OBJECT_CLASS_EXPLOSION, OBJECT_CLASS_FIXED_OBJECT, OBJECT_CLASS_MINE, OBJECT_CLASS_SHIP, OBJECT_DATA_SHIP_DAMAGE_EFFECT_FIRST, PlaySfxWaveFileByNumber(), RandomInRange(), ScaleFixedVector(), set_objects_data(), and zero_vector().
Referenced by animate_object(), and update_objects_in_space().
| void animate_shape | ( | short | obj | ) |
Definition at line 1261 of file spc.c.
References animate_shape(), ObjectTypeData::animation, g_acObjectAnimationDelay, g_acObjectType, g_aObjectTypeData, g_asObjectAnimationIndex, g_asObjectFlip, g_asObjectScale, g_asObjectScreenX, g_asObjectType, g_asObjectViewFrame, PlaySfxWaveFileByNumber(), remove_object(), and ObjectTypeData::yawRate.
Referenced by animate_object(), animate_shape(), and set_objects_data().
| short count_down | ( | short | obj | ) |
Definition at line 811 of file spc.c.
References count_down(), and g_asObjectCounter.
Referenced by count_down(), and house_keep_objects().
| void force_view | ( | int | view, |
| short | obj ) |
Definition at line 423 of file spc.c.
References force_view(), g_nCurrentView, IsCockpitExplosionActive(), and new_view().
Referenced by auto_pilot_sequence(), ejection_sequence(), FinishCannedScenePlayback(), force_view(), HandleSpaceFlightControls(), InflightComputer(), ProcessCannedSceneInput(), RunSpaceFlight(), TryBeginStarSystemJump(), and visit_the_cinema().
| unsigned int generate_stars | ( | void | ) |
Definition at line 674 of file spc.c.
References copy_frame(), EYE_OBJECT, g_1_nStarFieldIRotation, g_aeObjectClass, g_aShipForwardVector, g_aShipPosition, g_aShipRightVector, g_aShipUpVector, g_asObjectViewFrame, g_nStarFieldJRotationNumber, generate_stars(), OBJECT_CLASS_STAR, RandomInRange(), rotate_about_i(), rotate_about_j(), ScaleFixedVector(), signed_random(), start_dust(), FixedVector::x, FixedVector::y, and FixedVector::z.
Referenced by generate_stars(), new_view(), and set_eye_direction_and_position().
| short GetVectorMagnitude | ( | const FixedVector * | vector | ) |
Definition at line 66 of file spc.c.
References FixedToShortSaturating(), GetVectorMagnitude(), and Vector_magnitude().
Referenced by GetVectorMagnitude().
| void hit_asteroid | ( | short | asteroid, |
| short | destructionChance ) |
Definition at line 1361 of file spc.c.
References explode(), g_aShipVelocity, g_vCollisionDelta, hit_asteroid(), make_shard(), and RandomBelowOrEqual().
Referenced by hit_asteroid(), and object_collision().
Definition at line 819 of file spc.c.
References ClearViewport(), CompleteStarSystemJump(), count_down(), Create_explosion_debris(), distance_from_object(), explode(), explosion_shock_wave(), g_1_asSpacePaletteFade, g_27_aasGunCooldown, g_27_stViewScratchInfo, g_2_asFlakCooldownTable, g_6_nHomeOperationShipIndexValue, g_7_asShipBurstStageCountdown, g_abShipNavPointIndex, g_acObjectCollisionGraceTicks, g_acObjectOwner, g_acObjectType, g_acShipExhaustHeat, g_acShipLastAttacker, g_acShipTarget, g_aeObjectClass, g_aeSpecialManeuver, g_aMissionShips, g_anShipCloakState, g_aObjectTypeData, g_aShipForwardVector, g_aShipVelocity, g_asMissileProximityFuseValues, g_asObjectAnimationIndex, g_asObjectCounter, g_asObjectScale, g_asObjectScreenX, g_asObjectType, g_aSpaceExplosionFlashPalette, g_asPlayerHitsCreditValues, g_asProjectileEvasionTicks, g_asShipCloakCooldown, g_asShipCloakElapsedFrames, g_asShipFriendlyFireCooldown, g_asShipManeuver, g_asShipMissionIndex, g_asShipSide, g_asShipTactic, g_asSpikeriCooldown, g_bCarrierLandingEnabled, g_bLandingCommRequestPending, g_bMissionDeathSequencePending, g_bPrimaryViewBufferColour, g_bViewportDirty, g_cPrimaryViewBufferColour, g_nArcadeState, g_nCannedSceneMode, g_nPendingEjectionShip, g_nPlayerCollisionObject, g_nSpaceBlastFlashIncrement, g_nSpaceExplosionFlashActive, g_nSpaceFrame, g_nSpacePaletteFadeMode, g_nYourWingman, house_keep_objects(), MANEUVER_WARPING_IN, MANEUVER_WARPING_OUT, normal_speed(), OBJECT_CLASS_BASE, OBJECT_CLASS_CAPITAL_SHIP, OBJECT_CLASS_DEBRIS, OBJECT_CLASS_DUST, OBJECT_CLASS_EXPLOSION, OBJECT_CLASS_FIXED_OBJECT, OBJECT_CLASS_MINE, OBJECT_CLASS_MISSILE, OBJECT_CLASS_PROJECTILE, OBJECT_CLASS_SHIP, OBJECT_DATA_CHAFF_POD, OBJECT_DATA_DART_DUMB_FIRE_MISSILE, OBJECT_DATA_EJECTION_POD, OBJECT_DATA_INDEX, OBJECT_DATA_TORPEDO, OBJECT_TYPE_EXPLOSION2, onboard_explosion(), RandomBelowOrEqual(), RandomInRange(), RecordCannedSceneObjectEvent(), remove_object(), reset_maneuver(), send_message(), set_objects_data(), SetPaletteEntry(), ShipExplosion(), SIDE_KILRATHI, SIDE_NEUTRAL, SPACE_LAST_MOVING_OBJECT, SpawnMissionEjectionPod(), SPECIAL_MANEUVER_UNKNOWN_9, MissionShipRecord::state, TACTIC_RAM, TACTIC_SIT_STILL, TACTIC_WARP_IN, and vector_component_in_dir().
Referenced by house_keep_objects(), and Update_3Space().
| unsigned int new_view | ( | int | view, |
| short | obj ) |
Definition at line 451 of file spc.c.
References AddFixedVectors(), ClearTargetCameraView(), ComputeVectorDelta(), copy_frame(), CountShipCockpitGunDisplays(), EYE_OBJECT, fix_objects_ijk(), g_1_cStoredViewDisplayModeValue, g_2_nExternalViewDistanceValue, g_7_nExternalViewTimeout, g_acShipTarget, g_aShipForwardVector, g_aShipPosition, g_aShipRightVector, g_aShipUpVector, g_aShipVelocity, g_asObjectCollisionRadius, g_bAlternateChaseView, g_bSavedPlayerTarget, g_bTargetLockActive, g_bTargetLockMode, g_cViewObject, g_nCurrentView, g_nExternalViewShip, g_nEyePitchGoal, g_nEyePitchRate, g_nEyeRollGoal, g_nEyeRollRate, g_nEyeYawGoal, g_nEyeYawRate, g_nSavedPlayerTarget, g_nSavedTargetLockCountdown, g_nTargetCameraFrame, g_nTargetLockCountdown, g_vExternalViewOffset, generate_stars(), HasShipCockpitGunDisplay(), initialize_cockpit(), IsCockpitExplosionActive(), look_at(), MaxShort(), new_view(), NormalizeFixedVector(), position_relative_ijk(), SaveTorpedoTargetLockForViewChange(), ScaleFixedVector(), set_eye_direction_and_position(), SetFleetOverviewView(), FixedVector::x, FixedVector::y, FixedVector::z, and zero_vector().
Referenced by CompleteStarSystemJump(), death_sequence(), force_view(), HandleSpaceFlightControls(), new_view(), ProcessCannedSceneInput(), ResetCannedScenePlaybackBuffer(), RunSpaceFlight(), and set_eye_direction_and_position().
| void object_collision | ( | short | obj | ) |
Definition at line 1377 of file spc.c.
References AddFixedVectors(), apply_force_to_object(), check_for_collision(), COLLISION_MASS_DIFFERENCE_SCALE, COLLISION_MAXIMUM_VELOCITY, ComputeVectorDelta(), DivideFixed(), easy2see(), explode(), EYE_OBJECT, g_9_aasCockpitHitPaletteFades, g_abProjectileCollisionBonus, g_acLastCollisionObject, g_acObjectCollisionGraceTicks, g_acObjectOwner, g_acObjectType, g_acShipCollisionCooldown, g_acShipLastAttacker, g_aeObjectClass, g_anShipSpeed, g_aObjectTypeData, g_aShipPosition, g_aShipVelocity, g_asObjectCollisionRadius, g_asObjectCounter, g_asObjectDamage, g_asObjectScale, g_asObjectScreenX, g_asObjectType, g_asProjectileEvasionTicks, g_asShipSide, g_bApplyingCollisionDamage, g_bPlayerCollisionEnabled, g_nCurrentView, g_vCollisionDelta, GetAdaptiveTurnRate(), hit_asteroid(), inflict_damage(), MaxInt(), MaxShort(), MinInt(), MinShort(), MultiplyFixed(), negate_vector(), NormalizeFixedVector(), OBJECT_CLASS_ASTEROID, OBJECT_CLASS_BASE, OBJECT_CLASS_CAPITAL_SHIP, OBJECT_CLASS_MINE, OBJECT_CLASS_MISSILE, OBJECT_CLASS_PROJECTILE, OBJECT_CLASS_SHIP, object_collision(), OBJECT_DATA_PROJECTILE_IMPACT_EFFECT, SphericalVector::pitch, PlaySfxWaveFileByNumber(), ObjectTypeData::radarRadius, RecordCannedSceneObjectEvent(), rectangular_to_spherical(), remove_object(), rotational_acceleration(), ScaleFixedVector(), set_objects_data(), SubtractFixedVectors(), transform_to_objects_frame(), vector_component_in_dir(), Vector_magnitude(), SphericalVector::yaw, and zero_vector().
Referenced by object_collision(), and update_objects_in_space().
| void object_intelligence | ( | short | obj | ) |
Definition at line 1659 of file spc.c.
References capital_ship_intelligence(), chaff_intelligence(), FF_missile_intelligence(), futurion_intelligence(), g_acShipTarget, g_aeObjectClass, g_anShipSpeed, g_asObjectType, g_bJumpSequenceActive, g_nExternalViewShip, g_nSpaceFrame, g_nTrainSimActive, g_nYourWingman, g_vToTarget, get_facing_range_from_object(), get_ship_max_velocity(), heat_seeking_missile_intelligence(), mine_intelligence(), OBJECT_CLASS_BASE, OBJECT_CLASS_CAPITAL_SHIP, OBJECT_CLASS_FUTURION, OBJECT_CLASS_MINE, OBJECT_CLASS_MISSILE, OBJECT_CLASS_SHIP, OBJECT_DATA_CHAFF_POD, OBJECT_DATA_DART_DUMB_FIRE_MISSILE, OBJECT_DATA_JAVELIN_HEAT_SEEKING_MISSILE, OBJECT_DATA_PILUM_FRIEND_OR_FOE_MISSILE, OBJECT_DATA_SPICULUM_IMAGE_RECOGNITION_MISSILE, OBJECT_DATA_TORPEDO, object_intelligence(), point_ship(), ship_intelligence(), and stationary_intelligence().
Referenced by object_intelligence(), and update_objects_in_space().
| unsigned int rotate_eye_to_goal | ( | void | ) |
Definition at line 37 of file spc.c.
References EYE_OBJECT, g_anObjectPitchRotation, g_anObjectRollRotation, g_anObjectYawRotation, g_nEyePitchGoal, g_nEyePitchRate, g_nEyeRollGoal, g_nEyeRollRate, g_nEyeYawGoal, g_nEyeYawRate, match_rotation_goal(), and rotate_eye_to_goal().
Referenced by rotate_eye_to_goal(), and set_eye_direction_and_position().
| unsigned int rotate_object | ( | short | obj | ) |
Definition at line 1136 of file spc.c.
References alter_pitch(), alter_roll(), alter_yaw(), ClampVectorTo30(), g_anObjectPitchRotation, g_anObjectRollRotation, g_anObjectYawRotation, and rotate_object().
Referenced by rotate_object(), set_eye_direction_and_position(), and update_objects_in_space().
| void SaveTorpedoTargetLockForViewChange | ( | int | previousView | ) |
Definition at line 432 of file spc.c.
References g_acShipTarget, g_aShipWeapons, g_bSavedPlayerTarget, g_bTargetLockMode, g_nSavedPlayerTarget, g_nSavedTargetLockCountdown, g_nSelectedReleaseWeaponIndex, g_nTargetLockCountdown, g_nTargetLockMusicCooldown, SaveTorpedoTargetLockForViewChange(), and unactive().
Referenced by new_view(), and SaveTorpedoTargetLockForViewChange().
| unsigned int set_eye_direction_and_position | ( | void | ) |
Definition at line 72 of file spc.c.
References AddFixedVectors(), ComputeVectorDelta(), copy_frame(), divide_vector(), EYE_OBJECT, fix_objects_ijk(), free_view_buffer(), g_27_stViewScratchInfo, g_2_nExternalViewDistanceValue, g_7_nExternalViewTimeout, g_9_nTargetCameraOverlayMode, g_acShipTarget, g_aeObjectClass, g_aShipForwardVector, g_aShipPosition, g_aShipRightVector, g_aShipUpVector, g_aShipVelocity, g_asObjectType, g_asShipTactic, g_bAlternateChaseView, g_bStarSystemJumpTransition, g_cViewObject, g_nChaseCameraMaximumVelocity, g_nCockpitCameraObject, g_nCockpitDisplayMode, g_nCurrentView, g_nExternalViewShip, g_nEyeRollGoal, g_nEyeRollRate, g_nFleetOverviewPitch, g_nFleetOverviewYaw, g_nScreenHeight, g_nScreenWidth, g_vExternalViewOffset, generate_stars(), initialize_view_buffer(), look_at(), match_roll_orientation(), MaxShort(), negate_vector(), new_view(), NormalizeAndScaleVector(), NormalizeFixedVector(), OBJECT_CLASS_NULL, rotate_about_i(), rotate_about_j(), rotate_eye_to_goal(), rotate_object(), ScaleFixedVector(), set_eye_direction_and_position(), SetFleetOverviewView(), SetTargetCameraEyePosition(), SetVectorFixedPoint(), SetViewportRect(), shrink_vector(), UpdateFleetOverviewCameraRotation(), Vector_magnitude(), FixedVector::x, FixedVector::y, FixedVector::z, and zero_vector().
Referenced by new_view(), set_eye_direction_and_position(), and Update_3Space().
| unsigned int start_dust | ( | short | obj, |
| FixedVector | origin, | ||
| short | forwardDistance, | ||
| int | rightOffset, | ||
| int | upOffset ) |
Definition at line 648 of file spc.c.
References AddFixedVectors(), EYE_OBJECT, FillFixedVectorWithRandomComponents(), g_aShipForwardVector, g_aShipPosition, g_aShipRightVector, g_aShipUpVector, g_aShipVelocity, g_asObjectScreenAngle, MaxShort(), RandomInRange(), ScaleFixedVector(), set_objects_data(), and start_dust().
Referenced by generate_stars(), start_dust(), and update_star_field().
Definition at line 1051 of file spc.c.
References accelerate_and_move_object(), AddFixedVectors(), animate_object(), ApplyCannedSceneFrameEvents(), fix_objects_ijk(), futurion_intelligence(), g_5_nCannedSceneFrameCount, g_aeObjectClass, g_aeSpecialManeuver, g_aShipPosition, g_aShipVelocity, g_asShipTurretFireEnabled, g_bJumpSequenceActive, g_bSceneEscapeRequested, g_nAimCameraMode, g_nCannedSceneBufferNearCapacityFlag, g_nCannedSceneMode, g_nCannedSceneRecordedFrameCountNumber, g_nCannedSceneSegmentEndFrame, g_nCurrentView, g_nSpaceFrame, g_nTargetCameraFrame, g_nTargetCameraObject, HandleCannedSceneBufferBoundary(), housekeep_power_plant_and_fuel(), OBJECT_CLASS_FUTURION, OBJECT_CLASS_MISSILE, OBJECT_CLASS_NULL, OBJECT_CLASS_PLANET, OBJECT_CLASS_PROJECTILE, OBJECT_CLASS_SHIP, object_collision(), object_intelligence(), RecordCannedSceneObjectState(), replenish_shields(), replenish_weapon_energy_bank(), rotate_object(), rotate_object_to_goal(), SPACE_LAST_MOVING_OBJECT, SPECIAL_MANEUVER_UNKNOWN_9, update_objects_in_space(), UpdateSavedTorpedoTargetLock(), UpdateShipTurretGuns(), and UpdateTargetCameraObject().
Referenced by Update_3Space(), and update_objects_in_space().
| unsigned int update_star_field | ( | void | ) |
Definition at line 710 of file spc.c.
References AddFixedVectors(), ComputeVectorDelta(), copy_frame(), extra_hazard(), EYE_OBJECT, g_1_nStarFieldIRotation, g_aeObjectClass, g_anObjectPitchRotation, g_anObjectYawRotation, g_aShipForwardVector, g_aShipPosition, g_aShipRightVector, g_aShipUpVector, g_aShipVelocity, g_asObjectCollisionRadius, g_asObjectScreenX, g_asObjectViewFrame, g_nCannedSceneMode, g_nStarFieldJRotationNumber, g_pActiveHazardField, g_vPreviousStarFieldMotion, g_vStarFieldMotion, OBJECT_CLASS_ASTEROID, OBJECT_CLASS_DUST, OBJECT_CLASS_NULL, OBJECT_CLASS_PLANET, OBJECT_CLASS_STAR, RandomInRange(), rotate_about_i(), rotate_about_j(), ScaleFixedVector(), set_objects_data(), signed_random(), start_dust(), transform_to_objects_frame(), update_hazards(), update_star_field(), FixedVector::x, FixedVector::y, and FixedVector::z.
Referenced by DrawSpaceSceneFrame(), and update_star_field().
| short g_1_nStarFieldIRotation |
Definition at line 1725 of file spc.c.
Referenced by generate_stars(), and update_star_field().
| short g_2_nExternalViewDistanceValue |
Definition at line 1724 of file spc.c.
Referenced by new_view(), and set_eye_direction_and_position().
| short g_7_nExternalViewTimeout |
Definition at line 1726 of file spc.c.
Referenced by new_view(), and set_eye_direction_and_position().
| short g_asIntelligenceEvent[12] = { 0 } |
Definition at line 16 of file spc.c.
Referenced by CountAlliesOnSameTarget(), intelligence_events(), perform_maneuver(), pick_from_list(), and pick_regular_maneuver().
| short g_bAlternateChaseView = 0 |
Definition at line 12 of file spc.c.
Referenced by new_view(), and set_eye_direction_and_position().
| short g_bApplyingCollisionDamage = 0 |
Definition at line 15 of file spc.c.
Referenced by inflict_damage(), and object_collision().
| signed char g_bLandingCommRequestPending = 0 |
Definition at line 9 of file spc.c.
Referenced by BuildCommunicationCommandMenu(), house_keep_objects(), prepare_mission(), request(), and set_up_action_sphere().
| int g_nChaseCameraMaximumVelocity = 0x8c00 |
Definition at line 13 of file spc.c.
Referenced by set_eye_direction_and_position().
|
extern |
Definition at line 1943 of file main.c.
Referenced by set_eye_direction_and_position().
| int g_nCurrentView = -1 |
Definition at line 11 of file spc.c.
Referenced by build_your_target_list(), check_target(), clear_head_up_display(), ClearHudMessageDisplay(), ClearHudMessageSlot(), draw_3d_scanner(), draw_nav_pointer(), DrawHudMessageSlot(), DrawSpaceSceneFrame(), fire_computer_graphic_missile(), fire_weapon(), force_view(), HandleCannedSceneBufferBoundary(), HandleFleetOverviewInput(), HandleSpaceFlightControls(), house_keep(), imperial_formation(), initialize_cockpit(), new_view(), object_collision(), overlay_head_up_display(), place_damage_on_cockpit(), RenderSpaceViewFrame(), SelectCockpitVduMode(), set_eye_direction_and_position(), SetHudTextColour(), target_locking(), TriggerPlayerHitPaletteFlash(), try_far_spot(), update_cockpit(), update_objects_in_space(), update_VDUs(), UpdateShipTurretGuns(), UpdateTargetLeadIndicator(), vdu_malf(), vdu_polygon(), and vid_equiv().
| short g_nSpaceExplosionFlashActive = 0 |
Definition at line 14 of file spc.c.
Referenced by DrawSpaceSceneFrame(), house_keep_objects(), and RunSpaceFlight().
| short g_nStarFieldJRotationNumber |
Definition at line 1723 of file spc.c.
Referenced by generate_stars(), and update_star_field().
| FixedVector g_vExternalViewOffset |
Definition at line 1722 of file spc.c.
Referenced by new_view(), and set_eye_direction_and_position().