|
Wing Commander
Reconstructed Win32 source (1996)
|
Carrier departure and cockpit launch sequences. More...
#include "wc1.h"Go to the source code of this file.
Functions | |
| void | DrawLaunchDoorFrame (short distance) |
| void | LaunchPlayerShip (void) |
| unsigned int | ShowCarrierLaunchSequence (signed char sceneObject) |
Variables | |
| static short | asCarrierLaunchApproachDeltaY [24] |
| static signed char | acCarrierLaunchApproachFrames [24] |
| static ShortPoint | aCarrierLaunchFighterPath [9] |
| static short | asCarrierLaunchFighterDeltaY [14] |
| static short | asCarrierLaunchViewData [14] |
| Viewport * | pConstellationViewportPtr |
| short | nViewConstellationStarCount |
| ConstellationParticle | aConstellationParticlesList [16] |
| Viewport | stConstellationViewport |
| short | nConstellationParticleTotal |
| const short * | pCurrentViewScriptPtr |
| short | nCurrentExternalViewDistance |
| Viewport | stPilotHandView |
| Viewport | stLeftVdu |
| ScreenViewportPacket * | pCurrentScreenViewportPkt |
| Viewport | stScreenView |
| TextContext | stHudMessageTextContext |
| Viewport | stCockpitBar |
Carrier departure and cockpit launch sequences.
Address range 42b9a0-42c40f. Its boundary with the installation helpers in install.c, which follow, is provisional.
Definition in file launch.c.
| void DrawLaunchDoorFrame | ( | short | distance | ) |
Definition at line 55 of file launch.c.
References DrawLaunchDoorFrame(), DrawSpriteScaled(), GetTransformedShapeBounds(), ShortRect::left, nScreenHeight, nScreenWidth, pLaunchDoorShape, ShortRect::right, and stSpaceBufferViewport.
Referenced by DrawLaunchDoorFrame(), init_3Space_objects(), and LaunchPlayerShip().
Definition at line 84 of file launch.c.
References bEscapePressedFlag, changetrack(), clear_view_buffer(), DIBslam(), DIBslamReal(), DrawLaunchDoorFrame(), dump_buffer_to_screen(), FetchDiskPacketRetrying(), force_view(), LaunchPlayerShip(), nCannedSceneMode, nFrameSkipCounter, pLaunchDoorShape, PlaySfxWaveFileByNumber(), PumpWindowMessages(), RefreshCockpitStatus(), ReleasePacketHandle(), ResetSoundState(), spacetrack(), StopMusicUnlessSuppressed(), and update_cockpit().
Referenced by GameFlow(), init_3Space_objects(), LaunchPlayerShip(), and RunAnimationDemoLoop().
| unsigned int ShowCarrierLaunchSequence | ( | signed char | sceneObject | ) |
Definition at line 145 of file launch.c.
References aCarrierLaunchFighterPath, acCarrierLaunchApproachFrames, AddFixedVectors(), aeObjectClass, alter_yaw(), aObjectTypeData, apObjShapeArray, asCarrierLaunchApproachDeltaY, asCarrierLaunchFighterDeltaY, asCarrierLaunchViewData, aShipPositionsArray, aShipVelocity, asObjDistancesTable, asObjectCollisionRadius, asObjectFlipArray, asObjectScreenXList, asObjectScreenYArray, asObjectViewFrames, asObjScreenAngles, asObjScreenScalesArray, awObjectScales, bEscapePressedFlag, bIntroSceneResourcesActive, bScriptedView, clear_view_buffer(), ConfigureScrambleActor(), copy_frame(), DIBslam(), DIBslamReal(), draw_sorted_objects_to_buffer(), DrawScrambleActor(), DrawSpriteDefault(), DrawSpriteScaled(), dump_buffer_to_screen(), FetchDiskPacketRetrying(), FlushSoundEffectsAndLog(), free_ship(), house_keep_objects(), initialize_scripted_view(), nCurrentSpaceFrameValue, nCurrentViewCenterPosX, nCurrentViewCenterPosY, nFrameSkip, nFrameSkipCounter, nRenderedSpaceFrame, nScrambleBackdropPositionY, nScrambleBackgroundRightCoordX, nScriptedViewObject, OBJECT_CLASS_NULL, OBJECT_CLASS_SHIP, PaletteFadeHook(), CampaignState::playerShipType, PlaySfxWaveFileByNumber(), PreloadMusicTrackHook(), pScrambleView, PumpWindowMessages(), RefreshCockpitStatus(), ReleaseMusicTrackHook(), ReleasePacketHandle(), remove_nav_point_objects(), ResetSoundState(), set_eye_direction_and_position(), ObjectTypeData::shapeSet, ShowCarrierLaunchSequence(), sort_object_depth(), spacetrack(), stCampaignState, StopMusicUnlessSuppressed(), stSpaceBufferViewport, transform_objects_to_your_view(), update_objects_in_space(), update_star_field(), UpdateSpacePaletteFade(), void(), WaitForVerticalBlankThunk(), ShortPoint::x, and ShortPoint::y.
Referenced by GameFlow(), init_3Space_objects(), RunAnimationDemoLoop(), and ShowCarrierLaunchSequence().
|
static |
Definition at line 24 of file launch.c.
Referenced by ShowCarrierLaunchSequence().
|
static |
Definition at line 18 of file launch.c.
Referenced by ShowCarrierLaunchSequence().
| ConstellationParticle aConstellationParticlesList[16] |
Definition at line 42 of file launch.c.
Referenced by DrawConstellationField(), and InitializeConstellationField().
|
static |
Definition at line 12 of file launch.c.
Referenced by ShowCarrierLaunchSequence().
|
static |
Definition at line 29 of file launch.c.
Referenced by ShowCarrierLaunchSequence().
|
static |
Definition at line 34 of file launch.c.
Referenced by ShowCarrierLaunchSequence().
| short nConstellationParticleTotal |
Definition at line 44 of file launch.c.
Referenced by DrawConstellationField(), and InitializeConstellationField().
| short nCurrentExternalViewDistance |
Definition at line 46 of file launch.c.
Referenced by new_view(), and set_eye_direction_and_position().
| short nViewConstellationStarCount |
Definition at line 41 of file launch.c.
Referenced by DrawConstellationField(), and InitializeConstellationField().
| Viewport* pConstellationViewportPtr |
Definition at line 40 of file launch.c.
Referenced by DrawConstellationField(), and InitializeConstellationField().
| ScreenViewportPacket* pCurrentScreenViewportPkt |
Definition at line 49 of file launch.c.
Referenced by ejection_sequence(), free_cockpit(), InitializeCockpitResources(), and set_up_screen_viewport().
| const short* pCurrentViewScriptPtr |
Definition at line 45 of file launch.c.
Referenced by initialize_scripted_view(), parse_view_script(), and update_scripted_view().
| Viewport stCockpitBar |
Definition at line 52 of file launch.c.
Referenced by InitializeCockpitResources(), and vdu_polygon().
| Viewport stConstellationViewport |
Definition at line 43 of file launch.c.
Referenced by LoadFace(), RecRoom(), and SceneDirector().
| TextContext stHudMessageTextContext |
Definition at line 51 of file launch.c.
Referenced by InitializeGameTextContexts(), print_message_text(), RunTrainSim(), and UpdateArcadeScoreDisplay().
| Viewport stLeftVdu |
Definition at line 48 of file launch.c.
Referenced by fire_computer_graphic_missile(), init_vdus(), InitializeCockpitResources(), malf_noise(), set_new_vdu(), show_damage_disp(), show_info_disp(), show_weapon_disp(), ShowComponentHitHudMessage(), and UpdateDamageDisplay().
| Viewport stPilotHandView |
Definition at line 47 of file launch.c.
Referenced by CopyTrainSimPilotViewToRightVdu(), DrawPendingCockpitDamage(), DrawPilotHandFrame(), InitializeCockpitResources(), and ResetPilotHandAnimation().
| Viewport stScreenView |
Definition at line 50 of file launch.c.
Referenced by AppendFormattedText(), BarracksScreen(), BlitViewportScanlineRuns(), BriefingMap_DisplayMap(), clear_head_up_display(), ClearViewport(), cockpit_explosion(), death_sequence(), DIBmakeDIB(), draw_3d_scanner(), draw_cockpit_lights(), DrawCockpitReadout(), DrawFormattedText(), DrawNavLocationReadout(), DrawPendingCockpitDamage(), DrawTextAt(), DrawViewportEllipse(), DrawViewportEllipseShadow(), dump_buffer_to_screen(), ejection_sequence(), EnterPilotNameAndCallsign(), EraseCockpitReadoutAtPosition(), explosion_draw(), FillViewportEllipse(), fizzle_fade(), FormatTextBufferFromStart(), free_viewport(), funeral_sequence(), InflightComputer(), init_vdus(), initialize_cockpit(), InitializeCockpitResources(), InitializeConversationViewport(), InitializeDiskPromptTextContext(), InitializeEventManagerResources(), InitializeGameTextContexts(), InitializeRoomViewports(), InitializeTrainSimTextPanel(), print_subtitle(), PromptForAnswerText(), RecRoom(), RefreshMemoryStatusOverlay(), ResetScreenClipToFullHeight(), RestoreCockpitExplosionBackground(), RestoreSpriteBackground(), RestoreTransientCockpitGraphics(), SelectTrainSimMission(), shaded_triangle(), shadow_draw(), ShowCampaignVictorySequence(), ShowConfedNavScan(), ShowMeanwhileTransition(), ShowTheEndScreen(), ShowTrainSimHighScores(), snow_viewport(), stranded_sequence(), Title_Sequence(), triangle(), update_VDUs(), UpdateMap(), and ValidateViewportBounds().