|
Wing Commander II
Reconstructed Win32 source (1996)
|
Mid-mission ejection scene. More...
#include "game.h"Go to the source code of this file.
Functions | |
| void | ClearTransientObjectsForEjection (void) |
| void | FlagCurrentNavObjectivesReached (void) |
| void | ejection_sequence (short outcome, signed char restoreCockpit) |
Mid-mission ejection scene.
Definition in file midscene.c.
Definition at line 11 of file midscene.c.
References ClearTransientObjectsForEjection(), FetchDiskPacketRetrying(), g_aeObjectClass, g_aObjectTypeData, g_apObjectShape, g_asObjectType, OBJECT_CLASS_DEBRIS, OBJECT_CLASS_EXPLOSION, OBJECT_CLASS_FUTURION, OBJECT_CLASS_MISSILE, OBJECT_CLASS_PROJECTILE, OBJECT_DATA_EJECTION_POD, remove_object(), ObjectTypeData::shapeSet, and SPACE_OBJECT_COUNT.
Referenced by ClearTransientObjectsForEjection(), and ejection_sequence().
| void ejection_sequence | ( | short | outcome, |
| signed char | restoreCockpit ) |
Definition at line 63 of file midscene.c.
References CampaignGlobals::arcadeState, calculate_damage_level(), ClearTransientObjectsForEjection(), ClearViewport(), CampaignGlobals::damageLevel, ejection_sequence(), FadeViewportPaletteToColour(), FlagCurrentNavObjectivesReached(), force_view(), g_1_cStoredViewDisplayModeValue, g_1_nResourcePaletteState, g_2_stModalSourceWindow, g_3_cOverlayMessageView, g_78_bHighMemoryBuffersSetState, g_acShipPortrait, g_asShipIntelState, g_b3SpaceObjectsActive, g_bAutopilotDebugEnabled, g_bMissionEndPending, g_bSpaceViewBufferEnabled, g_nArcadeState, g_nSelectedCampaignSlot, g_nShowMemoryStatus, g_nYourWingman, g_pCampaignGlobals, g_pPilotStatus, g_stCurrentPilotProfile, GetAvailableFarMemory(), GetAvailableMainMemory(), GetLargestFreeMemoryBlock(), GetLargestMainMemoryBlock(), init_constellation(), initialize_view_buffer(), InitializeCampaignConstellationState(), InitializeCockpitResources(), InitializeSpaceFlightInput(), load_all_slots(), load_common_3Space_objects(), LoadTemporaryCampaignGlobals(), LogMemoryStateToFile(), CampaignGlobals::mission, PilotProfile::mission, PilotProfile::playerShipType, CampaignGlobals::previousMission, CampaignGlobals::previousSeries, ReleasePacketSlot(), ReleaseSceneMusicPacket(), ReleaseSpaceflightResources(), remove_object(), ReportFatalErrorCode(), ResetCannedSceneRecording(), ResetGameTextContexts(), RestoreGamePalette(), RunCampaignScript(), CampaignGlobals::series, PilotProfile::series, StoreMissionResultsInCampaignGlobals(), and WaitForAnyInputPress().
Referenced by auto_pilot_sequence(), check_message(), ejection_sequence(), house_keep(), ProcessEnemyWaveCompletion(), ProcessMissionWaveCommands(), request(), RunCampaignGameLoop(), ShowPlayerEjectionSequence(), ShowPlayerStrandingSequence(), TryBeginStarSystemJump(), and UpdateTargetCameraObject().
Definition at line 45 of file midscene.c.
References flag_reached(), FlagCurrentNavObjectivesReached(), g_aMissionObjectives, g_cMissionObjectiveCount, and g_nCurrentNavPoint.
Referenced by ejection_sequence(), and FlagCurrentNavObjectivesReached().