Wing Commander II
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
globals.h File Reference

Shared globals and their retail address annotations. More...

Go to the source code of this file.

Data Structures

struct  QueuedMouseState
struct  PersonnelMouseSample
struct  PilotNameVariables

Macros

#define WINMAIN_STATIC   extern
#define WIPE_STATIC   extern
#define MAIN_STATIC   extern
#define DATAFILE_STATIC   extern
#define MONO_STATIC   extern
#define KBMOUSE_STATIC   extern
#define MUSIC_STATIC   extern
#define FL_STATIC   extern
#define GR_STATIC   extern
#define EVENTMGR_STATIC   extern
#define NAV_STATIC   extern

Typedefs

typedef struct QueuedMouseState QueuedMouseState
typedef struct PersonnelMouseSample PersonnelMouseSample
typedef ShortPoint ReleaseWeaponPosition
typedef struct PilotNameVariables PilotNameVariables

Variables

const int g_anRLEQuarterCosine [901]
const unsigned char g_abIffBmhdChunkId [4]
const unsigned char g_abIffCmapChunkId [4]
const unsigned char g_abIffBodyChunkId [4]
short g_nHazardReferenceSpeed
short g_nActiveHazards
int g_nAudioEnabled
WaveTableEntry * g_1_pVoiceWav
IxSound * g_pSpeechSnd
int g_16_nSpeechCompletionDelay
int g_bSpeechSoundActive
int g_1_bSpaceFlightActive
int g_nFrameTimingMode
float g_fSpaceFlightFrameRate
long g_17_nFramePeriodMillis
float g_1_fPreviousFrameSpeed
DWORD g_dwNextFrameDeadline
long g_lPreviousFrameTick
int g_bFrameTimingInitialized
int g_nDebugFileLoggingEnabled
FILE * g_pDebugLogFile
int g_bDebugBreakEnabled
int g_bApplicationShutdownStarted
int g_bF1KeyDown
int g_bInputEventQueueEnabled
int g_bApplicationControllerActive
int g_bShowFrameRate
int g_bConfigQuickModeEnabled
int g_bUseHardwarePalette
int g_bCockpitEnabled
int g_bSkipCampaignVideo
int g_bWindowInactive
int g_bConfigMemoryOption
int g_bWindowMessagePumpActive
int g_nPendingMouseX
int g_nPendingMouseY
int g_bJoystickPrimaryButtonLatched
int g_bJoystickSecondaryButtonLatched
unsigned char g_cYellowColour
FreedHeapBlock * g_pFreedHeapBlockHead
FreedHeapBlock * g_pFreedHeapBlockTail
unsigned int g_dwGuardedAllocationTotalBytes
unsigned int g_dwGuardedAllocationBytes
unsigned int g_dwGuardedAllocationPeakBytes
GuardedAllocation * g_pGuardedAllocationHead
short g_nPacketError
short g_bRewritePacketExtensions
unsigned char g_cBlueColour
unsigned char g_abLegacyVideoModeColours [14]
short g_bOriginFxDriverActive
char g_szInputCursorPacketName [12]
int g_nMinimumMemoryNoMusic
int g_nMinimumMemoryFullMusic
int g_nMinimumMemoryAlternate
unsigned short g_wSoundBlasterPort
unsigned short g_wSoundBlasterIrq
unsigned short g_wDigiPlaying
unsigned short g_wDmaAddressA
unsigned short g_wDmaAddressB
unsigned short g_wDmaCountA
unsigned short g_wDmaCountB
int g_nDmaHalfSelect
short g_nDigiLastBlock
const int g_nJoystickUnavailableSample
const int g_nViewportStaticRandomRange
const int g_nDigiSampleBytes
const unsigned short g_wDmaHalfBytes
short g_nAutopilotFormationShipCount
unsigned char g_cRedColour
short g_nEnemySighting
short g_bHomeObjectiveFlagged
void ** g_apPacketReferenceGroups [5]
short g_anPilotTurnInterval [8]
short g_nNavMapCoordinateScaling
short g_nNavMapScale
NavMapObjectiveStyle g_aNavMapObjectiveStyles [12]
unsigned char * g_pNavMapShape
unsigned char * g_pNavLocationText
short g_nNavMapLabelCount
short g_nNavMapReservedAreaCount
char * g_apszShipMissionTypeNames [14]
char g_szNoFurtherObjectives [32]
short g_bBriefingMapActive
char g_szMissionPatrol [8]
char g_szMissionEscort [8]
char g_szMissionStrike [8]
char g_szMissionDefend [8]
char g_szMissionWingman [8]
char g_szMissionFlee [8]
char g_szMissionGotoWarp [12]
char g_szMissionWarpArrive [12]
char g_szMissionRendezvous [12]
char g_szMissionComeHome [12]
char g_szMissionTanker [8]
char g_szMissionTow [4]
char g_szMissionBreakOff [12]
char g_szNavLabelTextFormat [12]
int g_28_nUnusedFrameSlot
int g_nUnusedScreenWord1
int g_nUnusedScreenWord2
int g_4_nUnusedFrameWord
int g_5_nUnusedDibWord3
int g_nUnusedDibWord4
int g_nUnusedDibWord5
int g_2_nReservedDibWord
int g_12_nIdleFrameWord1
int g_11_nIdleFrameWord2
char g_szNavBlankLine [4]
char g_szNavTitleFormat [8]
char g_szNavSectorFormat [12]
char g_szNavSystemFormat [16]
char g_szNavMissionFormat [8]
char g_szNavShipFormat [8]
char g_szNavNotesHeading [8]
char g_szNavNoteFormat [4]
char g_szNavLocationFormat [48]
char g_szNavViewportName [8]
char g_szBriefingNavMapTitle [20]
char g_szConfedNavScan [16]
int g_bInflightComputerActive
volatile short g_nNearHeapActive
volatile short g_nNearHeapMaxDescriptors
volatile int g_nNearHeapRelocationBytes
char g_szCalculating [12]
char g_szRangeKilometresSuffix [4]
char g_szNoObjective [8]
char g_szUnknownObjective [8]
char g_szCompNavigation [16]
char g_szDestinationFormat [20]
char g_szNavigationRangeLabel [12]
char g_szNewObjectivePrompt [20]
char * g_pszPendingHudMessage
char * g_pszDisplayedHudMessage
unsigned char * g_pHudMessageFrameShape
unsigned char * g_pHudMessageBackground
short g_bCaptureHudMessageBackground
short g_nHudMessageBackgroundDepth
ShortPoint g_stHudMessageOrigin
short g_49_nViewportOffsetY
signed char g_3_cOverlayMessageView
short g_bDisplayWingmanTargetData
signed char g_cLastPilotHandFrame
short g_asPilotHandOffsets [34]
short g_nScannerTargetObject
Viewport g_stTrainSimRightVduSource
Viewport g_stTrainSimLeftVduSource
int g_nDisplayedObjectiveRange
int g_aiForwardScannerGridRows [78]
int g_aiTargetCameraScannerGridRows [50]
short g_nTargetLockMarkerX
int g_nCommPortraitFrame
int g_bForceDamageDisplayRedraw
WINMAIN_STATIC unsigned char g_13_abUnusedKeyboardArea [0x80]
char g_szNotEnoughMemoryMessage []
int g_nUnusedDibWord1
int g_nUnusedDibWord2
char g_szAlreadyVisited [16]
char g_szObjectiveReached [20]
char g_szWaitForFormat [12]
ShortRect g_stModalBounds
short g_nUnusedModalWord
ModalTextPanel * g_pModalTextPanel
char * g_pszGameVersion
char g_szGameVersion [9]
short g_nPaletteTransitionInitialise
int g_nDebugOverlayConsoleCount
DWORD g_dwDebugOverlayKey
DWORD g_dwDebugOverlayKeyLatch
HHOOK g_hDebugKeyboardHook
char g_szDebugOverlayFontName [8]
char g_szDebugOverlaySpinner [5]
char g_szDebugOverlayNewline [4]
short g_aasPlayerDamageSystemTable [5][10]
short g_aeShipHitDebrisTypes [4]
signed char g_acGunRefireDelay [4]
char g_szWeaponDestroyed [20]
char g_szFuelTanksHit [16]
char g_szComponentFixedFormat [8]
char g_szNeedLock [12]
unsigned char g_cSecondaryViewBufferColour
int g_bPauseInputActive
unsigned char g_bPrimaryViewBufferColour
unsigned char g_ucHostileCapitalScannerColour
unsigned char g_ucHomeCarrierScannerColour
unsigned char g_ucDefaultTextColour
unsigned char g_ucPrimaryTextColour
unsigned char g_ucPlayerNavLabelColour
unsigned char g_ucNavObjectiveMarkerColour
unsigned char g_ucAsteroidNavMarkerColour
unsigned char g_cPrimaryViewBufferColour
short g_nCockpitBackgroundBytes
PacketResourceDescriptor g_aCommon3SpaceResources [11]
int g_nCapitalShipViewDistance
short g_bAlternateChaseView
short g_b3SpaceObjectsActive
short g_bCockpitResourcesActive
unsigned char * g_pGenericMissileShape
unsigned char * g_pGenericMissileExhaustShape
PacketResourceDescriptor g_aMissionResourceDescriptors [8]
unsigned char * g_pPilotHandAnimationShapePtr
PacketResourceDescriptor g_aHighMemoryCockpitResources [5]
PacketResourceDescriptor g_aCockpitCommonShapeResources [5]
PacketResourceDescriptor g_aCockpitShipShapeResources [8]
PacketResourceDescriptor g_aCockpitViewShapeResources [5]
char g_szDefaultPilotName [8]
char g_szDefaultCallsign [12]
int g_nTrainSimActive
short g_nCannedSceneMode
char g_szCannedSceneTapeFile [9]
short g_nCannedSceneBufferNearCapacityFlag
short g_nCannedSceneSegmentEndFrame
short g_nCannedSceneStateRecordMarker
char g_abCannedSceneBufferOverflowCode [4]
char g_szCannedSceneCreateError [4]
char g_szCannedSceneWriteOpenError [4]
char g_szCannedSceneReadOpenError [4]
int g_bFullScreenSpaceView
int g_nArcadeState
short g_nFrameSkipCountdown
short g_nFrameSkip
short g_nSpaceFramePeriod
short g_nCockpitControlState
InputDeviceSample g_stCurrentFlightInput
short g_wFlightInputButtonState
int g_bFlightButtonTwoHeld
int g_bFlightButtonOneHeld
short g_nCockpitControlGoal
signed char g_bSecondaryMouseButtonHeld
signed char g_bMouseMoveEventQueued
short g_nMouseYawInput
short g_nMousePitchInput
int g_bRenderingSpaceFrame
short g_bExplosionTraversalIdle
short g_nSpaceExplosionFlashActive
short g_bApplyingCollisionDamage
short g_nSpaceBlastFlashIncrement
short g_aSpaceExplosionFlashPalette [13][3]
short g_bJumpSequenceActive
short g_bStarSystemJumpTransition
short g_nStarSystemJumpDelay
int g_1_nSavedPlayerObjectCounter
int g_nSavedWingmanObjectCounterValue
short g_nOriginDevUnlock
short g_bCarrierLandingEnabled
short g_bPlayerDamageEnabled
short g_bMissionEndPending
short g_bDeathSequenceActive
short g_bPlayerCollisionEnabled
void * g_pMemoryAdjustment
signed char g_bParentDirectorySelected
short g_bDirectMissionLaunch
short g_nDirectMission
short g_nDirectSeries
short g_aasSeriesMissionTurnRate [1][4]
short g_nCurrentLevel
short g_nCurSeries
short g_asWingmanDamageCredit [10]
short g_7_asShipBurstStageCountdown [10]
signed char g_10_abExplosionEntityDoneBytes [SPACE_OBJECT_COUNT]
short g_asPlayerHitsCreditValues [10]
short g_1_asObjectCreationFrameTable [SPACE_OBJECT_COUNT]
short g_asMissileProximityFuseValues [16]
short g_asCapitalHitDamageStepTable [10]
short g_2_asCarrierLaunchTimer [10]
short g_2_asFlakCooldownTable [16]
short g_nCarrierLaunchIntervalValue
short g_nAdaptiveDifficulty
short g_asSpikeriCooldown [16]
short g_asSpikeriLaunchCountdown [10]
signed char g_13_abShipArrivalMessageSent [16]
short g_bAiMissileFiringEnabled
short g_nLastAdaptiveDifficultyChangeFrame
short g_bFriendlyFireWarningIssued
short g_nObjectType62Index
short g_nObjectType63Index
short g_nLastFriendlyFireObjectFrame
short g_bTargetLockActive
signed char g_bTargetBracketVisible
ShortRect g_stTargetBracketBounds
ShortRect g_stCommTargetBracketBounds
short g_bMissileLockAcquired
short g_1_nEnemyCommCommandBase
short g_nEnemyCommPilotIndex
int g_11_nMissionResourceBudget
short g_asDifficultyLevels [16][4]
short g_asShipIntelSlot [10]
short g_asShipIntelResourceKey [10]
unsigned char g_aShipIntelligenceData [5][0x51]
short g_asShipIntelState [10]
signed char g_acShipPortrait [12]
short g_asShipTactic [12]
short g_nLoadedCommPortraitPilot
int g_nMissionMusicTrackOverride
short g_nWingmanTargetingMode
short g_bCockpitDamageFrame0Shown
short g_bCockpitDamageFrame2Shown
short g_bFuelGaugeDamaged
short g_bForceCriticalDamageWarning
short g_nPendingEjectionShip
short g_bMissionDeathSequencePending
short g_bMissionEjectionPodSpawned
char g_szEndInflightReplay [20]
signed char g_acMissionShipStatusFlagsBytes [8]
short g_6_bMissionWingmanState
signed char g_acJumpDriveUsedBySystem [5]
ShortPoint g_aDefaultWeaponDisplayPositions [16]
short * g_pPilotStatus
int g_nShapePrepareTicks
int g_1_nShapeClipTicksValue
int g_nShapeDrawTicks
CampaignGlobals * g_pCampaignGlobals
short g_bKilrathiAceGreetingSent
CutsceneObjectResourceList * g_pCutsceneSpriteResources
CutsceneObjectResourceList * g_pCutscenePlaneResources
CutsceneObjectResourceList * g_pCutsceneSequenceResources
CutsceneObjectResourceList * g_pCutsceneSceneResources
CutsceneTextResource * g_pCutsceneTextResources
CutsceneResourceTable * g_pCutsceneFontResources
CutsceneResourceTable * g_pCutsceneSpeechResources
CutsceneResourceTable * g_pCutsceneShapeResources
CutsceneResourceTable * g_pCutsceneMouseResources
CutsceneResourceTable * g_pCutscenePaletteResources
CutsceneResourceTable * g_pCutsceneFilmResources
CutsceneResourceTable * g_pCutsceneFxResources
CutsceneResourceTable * g_pCutsceneMusicResources
signed char g_cCutsceneVideoMode
signed char g_bCutsceneViewportPreallocated
SceneFlicObject ** g_apSceneObjects
CutscenePlane ** g_apCutscenePlanes
CutsceneSequence ** g_apCutsceneSequences
CutsceneScene ** g_apCutsceneScenes
short g_nSceneFlicContext
short g_nCutsceneResourceLevel
short g_nActiveCutsceneResourceLevel
void * g_pCutsceneCockpitPacket
void * g_pCutsceneCockpitPalette
unsigned char * g_13_pActiveCutscenePixelsAddress
short g_nCutsceneSpritesDrawn
const char * g_apszCutsceneObjectTypeNames [4]
CutsceneSoundEffect * g_pCutsceneSoundEffects
signed char g_cCutsceneSoundVolume
void * g_pCutsceneFxPacket
CutsceneMusicNode * g_pCutsceneMusicPackets
signed char g_bCutsceneSkipFrame
signed char g_bCutsceneSkipAll
void(* g_apCutsceneSpriteHandlers [1])(SceneFlicObject *sprite)
signed char g_bCutsceneDrawingEnabled
SceneFlicObject * g_pLinkedCutsceneSprite
CutscenePlane * g_pLinkedCutscenePlane
CutsceneSequence * g_pLinkedCutsceneSequence
SceneFlicObject * g_pCurrentCutsceneSprite
CutscenePlane * g_pCurrentCutscenePlane
CutsceneSequence * g_pCurrentCutsceneSequence
CutsceneScene * g_pCurrentCutsceneScene
short g_nCutsceneFrameTick
unsigned short g_nCutsceneFrameDelay
unsigned char g_abCutscenePaletteTranslation [256]
signed char g_bCutsceneTextRestorePending
char * g_pszCurrentCutsceneText
signed char g_acCutsceneMouthFrames [128]
signed char g_acCutsceneMouthDurations [128]
char * g_pszCutsceneSpeechCursor
signed char g_cCutsceneSpeechSpeed
signed char g_bCutsceneSpeechActive
signed char g_bCutsceneTextBoundsOverride
int g_nNextCutsceneFrameClock
ShortRect g_stCutsceneTextBounds
short g_nCutsceneTextTop
short g_nCutsceneTextRight
short g_nCutsceneTextBottom
signed char g_bCutsceneDebugOverlayEnabled
unsigned short g_wCutsceneDebugFrameNumber
CutscenePlane * g_pCutsceneSpriteParentPlane
signed char g_cCutsceneTextStyle
char g_szCutsceneSpriteType [8]
char g_szCutscenePlaneType [8]
char g_szCutsceneSequenceType [12]
char g_szCutsceneScriptType [8]
signed char g_bSceneCockpitLoaded
short g_8_nSavedCutsceneResourceOwnerValue
short g_1_asCutsceneSpeechChannelsTable [8]
Viewport g_10_stCutsceneStringViewportBlock
char * g_27_pszCutsceneFormattedText
CutsceneResourceTable * g_1_pActiveSceneFileResourcesRef
Viewport g_9_stCutsceneTextBackingPort
char * g_4_pszFilmSourceText
short g_19_asCutsceneSpeechSectionsList [8]
signed char g_bMovieFramePresented
TextContext g_6_stMovieDebugTextCtx
unsigned int g_28_nCutsceneInitialAvailableMemoryWord
short g_2_nCutsceneForkOffsetNumber
unsigned char * g_26_pFilmRgbPacket
short g_4_nCutsceneResourceScratchValue
short g_3_nCutsceneTextIdx
unsigned int g_17_nSceneInitialLargestBlockWord
int g_47_nCutsceneMemDelta
char * g_4_pszFilmWorkScratch
short g_2_bMovieStringAdvanceState
char * g_12_apszMovieSpeechFiles [8]
short * g_2_pCutsceneLocalsTemp
InputEventState * g_19_pFilmInputFlag
short g_117_nCutsceneFormatValueWord
char * g_116_pszFilmPrintStore
TextContext g_2_stCutsceneMessageCtxInfo
TextContext g_16_stCutsceneDrawingTextSettingsInfo
void * g_3_apSceneSpeechPacketsList [8]
short g_1_nCutsceneFontOwnerNumber
short g_bSpaceViewBufferEnabled
int g_nCockpitDisplayMode
short g_nShowMemoryStatus
int g_bKeyboardMouseEnabled
int g_anShipCloakState [10]
short g_asShipCloakCooldown [10]
short g_asShipCloakElapsedFrames [10]
signed char g_cReleaseWeaponDisplayFrame
short g_bWingmanTurnRateUnlocked
short g_bEjectionSequencePending
short g_bAutopilotSequenceActive
signed char g_bAutopilotDebugEnabled
signed char g_bRoomTransitionAnimationEnabled
unsigned char g_bMemoryLogToFile
FILE * g_pMemoryLogFile
WIPE_STATIC int g_18_nBlendRadialStep
WIPE_STATIC int g_11_nWipeRadialAccumulator
WIPE_STATIC int g_1_nFadeRadialThreshold
WIPE_STATIC short g_3_asWipeRadialLeadingEdge [200]
WIPE_STATIC short g_asWipeRadialTrailingEdges [200]
WIPE_STATIC short g_5_nWipeMinorExtent
WIPE_STATIC signed char g_1_bWipeWidthAtLeastHeight
WIPE_STATIC signed char g_bBlendWidthLessThanHeight
WIPE_STATIC short g_139_nDissolveProgress
WIPE_STATIC short * g_11_pWipeFrontEdges
WIPE_STATIC short * g_9_pWipeRearEdges
WIPE_STATIC short g_18_nWipeTotalStages
WIPE_STATIC int g_17_nFadeType
WIPE_STATIC short g_15_nFadeWidth
WIPE_STATIC short g_5_nBlendHeight
WIPE_STATIC Viewport g_19_stFadeToView
WIPE_STATIC short g_3_nFadeCurrentHorizontalEdge
WIPE_STATIC short g_nWipeCurrentVerticalEdges
WIPE_STATIC short g_2_nWipePreviousAcrossEdge
WIPE_STATIC short g_105_nFadePreviousVerticalEdge
WIPE_STATIC int g_18_nWipeAcrossStride
WIPE_STATIC int g_14_nBlendHorizontalTotal
WIPE_STATIC int g_5_nWipeAcrossThreshold
WIPE_STATIC Viewport g_3_stDissolveSourceViewport
WIPE_STATIC Viewport g_26_stWipeTempDestinationViewport
WIPE_STATIC short g_3_nWipeRoundFlags
WIPE_STATIC int g_16_nRevealVerticalDelta
WIPE_STATIC int g_108_nTransitionVertSum
WIPE_STATIC int g_nRevealVertThreshold
WIPE_STATIC short g_nBlendMaximumStep
WIPE_STATIC Viewport g_1_stWipeScratchSourcePort
short g_nWipeRadialRowCount
short g_bExpandedShipGraphicsEnabled
short g_nExpandedShipMemoryKb
signed char g_acExpectedGraphicsModes [5]
short g_nGraphicsInitializationFlags
short g_nInputDoubleClickInterval
short g_nMenuPointerSpeed
void * g_pHighMemoryBlockA
unsigned short g_wHighMemoryBlockBytes
void * g_pHighMemoryBlockB
short g_bSpeechResourcesEnabled
short g_bDirectCampaignSelection
short g_bSkipCampaignScenes
short g_bPumpMessagesDuringLoad
short g_bMemoryAdjustmentEnabled
unsigned char g_ucPendingEjectionTransition
short g_bEjectionWaitForEnemyWave
short g_bEjectionAwaitingCommCommand
short g_nPendingEjectionSequenceCount
short g_bEjectionTriggerImmediately
short g_nEjectionSequenceState
signed char g_cQueuedNpcPortrait
signed char g_cQueuedNpcMessage
ShortVector g_aaFormationPositions [5][8]
short g_nCommDeathSequenceFrame
short g_nCommMessageIndex
ShortPoint g_stWeaponDisplayOffset
short g_nWeaponDisplayOffsetY
ShortPoint g_aDamageDisplayPositions [9]
const char * g_apszComponentNames [9]
unsigned char g_abDamageDisplayFrames [9]
const char * g_apszDamageSeverityNames [5]
char g_szIonDrive [12]
char g_szPowerPlant [12]
char g_szShieldGenerator [16]
char g_szComputerSystem [16]
char g_szIntercomUnit [16]
char g_szTargetTracking [16]
char g_szAccelerationAbsorbers [16]
char g_szEjectorSystem [16]
char g_szRepairSystems [16]
char g_szDamageOk [4]
char g_szDamageLight [8]
char g_szDamageModerate [12]
char g_szDamageHeavy [8]
char g_szDamageDestroyed [12]
char g_szDamageReport [16]
char g_szNoInternalDamage [20]
char g_szDamagedUnitCountFormat [20]
char g_szDamageStatusFormat [16]
char g_szDamageStatusFormatHighRes [16]
short g_nMissionEntryNavOverride
short g_asMouseYawThresholds [6]
short g_asMousePitchThresholds [6]
char g_szSpaceBuffer [16]
unsigned char g_cDarkGreenColour
ActiveSoundEntry * g_pActiveSoundHead
ActiveSoundEntry * g_pActiveSoundTail
int g_bAudioSystemInitialized
WaveTableEntry * g_pWaveTableHead
WaveTableEntry * g_pWaveTableTail
char g_szPlayWaveOpenError [36]
short g_nMusicDriverMode
short g_nCutsceneMusicVolume
short g_nTitleMusicSequenceStage
void * g_pLimitedMusicBufferA
short g_nLimitedMusicBufferAState
void * g_pLimitedMusicBufferB
short g_nLimitedMusicBufferBState
signed char g_acMusicResourcePresent [66]
short g_nMusicTrackComplete
int g_nCurrentMusicTrack
unsigned char g_abSoundEffectDefinitions [0x1b8]
short g_nWaitForMusicEnabled
short g_bFlightSoundEffectsEnabled
short g_nInitialFlightMusicPending
short g_nCombatMusicActive
short g_nInFlightMusicActive
short g_nPassingShipSoundObject
short g_nPassingShipSoundCountdown
WIPE_STATIC int g_nWipeUnusedValue
unsigned char g_abTaggedAllocationPrefix [8]
short g_nEnemyTauntCommandBase
short g_nCommMenuChoiceCount
short g_nCommMenuReuseMode
signed char g_cPendingCommMenuAction
signed char g_bRadioSilence
signed char g_bVideoImagesSuppressed
short g_bCommSpeechPlaying
signed char g_cCommMenuRecipient
short g_nCommSpeakerObject
short g_nCommSpeakerRating
short g_nCommPortraitIndex
unsigned char * g_pCommPortraitResource
unsigned char * g_pCommVduFrameResource
char g_szSelectCommPrompt [8]
char g_szCommRecipientHeading [36]
char g_szEnemyTarget [16]
char g_szUnidentifiedEnemyTarget [16]
char g_szUnidentifiedFriendlyTarget [16]
char g_szCommCompactHeadingPrefix [20]
char g_szCommHeadingPrefix [24]
char g_szUnidentifiedCommRecipient [16]
char g_szCommHeadingNewline [4]
char g_szChooseCommPrompt [8]
char g_szCommMenuChoiceFormat [8]
short g_19_bStoredHighMemoryEnabled
short g_96_nHighMemoryInitValue
short g_9_nStoredHighMemoryResourceSetupWord
short g_18_bEventManagerInitializationState
unsigned char g_88_nEventRepeatDelayState
unsigned char g_26_bMouseCursorEnabled
short g_18_nInterfaceEventMode
short g_3_nVoiceBlasterIrqSetting
short g_5_nStorageAdjustmentKbValue
short g_2_bPumpMessagesWhileLoadingState
short g_3_nAudioBlasterPortSettingValue
unsigned int g_dwInitialSpareMemory
short g_14_nCurrentGraphicsModeDetectedValue
int g_98_nMemConfiguration
int g_8_nMusicMemoryNeed
int g_nAvailableGameMemoryNumber
short g_bSpeechEnabledFlag
const char * g_pszPacketReadOperation
const char * g_pszPacketAllocateOperation
const char * g_pszPacketLoadErrorFormat
char g_szCommSpeakerTextFormat [8]
int g_nInputPressCount
short g_asConstellationVelocity [16]
short g_asConstellationFrame [16]
short g_nConstellationDirection
unsigned short g_wPacketCompressionFormatFlags
ShortRect g_aTargetArmorClipRects [4]
char g_szEmptyTargetDisplayText [4]
char g_szLockedTarget [20]
char g_szTextColourStringColourFormat [8]
char g_szAutoTargetting [20]
char g_szTextColourStringFormat [8]
char g_szTargetLabel [12]
char g_szNoTarget [8]
char g_szIdentifiedTargetNameFormat [4]
char g_szUnknownTarget [8]
char g_szShipTargetNameFormat [4]
char g_szRangeLabel [12]
char g_szTargetTooFar [8]
char g_szRangeMetresSuffix [4]
char g_szTargetOffscreenRange [8]
MAIN_STATIC int g_nFreeMainWord
short g_nSpacePaletteFadeMode
const GUID CLSID_DirectDrawClipper
LPDIRECTDRAW2 g_pDirectDraw2
short g_nCurrentWave
short g_bUseEyePositionForHazards
signed char g_abHazardObjects [0x14]
short g_nEyePitchRate
short g_nEyeYawRate
short g_nEyeRollRate
signed char g_cCurrentObjective
int g_nCurrentView
short g_nSavedPlayerTarget
short g_nExternalViewShip
short g_bSavedPlayerTarget
short g_asShipTurretFireEnabled [10]
short g_nSavedTargetLockCountdown
short g_bSavedTargetLockAcquired
signed char g_cViewObject
short g_nYourWingman
short g_nPlayerCollisionObject
short g_nSelectedGunType
short g_nSelectedReleaseWeaponIndex
short g_nCockpitResetState
short g_bTargetLockReadoutDirty
short g_nTargetLockCountdown
short g_nTargetLockMarkerAngle
signed char g_cTargetDisplayObject
short g_bTargetLockAcquired
short g_bMissileCameraEnabled
short g_bEngageAllowed
short g_nAutoEngageTimer
ShipIntelligenceMetadata g_stWingmanIntelligence
short g_nWingmanFormationDisobeyMode
short g_nWingmanEngagementMode
signed char g_cViableTargetCount
int g_nAimCameraMode
short g_1_nTargetCameraYawIndicatorX
short g_1_nTargetLensYawIndicatorYWord
short g_asAimCameraYawIndicatorBackground [3]
short g_4_nTargetCameraPitchPipX
short g_nTargetLensPitchIndicatorY
short g_asTargetCameraPitchIndicatorBackgroundTable [3]
short g_nTargetCameraZoom
short g_nTargetCameraObject
int g_nTargetCameraSoundHandle
short g_nTargetCameraEffectObjectA
short g_nTargetCameraEffectObjectB
FixedVector g_6_vTargetCameraForce
MissionNavPoint g_aMissionNavPoints [MISSION_NAV_POINT_COUNT]
MissionShipRecord g_aMissionShips [MISSION_SHIP_COUNT]
signed char g_acDirectionShapeFrame [DIRECTION_VIEW_COUNT *DIRECTION_SHAPE_TABLE_COUNT]
signed char g_acDirectionShapeFlip [DIRECTION_VIEW_COUNT *DIRECTION_SHAPE_TABLE_COUNT]
InputEvent * g_pInputEventHead
InputEvent * g_pInputEventTail
int g_nInputEventPoolInitialized
int g_nInputDoubleClickDeadline
int g_nPreviousPrimaryButton
int g_nPreviousSecondaryButton
ScreenViewportGeometry g_aScreenViewportGeometry [7]
short g_asIntelligenceEvent [12]
signed char g_aDefenseManeuversNovice [8]
signed char g_aDefenseManeuversVeteran [8]
signed char g_aDefenseManeuversElite [16]
signed char g_aDefenseManeuversAce [16]
signed char g_aDefenseManeuversBoss [16]
signed char * g_apDefenseManeuvers [5]
signed char g_acPilotAggression [8]
signed char g_acPilotRecovery [8]
unsigned char * g_pDrawnInputCursorShape
int g_nMouseCursorDrawDepth
void * g_apRasterDriverCallbacks [13]
char g_szRasterDriverName [13]
unsigned char * g_pRLEEncodeBuffer
int g_nRLEPendingSkip
unsigned char * g_pRLEScanlineStart
unsigned char * g_pRLEScanCursor
unsigned char * g_pRLEOutputCursor
unsigned char * g_pRLELiteralStart
int g_nRLEEncodedMinimumX
int g_nRLEEncodedMinimumY
int g_nRLEEncodedMaximumX
int g_nRLEEncodedMaximumY
unsigned char g_abRasterDecodeBuffer [0xd00]
unsigned char g_abRasterPaletteUsageScratch [0x300]
unsigned char g_abRasterFadeAccumulator [0x300]
const unsigned char g_abGifLZWCodeMasks [9]
const unsigned char g_abGifInterlaceRowSteps [5]
const unsigned char g_abGifInterlaceRowStarts [5]
RasterClip * g_pGifRasterTarget
unsigned char g_abRasterPaletteTranslation [256]
RLETransformVertex g_aRLETransformVertices [4]
int g_anRLESourceSteps [4]
const char * g_apszPilotRankNames [5]
char g_szSecondLieutenantRank [8]
char g_szFirstLieutenantRank [8]
char g_szCaptainRank [8]
char g_szMajorRank [8]
char g_szLieutenantColonelRank [12]
char g_szShortSecondLieutenantRank [8]
char g_szShortFirstLieutenantRank [8]
char g_szShortCaptainRank [8]
char g_szShortMajorRank [8]
char g_szShortLieutenantColonelRank [8]
unsigned char g_abPaletteTranslation [256]
unsigned short g_awAbsoluteCosine [360]
unsigned short g_awAbsoluteSine [360]
WINMAIN_STATIC int g_nInsertKeyStatus
WINMAIN_STATIC int g_2_nClearedKeyboardState
WINMAIN_STATIC int g_3_nOemPeriodKeyState
WINMAIN_STATIC int g_3_nBeginKeyboardState
WINMAIN_STATIC int g_1_nPageDownKeyboardMode
WINMAIN_STATIC int g_nOemCommaKeyState
WINMAIN_STATIC int g_nRightDirKeyboardState
WINMAIN_STATIC int g_18_nEndKeyState
WINMAIN_STATIC int g_nClearKeyMode
WINMAIN_STATIC int g_nDeleteKeyState
WINMAIN_STATIC int g_13_nUpDirKeyState
WINMAIN_STATIC int g_15_nDownArrowKeyState
WINMAIN_STATIC char g_9_szStreamsPath [0x100]
WINMAIN_STATIC int g_nPgUpwardKeyMode
WINMAIN_STATIC int g_102_nLeftDirKeyboardState
DATAFILE_STATIC char g_1_szReadDataFileFault [0x40]
DATAFILE_STATIC char g_szCreateBlockFileError [0x40]
DATAFILE_STATIC char g_szWriteDataFileError [0x40]
DATAFILE_STATIC char g_szSeekDataFileFailure [0x48]
MONO_STATIC int g_bMonoDebugInstalled
MONO_STATIC HANDLE g_hMonoDebugDevice
WaveTableEntry * g_pSnowStaticClip
IxSound * g_9_pSnowStaticAudio
KBMOUSE_STATIC int g_nKeyboardMouseButtons
MUSIC_STATIC char g_szSfxWavePath [0x40]
FL_STATIC short g_nShipAiScratchValue
FL_STATIC unsigned char g_bCurrentManeuverReroll
DebugOverlayConsole * g_pDiagnosticOverlay
char g_4_szSystemDebugBuffer [256]
unsigned int g_38_nDibOriginX
unsigned int g_101_nDibOffsetY
unsigned char * g_18_pDisplayPixelBuffer
unsigned int g_28_nDisplayRowBytes
unsigned int g_38_nSurfaceHeight
unsigned char g_11_abFrameBackingStore [0xfa00]
int g_36_nDibBitsEachPx
int g_4_nDibShowCount
HWND g_2_hFrameHwnd
unsigned char g_3_abColourShadow [1024]
int g_bDibSlamEnabled
char g_18_szSpaceFlightBestFpsMessage [0x80]
GR_STATIC RasterSurface g_1_stRasterBitmap
GR_STATIC unsigned char g_abShapeTransformScratch [0xfa00]
GR_STATIC RasterClip g_stScreenLimits
GR_STATIC unsigned char g_abSolidColourTranslation [256]
GR_STATIC unsigned char g_13_abShapeRLEScratch [0x100000]
unsigned char * g_pMissionCampaignData
PilotRecord g_aPilotRecords [9]
ConstellationObjectDefinition * g_pConstellationDefinitions
PilotRecord * g_apWingmanPilots [8]
unsigned char * g_apRecRoomTextData [3]
char g_16_szTextBufferBuffer [256]
QueuedMouseState g_16_stEventQueuePointerData
unsigned char * g_pDebriefingTextData
unsigned char * g_pBriefingCloseupShape
unsigned char * g_pConversationOverlayShape
InputEvent g_3_aInputEventArray [0x100]
int g_nStreamerAudioPlaying
char g_szStreamerDirectory [128]
unsigned char g_bInputMode
int g_11_anPlacedObjectDepths [SPACE_OBJECT_COUNT]
short g_nUnusedInputWord1
signed char g_1_cStoredViewDisplayModeValue
const ScreenViewportGeometry *volatile g_15_pScreenViewportGeometry
short g_15_nStoredScreenViewCentreX
short g_37_nViewCenterY
unsigned char g_77_abKeyboardEventStates [0x80]
MouseCursorState g_37_stPersonnelMousePointerState
void(*) g_pfnUnusedInputCallback (void)
volatile int g_5_nFrameTimerWaitTicksValue
short g_11_nViewportLeftOrigin
short g_nUnusedInputWord2
int g_3_anCurrentInputEventEntryAllocation [0x100]
short g_nQueuedInputX
short g_nQueuedInputY
unsigned char g_bQueuedPrimaryButton
unsigned char g_bQueuedSecondaryButton
unsigned short g_wQueuedInputFlags
unsigned char * g_pInputCursorShape
short g_nInputCursorFrame
unsigned char g_bInputCursorShapeChanged
EVENTMGR_STATIC unsigned char g_abInputCursorBehind [0x1000]
int g_15_nMouseRenderY
int g_4_nDrawnCursorX
unsigned char * g_39_pCurrentCampaignDataOffset
int g_6_bCurrentInputCursorBackgroundCapturedState
int g_10_nSavedPointerY
int g_4_nCapturedInputCursorX
int g_26_bPointerDirtyValue
int g_138_nCursorDirtyRightValue
int g_15_nPointerDirtyBottom
int g_148_nPointerDirtyLeft
int g_146_nInputCursorDirtyTop
EVENTMGR_STATIC InputEventState g_1_stFoundInputEvent
signed char g_9_bCinematicSpriteTextEnableStatus
TextContext * g_29_pCurrentTextContext
void(*) g_36_pfnRenderSceneFontCharacterHandler (char character)
void(*) g_3_pfnRenderSceneTextStringHandler (char *text)
short g_27_aasGunCooldown [10][3]
short g_nUnusedInputWord3
int g_56_anStoredObjectSortedIndicesData [SPACE_OBJECT_COUNT]
FixedVector g_aObjectViewPosition [SPACE_OBJECT_COUNT]
short g_anObjectPitchRotation [SPACE_OBJECT_COUNT]
int g_anShipSpeed [SPACE_OBJECT_COUNT]
int g_9_nNextSfx16PlaybackFrame
short g_nSpaceFrame
short g_nCurrentNavPoint
short g_nCurStellarSystem
short g_nMissionScore
short g_nPlayerShipType
short g_bMissionShipInitializationInProgress
signed char g_bLandingCommRequestPending
short g_bTargetLockMode
short g_nEscapedEnemyCount
FixedVector g_vPlayerAcceleration
short g_asObjectDistance [SPACE_OBJECT_COUNT]
short g_asObjectDrawX [SPACE_OBJECT_COUNT]
short g_asObjectDrawY [SPACE_OBJECT_COUNT]
short g_bShipResourceReloadInProgress
unsigned char * g_apObjectExhaustShape [10]
FixedVector g_aShipRightVector [SPACE_OBJECT_COUNT]
FixedVector g_aShipUpVector [SPACE_OBJECT_COUNT]
FixedVector g_aShipForwardVector [SPACE_OBJECT_COUNT]
HazardField * g_pActiveHazardField
signed char g_acPlayerComponentDamage [9]
short g_asShipMaximumVelocity [12]
unsigned int g_anShipAlertFlags [10]
signed char g_acShipAlertSource [12]
short g_asShipAlertCountdown [12]
signed char g_acObjectType [SPACE_OBJECT_COUNT]
short g_asObjectAnimationIndex [SPACE_OBJECT_COUNT]
signed char g_acObjectAnimationDelay [SPACE_OBJECT_COUNT]
signed char g_abFlightPath [MISSION_OBJECTIVE_COUNT]
FixedVector g_aShipVelocity [SPACE_OBJECT_COUNT]
short g_anYawGoal [12]
short g_asObjectCounter [SPACE_OBJECT_COUNT]
short g_nTargetShip
short g_aeSpecialManeuver [12]
int g_anShipFuel [10]
short g_asShipMissionType [12]
MissionShipRecord * g_apShipMissionRecord [10]
signed char g_acShipPendingMessage [16]
short g_asShipMissionIndex [12]
short g_asShipMissionParameter [12]
FixedVector g_aShipMissionSpot [20]
short g_asShipCount [12]
signed char g_acShipDamage [16]
short g_asViableTargetDistance [10]
signed char g_cCurrentNavPointIndex
FixedVector g_aShipPosition [SPACE_OBJECT_COUNT]
short g_asObjectScreenScale [SPACE_OBJECT_COUNT]
short g_asShipAfterburnerTimer [10]
signed char g_acShipComputerDamage [16]
signed char g_cMissionObjectiveCount
short g_asObjectFlip [SPACE_OBJECT_COUNT]
signed char g_acViableTarget [16]
short g_asActionCount [12]
short g_nHazardFieldCount
unsigned short g_asObjectScale [SPACE_OBJECT_COUNT]
CampaignState g_stCampaignState
unsigned char g_aShipWeapons [10][0xA1]
short g_asObjectScreenAngle [SPACE_OBJECT_COUNT]
short g_nTargetRange
short g_asObjectDamage [SPACE_OBJECT_COUNT]
signed char g_acObjectOwner [SPACE_OBJECT_COUNT]
short g_asObjectType [SPACE_OBJECT_COUNT]
signed char g_acShipTarget [16]
short g_anPreviousFlightInput [3]
short g_nPreviousYawInput
short g_nPreviousRollInput
short g_anObjectYawRotation [SPACE_OBJECT_COUNT]
signed char g_acTurnRegulator [16]
short g_asPilotLevel [12]
short g_asShipListRange [16]
signed char g_acPilotHitPoints [16]
short g_aeObjectClass [SPACE_OBJECT_COUNT]
short g_aeShipObjective [12]
short g_asShipIdentified [12]
short g_asShipFriendlyFireCooldown [10]
short g_asObjectViewFrame [SPACE_OBJECT_COUNT]
int g_nCurrentObjectiveRange
signed char g_acShipLastAttacker [16]
unsigned char * g_apObjectShape [SPACE_OBJECT_COUNT]
short g_anFlightInput [3]
short g_nYawInput
short g_nRollInput
short g_nFleetOverviewYawVelocity
short g_nFleetOverviewPitchVelocity
short g_nFleetOverviewYaw
short g_nFleetOverviewPitch
short g_asShipWingLeader [12]
short g_aasShipArmor [10][4]
short g_asShipWeaponEnergy [10]
signed char g_acShipList [16]
FixedVector g_vToTarget
int g_aaiVduModeStack [3][4]
signed char g_acShipSequence [14]
short g_nTargetFacing
signed char g_acShipNavPoint [12]
FixedVector g_aShipDestination [10]
short g_aasShipShield [10][2]
signed char g_acShipExhaustHeat [16]
short g_nRenderedSpaceFrame
int g_6_nPendingAfterburnerSfxFrame
signed char g_acShipStress [16]
signed char g_abPilotEjectionAttempted [16]
signed char g_abShipEjectionSequenceEnabled [12]
short g_anRollGoal [12]
short g_asShipSide [12]
signed char g_acShipCollisionCooldown [16]
short g_asProjectileEvasionTicks [8]
FixedVector g_vCollisionDelta
signed char g_acLastCollisionObject [SPACE_OBJECT_COUNT]
signed char g_abProjectileCollisionBonus [SPACE_OBJECT_COUNT]
short g_aasShipMaximumShield [10][2]
short g_asObjectCollisionRadius [SPACE_OBJECT_COUNT]
short g_anPitchGoal [12]
signed char g_abShipNavPointIndex [16]
signed char g_acTurnInterval [16]
short g_anObjectRollRotation [SPACE_OBJECT_COUNT]
signed char g_abShipTurn [16]
short g_nFacingToTarget
short g_nNavPointerObject
short g_asObjectScreenY [SPACE_OBJECT_COUNT]
short g_asObjectScreenX [SPACE_OBJECT_COUNT]
int g_anCloakVisibilityPattern [20]
int g_abObjectShapeOwned [SPACE_OBJECT_COUNT]
FixedVector g_vStarFieldMotion
FixedVector g_vPreviousStarFieldMotion
short g_nStarFieldJRotationNumber
short g_1_nStarFieldIRotation
HazardField g_aHazardFields [8]
MissionObjective g_aMissionObjectives [MISSION_OBJECTIVE_COUNT]
char g_szAutopilotWaitReason [28]
char * g_pszAutopilotWaitReason
short g_asShipManeuver [12]
short g_asLoadedShipViewFrame [12]
signed char g_acObjectCollisionGraceTicks [SPACE_OBJECT_COUNT]
ObjectResourceSlot g_aObjectResourceSlots [5]
signed char g_acShipCommunicator [16]
signed char g_acShipIonDriveDamage [16]
short g_nEyeRollGoal
short g_nEyeYawGoal
short g_nEyePitchGoal
signed char g_acVduModeStackDepth [2]
int g_nJoystickCalibrationMinimumY
int g_2_nJoystickCalibrationMinimumXNumber
int g_2_nControllerCalibrationMaximumX
int g_7_nJoystickTuningTopY
char g_szOnScreenMessageBuffer [52]
char g_szCommMessageTextText [0x58]
char * g_48_apCommunicationTextPacketsTable [50]
signed char g_abCommMenuChoiceCommand [7]
const char * g_pszCommScreenHeading
char g_4_szCommMenuHeadingStore [0x40]
const char * g_1_apszCommMenuChoiceTextTable [7]
void * g_9_apPacketHandlesTable [0x1000]
int g_aiPacketHandleOffsets [0x1000]
int g_nPacketHandleCount
Viewport * g_pDibScreenViewport
Viewport * g_19_pFullScreenViewport
unsigned short g_2_awDibScreenRowOffsetsData [202]
int g_nDibScreenChunkState
Viewport * g_pDibScreenViewportMirrorRef
int * g_pDibScreenAllocationStatePointer
int g_aiSoundEffectSourceActiveValue [SPACE_OBJECT_COUNT]
MusicResource g_aTuneResources [66]
void * g_4_pDigiData
unsigned short g_wDigiLeft
void * g_4_pDmaBufferPointer
unsigned short g_2_wDigiPosition
void * g_pDigiSample
unsigned char g_1_ucDmaPageValue
int g_nPassingShipSndCooldown
short g_10_nAlternateSampleToggle
int g_14_anObjectSoundEffects [SPACE_OBJECT_COUNT]
int g_nAllocateViewportCalls
void * g_26_pLibraryCurrentLastPacketAllocation
FireworkState g_16_aFireworks [30]
unsigned char * g_1_pTitleFireworkShape
Viewport * g_pConstellationWindow
ConstellationParticle g_aConstellationParticlesTable [18]
Viewport g_stConstellationViewport
short g_14_nConstellationParticleTotal
short g_2_nExternalViewDistanceValue
Viewport g_101_stScrViewInfo
TextContext g_168_stFlightTextContext
unsigned char * g_66_pCabinHudImage
unsigned char * g_36_apTextGlyphs [4]
FixedVector g_9_aDirectionLookRightVector [DIRECTION_VIEW_COUNT]
FixedVector g_137_aDirectionViewUpVectorArray [DIRECTION_VIEW_COUNT]
FixedVector g_2_aDirectionViewForwardAxisTable [DIRECTION_VIEW_COUNT]
Viewport g_3_stDashViewport
Viewport g_9_stCockpitMeterPort
Viewport g_27_stViewScratchInfo
Viewport g_4_stRightVduView
Viewport g_stPilotHandBackgroundViewportBlock
Viewport g_stPilotHandViewportRecord
unsigned char * g_1_pDashWeaponPicture
ShortPoint g_116_aWeaponDisplayPositions [16]
Viewport g_2_stLeftwardVduPortBlock
TextContext g_5_stLeftVduStringContextRecord
TextContext g_1_stRightVduTextContextBlock
TextContext g_16_stCockpitTextSettingsRecord
unsigned char * g_4_pCockpitPanelShape
unsigned char * g_pCockpitBackgroundPacket
unsigned char * g_apCockpitVduOverlayShapes [2]
unsigned char * g_2_apCockpitViewShapes [4]
unsigned char * g_2_apCockpitShipShapes [4]
char g_7_szCockpitAssetFilenameText [16]
Viewport g_stCockpitBackgroundViewportRecord
unsigned char * g_pCockpitViewFrameInfo
unsigned char * g_pPendingCockpitDamageShape
unsigned char * g_pCockpitExplosionBackground
unsigned char * g_pCockpitHudBackground
unsigned char * g_pDamageDisplayBackground
unsigned char * g_4_pScannerBlipUnderlayPointer
unsigned char * g_pReleaseWeaponDisplayBackground
signed char g_cReleaseWeaponDisplayTicks
signed char g_cReleaseWeaponDisplayState
ReleaseWeaponPosition g_3_stReleaseWeaponReadoutLocationBlock
short g_3_nReleaseWeaponShowKindWord
short g_5_nWeaponDisplayOriginXValue
short g_nArmsDisplayOriginY
short g_68_nDamageShowTicksNumber
char g_12_szDamageStatusText [70]
signed char g_cDamageDisplayPart
signed char g_cDamagedPartCount
int g_nDisplayedComponentDamage
signed char g_cDamageDisplayFrame
short g_15_nDamageDisplayState
ShortPoint g_stHarmSpritePosition
short g_104_nHarmDisplayPhaseValue
Viewport g_6_stConversationTextViewport
char g_6_szDefaultTextBufferText [0xc8]
Viewport g_2_stModalSourceWindow
unsigned char * g_18_pCockpitIndicatorShape
Viewport g_stSecondaryViewBufferBlock
SceneFlicCacheEntry g_aSceneFlicCopyTable [15]
Viewport g_15_stSceneFlicScratchViewport
short g_9_aasCockpitHitPaletteFades [6][3]
TextContext g_3_stDefaultStringContext
TextContext g_2_stConversationTextCtx
short g_1_asSpacePaletteFade [3]
unsigned int g_uFrameTimerEventId
InputDeviceSample g_10_stPrevFlightControls
char * g_pInitialArguments [31]
Viewport g_stTrainSimTitleDisplayViewport
Viewport g_stTrainSimHighScoreBufferViewport
TextContext g_stTrainSimTextContext
Viewport g_stTrainSimHighScoreDisplayViewport
TextContext g_stTrainSimHighScoreTextContext
HighScoreEntry g_aHighScoreEntries [6]
unsigned char * g_pSceneAnimationPrimaryShape
SceneAnimationObject * g_pSceneAnimationObjects
short g_nSceneAnimationWaitFrames
unsigned char * g_pSceneAnimationDefinitions
unsigned char * g_pSceneAnimationSecondaryShape
signed char g_cCockpitLogicalFile
signed char g_36_cPilotKillCountValue
short g_8_bUserDestroyedFlag
short g_5_nCollisionCountdownNumber
signed char g_4_acInitialShipKillNumber [8]
short g_bWingmanKilledThisMission
short g_nWingmanKillCount
short g_nLastFoundShip
unsigned int g_dwOriginalFreeMemory
unsigned char * g_pMouseCursorResource
int g_3_bAfterburnerSfxActive
signed char g_6_bCampaignFlightRunning
int g_2_bIgnoreNextCursorMoveFlag
FixedVector g_2_vNormalizedToTgt
signed char g_14_cPilotHandFrameCode
short g_9_nScreenMessageTimeNumber
short g_36_nPendingDashDamageValue
int g_bSpeechPlaybackDone
HudMessageSlot g_12_aHudTextSlotsArray [2]
signed char g_2_cEarlierTargetObjectValue
short g_19_nCommPortraitAnimationTickWord
char g_16_szComponentHitMsg [40]
short g_36_nTargetLockonMarkerY
short g_6_nHomeOperationShipIndexValue
CockpitReadout g_9_aConsoleMetersTable [6]
short g_8_nScopePointerX
short g_9_nScannerCursorYValue
short g_10_asScannerObjectYTable [11]
volatile ShortPoint g_8_stCockpitExplosionPosBlock
short g_15_asScannerObjectX [11]
short g_47_asScannerBackgroundColourList [10]
short g_14_asScannerTargetUnderlay [5]
int g_4_nSevereDmgWarningSfxHandle
unsigned short g_18_nHudMessageColour
short g_7_nExternalViewTimeout
int g_nViewportAllocationCount
unsigned char * g_apViewportAllocations [128]
int g_2_nFreeViewportCalls
short g_nMissionMedalScore
short g_nCampaignDataSet
volatile int g_nNearArenaSize
volatile int g_1_nNearHeapBase
int g_nNearHeapFirstDescriptor
void *volatile g_1_pNearHeapAllocationPtr
short g_nNavPlotMaxX
short g_nNavmapMapMinimumX
unsigned short g_awNavObjectiveLabelIndex [8]
short g_nNavmapMapMaximumY
short g_13_nNavmapMapCentreX
short g_2_nNavMapMinimumYValue
TextContext g_stNavMapTextCtx
short g_nNavMapCentreY
TextContext g_5_stNavLabelTextContextInfo
CampaignDate g_1_stElapsedCampaignDate
DiskFileRecord * g_pDiskFileRecords
Viewport g_stDiskPromptBackgroundViewport
unsigned char g_abDiskPromptDriveState [2]
Viewport g_stDiskPromptViewport
TextContext g_stDiskPromptTextContext
unsigned int g_dwDiskPromptTopLeft
unsigned int g_dwDiskPromptBottomRight
short * g_pPaletteTransitionDirectionRef
short * g_pPaletteTransitionDeltaPtr
short g_2_nPaletteTransitionMaxDelta
short * g_pPaletteTransitionAccumulator
short g_nPaletteTransitionCountdownNumber
CampaignDate * g_pCurrentCampaignDate
CampaignDate * g_4_pElapsedCampaignDatePointer
unsigned char * g_pConversationSpecialShape
short g_nFuneralCasketX
short g_nFuneralCasketY
ShortPoint g_aFuneralParticles [7]
short g_nFuneralParticleDistance
short g_nFuneralForegroundX
short g_nFuneralForegroundY
short g_nFuneralMainScale
short g_nFuneralRifleFrame
short g_nFuneralBaseX
short g_nFuneralBaseY
short g_nFuneralParticleScale
short g_nFuneralMainDistance
short g_nFuneralGuardFrame
short g_nTalkingHeadFaceX
short g_nTalkingHeadFaceY
short g_nTalkingHeadMouthY
short g_nTalkingHeadMouthX
unsigned char g_5_abMissionAuxBlockBytes [0x28]
unsigned char g_abSeriesAuxData [0x28]
MissionObjectiveSource g_69_aMissionObjectiveSources [8]
MissionHeader g_13_stMissionHeaderBlock
unsigned char g_abMissionBriefingData [0xde]
unsigned char * g_pConstellationSprite
unsigned char * g_pIntroFont
unsigned int g_69_dwSysKeyValue
JOYINFO g_1_aJoystickInfoArray [2]
GuardedAllocation * g_9_pGuardedAllocationLastRef
char g_szGuardedHeapDiagnosticMessage [0x80]
char g_29_abMemoryLoadNotice [0x80]
HWND g_10_hMainWindow
HANDLE g_19_hOneProcessLock
int g_39_bAltNumpadAddHotkeySwitch
int g_27_nLastAltCommandScanNumberWord
int g_2_bAltFHotkeyFlag
int g_6_bAltDChordState
int g_bJoystickCalibrationHotkey
HCURSOR g_1_hMainWndCursor
int g_2_bAltHHotkey
int g_4_bMenuBHotkey
int g_bMenuAHotkey
int g_6_bMenuTHotkeySwitch
int g_3_nSavedOwnerCursorX
int g_102_nStoredWindowCursorYWord
int g_bAltNumpadSubtractShortcut
int g_16_bMainWindowRunning
HDC g_18_hMainWindowContext
HINSTANCE g_7_hAppCopy
unsigned short g_ausPaletteWords [256][3]
int g_4_bScreenStale
int g_nDibDirtyHitTotal
unsigned int g_dwLastDibDirtyReportTime
char g_2_szDibDebugScratch [260]
int g_8_nDibFlipRealCount
unsigned int g_10_dwLastSurfaceSlamRealNoticeTick
char g_3_szDibSlamRealDebugBuf [256]
const char * g_pszMissileLocked
unsigned long g_128_dwGameClockBase
long g_13_lGameClockStartData
unsigned int g_11_dwGameZeroTime
unsigned int g_48_dwGameExitClockValue
signed char g_4_abCockpitLightMode [7]
signed char g_12_abCockpitLightGoalTable [7]
short g_69_asCockpitDmgStateList [4]
ShortPoint g_aCockpitDamagePositions [4]
short g_asCockpitLightX [7]
short g_asCockpitLightY [7]
signed char g_acCockpitLightOffFrame [7]
signed char g_acCockpitLightOnFrame [7]
CockpitBarDefinition g_aCockpitBarDefinitions [8]
ShortPoint g_aCockpitReadoutOrigins [4]
ShortRect g_stLeftVduBounds
ShortRect g_stRightVduBounds
CockpitScannerGeometry g_stCockpitScannerGeometry
ShortRect g_stPilotHandBounds
ShortPoint g_stPilotHandOrigin
signed char g_cHazardBaseTravelTime
short g_nHazardPitchRange
short g_bTargetLockDisplayEnabled
short g_nTargetLeadIndicatorX
short g_1_nTargetLeadingIndicatorY
char g_szTargetOutOfRange [13]
char g_szIttsEngaged [13]
unsigned char g_abGunDisplayConfiguration [0xa4]
short g_1_nGunShowEnergyPercent
short g_12_nGunDisplayCount
short g_8_nGunDisplaySlot
int g_9_nTargetCameraOverlayMode
short g_nTargetCameraFrame
int g_anLastDrawnVduMode [3]
unsigned char *volatile g_pCockpitExplosionShape
volatile short g_nCockpitExplosionFrame
short g_nTargetLockMusicCooldown
unsigned int g_dwStreamerMode
short g_nUnusedInputWord4
NAV_STATIC NavMapLabel g_1_aNavMapLabels [20]
NAV_STATIC ShortRect g_aNavMapExclusionRects [20]
int g_nSfxVolumeSetting
int g_nMusicVolumeSetting
short g_bViewportDirty
int g_anVolumeLevels [11]
int g_3_nEventClockScaleValue
short g_asControlsButton1DoubleClickTable [2]
short g_3_asControlsButton1ChangedValues [2]
short g_9_asInputButton2ChangedList [2]
short g_2_asPreviousInputButtonsList [2]
int g_anControlsButton1PressTime [2]
int g_9_anInputButton2PushTime [2]
short g_7_asInputButton2DoubleClickValues [2]
signed char g_3_bInputPollingGuard
signed char g_bSceneEscapeRequested
int g_nNextInputQueueFlushTick
int g_nNextInputPollTick
short g_nInputPollPeriod
Viewport * g_pInputViewport
void(*) g_176_pfnCurrentInputPump (void)
short g_105_nEmsIsrBusyValue
InputManagerState * g_18_pEventManager
InputPumpContext * g_pActiveInputContext
void(*) g_59_pfnEventShutdownCallback (void)
short g_86_nCurrentInputTickInterval
signed char g_cKeypadMouseSpeedValue
volatile int g_196_nInputTimerTicks
void * g_pApplicationScratchBuffer
short g_nUiCursorFrame
short g_12_wInputDeviceButtonStatus
short g_nSelectedStartingCampaign
short g_nSelectedCampaignSlot
DwordPtr g_dwHighMemoryParagraphValue
short g_78_bHighMemoryBuffersSetState
short g_128_nShotHotspotLeft
short g_27_nSceneHotspotTopValue
short g_8_nSceneRegionRightWord
short g_15_nSceneAreaLowestWord
void * g_13_pStartupStellarPacket
short g_nScreenWidth
short g_nScreenHeight
short g_3_nFlightControlCommandValue
signed char g_cCurrentKey
signed char g_cPreviousKey
unsigned int g_dwCannedSceneSnapshotStart
void * g_pSceneMusicPacket
unsigned int g_4_dwSceneMusicMode
unsigned int g_dwRestoredSceneMusicState
short g_3_nCannedSceneWriteIndex
int g_4_nCannedSceneFileOffset
void * g_1_pCannedSceneStateBlockRef
short g_nCannedSceneRecordedFrameCountNumber
short g_5_nCannedSceneFrameCount
short g_awPaletteEntryAllocation [256]
short g_1_asCannedSceneFrameStarts [70]
PilotProfile g_stDefaultPilotProfile
short g_bNewPilotCampaignInitialized
short g_bDeveloperCampaignReady
PilotProfile g_stCurrentPilotProfile
PilotNameVariables g_stPilotNameVariables
short g_1_nResourcePaletteState
short g_3_nOptionMessageColour
short g_nMenuSelectedCol
short g_10_nMenuDarkColour
int g_nLegacySaveSource
short g_nPersonnelMenuHighlight
void * g_pPersonnelCampaignSnapshot
unsigned char * g_pPersonnelMenuBackdrop
short g_sPersonnelPreviousInput
short g_bPersonnelMenuDrawing
signed char g_bPersonnelPrimaryInputDown
const char * g_apszSaveGameFileNames [3]
const char * g_apszShortPilotRankNames [5]
void * g_pActiveScenePacket
short g_nPersonnelCursorX
short g_nPersonnelCursorY
MAIN_STATIC int g_bMouseFireButtonLatched
MAIN_STATIC short g_wSavedInputDeviceButtonState
short g_1_bDiscreteFlightInputWaiting
short g_19_bPolledFlightInputQueued
int g_10_bPlayerInputActive
short g_6_wQueuedButtonsState
PersonnelMouseSample g_6_stPersonnelMouseData
short g_nPersonnelMouseY
unsigned char g_bPersonnelPrimaryButton
unsigned char g_bPersonnelSecondaryButton
unsigned short g_wPersonnelInputFlags
int g_bSceneDisplayUpdateActive
short g_1_nCockpitArchiveVariantNumber
char * g_3_apszPersonnelImportCaptionsTable [8]
char g_1_szLegacySaveFolder [0x30]
SceneResourceTable g_stSceneZoneTable
SceneResourceTable g_stSceneTextList
char * g_pszPersonnelFooter
unsigned char * g_pCampaignChalkboardShape
short g_bDisableChalkboardReplay
short g_8_bSceneBackdropClicked
short g_asConstellationObjectIndices [4]
char g_15_szLegacyGameDataPath [0x400]
short g_8_nActiveInputDeviceWord
int g_nControllerVerticalDeadZoneWord
int g_nJoystickHorizDeadZone
int g_59_nJoystickUpScaleWord
int g_12_nControllerLeftScaleValue
int g_4_nJoystickMaximumXValue
int g_nJoystickMaximumY
int g_12_nJoystickMinimumXNumber
int g_2_nJsMinimumY
int g_3_nJoystickRawX
int g_nStickRawY
int g_nJoystickVerticalRangeNumber
int g_3_nControllerHorizontalRange
int g_1_nJsRightScaleWord
int g_12_nJoystickDownScaleWord
int g_2_nJoystickCentreY
int g_1_nJoystickCentreXNumber
int g_4_nControllerFailureValue
InputDeviceSample g_aInputDeviceSamplesList [2]
short g_nMenuInputRepeatDelay
unsigned char * g_1_pCampaignDataBase
HostMouseMessage g_6_stHostMouseTextBlock
ObjectTypeData g_aObjectTypeData [OBJECT_DATA_COUNT]
LPDIRECTDRAWSURFACE g_pPrimarySurface
LPDIRECTDRAWSURFACE g_pSecondarySurface
LPDIRECTDRAWPALETTE g_pDirectDrawPalette
int g_nDisplayModeCascade
char g_szFrameErrorMessage [0x8c]
char g_59_szFrameFrequencyString [32]
float g_fMeasuredFrameRate
signed char g_cMessageSpeed
unsigned char g_abManeuverRerollChance [50]
void(* g_apManeuverHandlers [50])(short, short)
ShortVector g_aShipFormationOffset [10]

Detailed Description

Shared globals and their retail address annotations.

Definition in file globals.h.

Macro Definition Documentation

◆ DATAFILE_STATIC

#define DATAFILE_STATIC   extern

Definition at line 917 of file globals.h.

◆ EVENTMGR_STATIC

#define EVENTMGR_STATIC   extern

Definition at line 1095 of file globals.h.

◆ FL_STATIC

#define FL_STATIC   extern

Definition at line 955 of file globals.h.

◆ GR_STATIC

#define GR_STATIC   extern

Definition at line 990 of file globals.h.

◆ KBMOUSE_STATIC

#define KBMOUSE_STATIC   extern

Definition at line 939 of file globals.h.

◆ MAIN_STATIC

#define MAIN_STATIC   extern

Definition at line 765 of file globals.h.

◆ MONO_STATIC

#define MONO_STATIC   extern

Definition at line 928 of file globals.h.

◆ MUSIC_STATIC

#define MUSIC_STATIC   extern

Definition at line 947 of file globals.h.

◆ NAV_STATIC

#define NAV_STATIC   extern

Definition at line 1612 of file globals.h.

◆ WINMAIN_STATIC

#define WINMAIN_STATIC   extern

Definition at line 212 of file globals.h.

◆ WIPE_STATIC

#define WIPE_STATIC   extern

Definition at line 547 of file globals.h.

Typedef Documentation

◆ PersonnelMouseSample

typedef struct PersonnelMouseSample PersonnelMouseSample

◆ PilotNameVariables

typedef struct PilotNameVariables PilotNameVariables

◆ QueuedMouseState

typedef struct QueuedMouseState QueuedMouseState

◆ ReleaseWeaponPosition

Definition at line 1393 of file globals.h.

Variable Documentation

◆ CLSID_DirectDrawClipper

const GUID CLSID_DirectDrawClipper
extern

Definition at line 35 of file dib.cpp.

◆ g_101_nDibOffsetY

unsigned int g_101_nDibOffsetY
extern

Definition at line 100 of file dib.cpp.

Referenced by DIBdestroyDIB(), and DIBmakeDIB().

◆ g_101_stScrViewInfo

Viewport g_101_stScrViewInfo
extern

Definition at line 3831 of file cockpt.c.

Referenced by AppendFormattedText(), BriefingMap_DisplayMap(), CaptureMouseCursorBackground(), clear_head_up_display(), cockpit_explosion(), CompleteStarSystemJump(), CopyViewportRuns(), death_sequence(), DIBmakeDIB(), draw_3d_scanner(), draw_cockpit_lights(), DrawCockpitReadout(), DrawFormattedText(), DrawMouseCursor(), DrawNavLocationReadout(), DrawPendingCockpitDamage(), DrawSpriteTransformed(), DrawTargetCameraAttitudeIndicators(), DrawTitleOrchestra(), DrawViewportEllipse(), DrawViewportEllipseShadow(), dump_buffer_to_screen(), EMStartUp(), explosion_draw(), FillPolygon(), FillViewportEllipse(), fizzle_fade(), FormatTextBufferFromStart(), free_viewport(), InflightComputer(), init_vdus(), initialize_cockpit(), InitializeCampaignChalkboardScreen(), InitializeCockpitResources(), InitializeConversationViewport(), InitializeGameTextContexts(), KeyboardMousePump(), PollCampaignChalkboardMenu(), ReadPersonnelTextField(), RefreshMemoryStatusOverlay(), ResetScreenClipToFullHeight(), RestoreCockpitExplosionBackground(), RestoreHudMessageBackground(), RestoreMouseCursorBackground(), RestoreSpriteBackground(), RestoreTargetCameraAttitudeIndicators(), RestoreTransientCockpitGraphics(), RunCampaignContinuePromptLoop(), RunCampaignSelectionFrame(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), RunTitleScreen(), shaded_triangle(), shadow_draw(), ShowConfedNavScan(), ShowHudTextLine(), snow_viewport(), ToggleTargetCameraOverlay(), triangle(), update_VDUs(), and ValidateViewportBounds().

◆ g_102_nLeftDirKeyboardState

WINMAIN_STATIC int g_102_nLeftDirKeyboardState

Definition at line 911 of file globals.h.

Referenced by PollKeyboardState().

◆ g_102_nStoredWindowCursorYWord

int g_102_nStoredWindowCursorYWord
extern

Definition at line 1405 of file winmain.c.

Referenced by MainWindowProc().

◆ g_104_nHarmDisplayPhaseValue

short g_104_nHarmDisplayPhaseValue
extern

Definition at line 278 of file damage.c.

Referenced by show_damage_disp(), and UpdateDamageDisplay().

◆ g_105_nEmsIsrBusyValue

short g_105_nEmsIsrBusyValue
extern

Definition at line 2528 of file eventmgr.c.

Referenced by SoundBlasterEndOfInterrupt().

◆ g_105_nFadePreviousVerticalEdge

WIPE_STATIC short g_105_nFadePreviousVerticalEdge

Definition at line 568 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_108_nTransitionVertSum

WIPE_STATIC int g_108_nTransitionVertSum

Definition at line 576 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_10_abExplosionEntityDoneBytes

signed char g_10_abExplosionEntityDoneBytes[ SPACE_OBJECT_COUNT]
extern

Definition at line 3065 of file ship.c.

Referenced by explode().

◆ g_10_asScannerObjectYTable

short g_10_asScannerObjectYTable[11]
extern

◆ g_10_bPlayerInputActive

int g_10_bPlayerInputActive
extern

Definition at line 2013 of file main.c.

Referenced by player_input().

◆ g_10_dwLastSurfaceSlamRealNoticeTick

unsigned int g_10_dwLastSurfaceSlamRealNoticeTick
extern

Definition at line 115 of file dib.cpp.

Referenced by DIBslamReal().

◆ g_10_hMainWindow

HWND g_10_hMainWindow
extern

◆ g_10_nAlternateSampleToggle

short g_10_nAlternateSampleToggle
extern

Definition at line 610 of file music.c.

Referenced by sound_effect().

◆ g_10_nMenuDarkColour

◆ g_10_nSavedPointerY

int g_10_nSavedPointerY
extern

Definition at line 2509 of file eventmgr.c.

Referenced by CaptureMouseCursorBackground(), and RestoreMouseCursorBackground().

◆ g_10_stCutsceneStringViewportBlock

Viewport g_10_stCutsceneStringViewportBlock
extern

◆ g_10_stPrevFlightControls

InputDeviceSample g_10_stPrevFlightControls
extern

Definition at line 1996 of file main.c.

Referenced by HandleFleetOverviewInput(), and player_input().

◆ g_116_aWeaponDisplayPositions

ShortPoint g_116_aWeaponDisplayPositions[16]
extern

◆ g_116_pszFilmPrintStore

char* g_116_pszFilmPrintStore
extern

◆ g_117_nCutsceneFormatValueWord

short g_117_nCutsceneFormatValueWord
extern

Definition at line 3801 of file gameflow.c.

Referenced by ExpandCutsceneText(), and RunCutsceneScript().

◆ g_11_abFrameBackingStore

unsigned char g_11_abFrameBackingStore[0xfa00]
extern

Definition at line 104 of file dib.cpp.

Referenced by DIBdestroyDIB(), DIBinstall(), and DIBmakeDIB().

◆ g_11_anPlacedObjectDepths

int g_11_anPlacedObjectDepths[SPACE_OBJECT_COUNT]
extern

Definition at line 2511 of file eventmgr.c.

Referenced by BuildObjectDepthOrder().

◆ g_11_dwGameZeroTime

unsigned int g_11_dwGameZeroTime
extern

Definition at line 1409 of file winmain.c.

Referenced by WinMain().

◆ g_11_nIdleFrameWord2

int g_11_nIdleFrameWord2
extern

Definition at line 129 of file dib.cpp.

◆ g_11_nMissionResourceBudget

int g_11_nMissionResourceBudget
extern

Definition at line 597 of file startup.c.

Referenced by init_mission().

◆ g_11_nViewportLeftOrigin

short g_11_nViewportLeftOrigin
extern

Definition at line 2548 of file eventmgr.c.

Referenced by set_up_screen_viewport().

◆ g_11_nWipeRadialAccumulator

WIPE_STATIC int g_11_nWipeRadialAccumulator

Definition at line 550 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_11_pWipeFrontEdges

WIPE_STATIC short* g_11_pWipeFrontEdges

Definition at line 558 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_128_dwGameClockBase

unsigned long g_128_dwGameClockBase
extern

Definition at line 1387 of file winmain.c.

Referenced by GetGameClockTicks(), and InitGameClockRandomEpoch().

◆ g_128_nShotHotspotLeft

short g_128_nShotHotspotLeft
extern

◆ g_12_abCockpitLightGoalTable

signed char g_12_abCockpitLightGoalTable[7]
extern

◆ g_12_aHudTextSlotsArray

◆ g_12_apszMovieSpeechFiles

char* g_12_apszMovieSpeechFiles[8]
extern

◆ g_12_nControllerLeftScaleValue

int g_12_nControllerLeftScaleValue
extern

◆ g_12_nGunDisplayCount

short g_12_nGunDisplayCount
extern

Definition at line 1286 of file turret.c.

Referenced by InitializeCockpitResources().

◆ g_12_nIdleFrameWord1

int g_12_nIdleFrameWord1
extern

Definition at line 128 of file dib.cpp.

◆ g_12_nJoystickDownScaleWord

int g_12_nJoystickDownScaleWord
extern

◆ g_12_nJoystickMinimumXNumber

int g_12_nJoystickMinimumXNumber
extern

◆ g_12_szDamageStatusText

char g_12_szDamageStatusText[70]
extern

Definition at line 271 of file damage.c.

Referenced by UpdateDamageDisplay().

◆ g_12_wInputDeviceButtonStatus

short g_12_wInputDeviceButtonStatus
extern

Definition at line 2531 of file eventmgr.c.

Referenced by get_player_input(), and HandleFleetOverviewInput().

◆ g_137_aDirectionViewUpVectorArray

FixedVector g_137_aDirectionViewUpVectorArray[ DIRECTION_VIEW_COUNT]
extern

Definition at line 3837 of file cockpt.c.

Referenced by get_right_shape(), and initialize_direction_view_frame().

◆ g_138_nCursorDirtyRightValue

int g_138_nCursorDirtyRightValue
extern

◆ g_139_nDissolveProgress

WIPE_STATIC short g_139_nDissolveProgress

Definition at line 557 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_13_abShapeRLEScratch

GR_STATIC unsigned char g_13_abShapeRLEScratch[0x100000]

Definition at line 996 of file globals.h.

Referenced by PrepareShapeRLEData().

◆ g_13_abShipArrivalMessageSent

signed char g_13_abShipArrivalMessageSent[16]
extern

Definition at line 3803 of file cockpt.c.

Referenced by flag_reached(), and Set_up_ship_info().

◆ g_13_abUnusedKeyboardArea

WINMAIN_STATIC unsigned char g_13_abUnusedKeyboardArea[0x80]

Definition at line 214 of file globals.h.

◆ g_13_lGameClockStartData

long g_13_lGameClockStartData
extern

Definition at line 1410 of file winmain.c.

Referenced by InitGameClockRandomEpoch(), and PumpWindowMessages().

◆ g_13_nNavmapMapCentreX

short g_13_nNavmapMapCentreX
extern

Definition at line 1243 of file nav.c.

Referenced by ScaleNavMapCoordinates(), and SetScale().

◆ g_13_nUpDirKeyState

WINMAIN_STATIC int g_13_nUpDirKeyState

Definition at line 907 of file globals.h.

Referenced by PollKeyboardState().

◆ g_13_pActiveCutscenePixelsAddress

unsigned char* g_13_pActiveCutscenePixelsAddress
extern

◆ g_13_pStartupStellarPacket

void* g_13_pStartupStellarPacket
extern

Definition at line 3827 of file cockpt.c.

Referenced by init_constellation(), and LoadOriginFxDrivers().

◆ g_13_stMissionHeaderBlock

◆ g_146_nInputCursorDirtyTop

int g_146_nInputCursorDirtyTop
extern

◆ g_148_nPointerDirtyLeft

int g_148_nPointerDirtyLeft
extern

◆ g_14_anObjectSoundEffects

int g_14_anObjectSoundEffects[SPACE_OBJECT_COUNT]
extern

Definition at line 611 of file music.c.

Referenced by sound_effect().

◆ g_14_asScannerTargetUnderlay

short g_14_asScannerTargetUnderlay[5]
extern

Definition at line 3796 of file cockpt.c.

Referenced by clear_head_up_display(), and draw_3d_scanner().

◆ g_14_cPilotHandFrameCode

signed char g_14_cPilotHandFrameCode
extern

◆ g_14_nBlendHorizontalTotal

WIPE_STATIC int g_14_nBlendHorizontalTotal

Definition at line 570 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_14_nConstellationParticleTotal

short g_14_nConstellationParticleTotal
extern

Definition at line 237 of file starfld.c.

Referenced by DrawConstellationField(), and InitializeConstellationField().

◆ g_14_nCurrentGraphicsModeDetectedValue

short g_14_nCurrentGraphicsModeDetectedValue
extern

Definition at line 2498 of file eventmgr.c.

Referenced by LoadOriginFxDrivers(), and LogMemoryUsage().

◆ g_15_asScannerObjectX

short g_15_asScannerObjectX[11]
extern

◆ g_15_nDamageDisplayState

short g_15_nDamageDisplayState
extern

Definition at line 276 of file damage.c.

Referenced by show_damage_disp().

◆ g_15_nDownArrowKeyState

WINMAIN_STATIC int g_15_nDownArrowKeyState

Definition at line 908 of file globals.h.

Referenced by PollKeyboardState().

◆ g_15_nFadeWidth

WIPE_STATIC short g_15_nFadeWidth

Definition at line 562 of file globals.h.

Referenced by InitializeViewportWipe().

◆ g_15_nMouseRenderY

int g_15_nMouseRenderY
extern

◆ g_15_nPointerDirtyBottom

int g_15_nPointerDirtyBottom
extern

◆ g_15_nSceneAreaLowestWord

short g_15_nSceneAreaLowestWord
extern

◆ g_15_nStoredScreenViewCentreX

◆ g_15_pScreenViewportGeometry

const ScreenViewportGeometry* volatile g_15_pScreenViewportGeometry
extern

Definition at line 2519 of file eventmgr.c.

Referenced by dump_buffer_to_screen(), and set_up_screen_viewport().

◆ g_15_stSceneFlicScratchViewport

◆ g_15_szLegacyGameDataPath

char g_15_szLegacyGameDataPath[0x400]
extern

Definition at line 16 of file stream.cpp.

Referenced by GetLegacyGameDataPath().

◆ g_168_stFlightTextContext

TextContext g_168_stFlightTextContext
extern

◆ g_16_aFireworks

FireworkState g_16_aFireworks[30]
extern

Definition at line 233 of file starfld.c.

Referenced by InitializeFireworks(), ShowVictoryScreen(), and TheEndFireWorks().

◆ g_16_bMainWindowRunning

int g_16_bMainWindowRunning
extern

Definition at line 1407 of file winmain.c.

Referenced by CreateMainWindow(), MainWindowProc(), and PumpWindowMessages().

◆ g_16_nRevealVerticalDelta

WIPE_STATIC int g_16_nRevealVerticalDelta

Definition at line 575 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_16_nSpeechCompletionDelay

int g_16_nSpeechCompletionDelay
extern

Definition at line 19 of file sound.c.

Referenced by PlayRawSpeechBuffer(), and ServiceSoundSystem().

◆ g_16_stCockpitTextSettingsRecord

TextContext g_16_stCockpitTextSettingsRecord
extern

Definition at line 238 of file message.c.

Referenced by InitializeCockpitResources(), and update_digital_readouts().

◆ g_16_stCutsceneDrawingTextSettingsInfo

TextContext g_16_stCutsceneDrawingTextSettingsInfo
extern

Definition at line 3805 of file gameflow.c.

Referenced by DrawCinematicMemoryStatus(), and DrawCutsceneTextAt().

◆ g_16_stEventQueuePointerData

◆ g_16_szComponentHitMsg

char g_16_szComponentHitMsg[40]
extern

Definition at line 3802 of file cockpt.c.

Referenced by ShowComponentHitHudMessage().

◆ g_16_szTextBufferBuffer

◆ g_176_pfnCurrentInputPump

void(*) g_176_pfnCurrentInputPump(void) ( void )
extern

Definition at line 2526 of file eventmgr.c.

Referenced by ConfigureInputPump(), PumpWindowMessages(), WaitForInputKey(), and WinMain().

◆ g_17_nFadeType

WIPE_STATIC int g_17_nFadeType

Definition at line 561 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_17_nFramePeriodMillis

long g_17_nFramePeriodMillis
extern

◆ g_17_nSceneInitialLargestBlockWord

unsigned int g_17_nSceneInitialLargestBlockWord
extern

Definition at line 3791 of file gameflow.c.

Referenced by InitializeCutsceneRuntimeResources().

◆ g_18_bEventManagerInitializationState

short g_18_bEventManagerInitializationState
extern

Definition at line 2495 of file eventmgr.c.

Referenced by EMShutDown(), InitializeInputManagerMemory(), and ShutdownEventManager().

◆ g_18_hMainWindowContext

HDC g_18_hMainWindowContext
extern

Definition at line 1394 of file winmain.c.

Referenced by CreateMainWindow(), and GetMainWindowDeviceContext().

◆ g_18_nBlendRadialStep

WIPE_STATIC int g_18_nBlendRadialStep

Definition at line 549 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_18_nEndKeyState

WINMAIN_STATIC int g_18_nEndKeyState

Definition at line 904 of file globals.h.

Referenced by PollKeyboardState().

◆ g_18_nHudMessageColour

unsigned short g_18_nHudMessageColour
extern

Definition at line 3819 of file cockpt.c.

Referenced by RunSpaceFlight(), and SetHudMessageText().

◆ g_18_nInterfaceEventMode

◆ g_18_nWipeAcrossStride

WIPE_STATIC int g_18_nWipeAcrossStride

Definition at line 569 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_18_nWipeTotalStages

WIPE_STATIC short g_18_nWipeTotalStages

Definition at line 560 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_18_pCockpitIndicatorShape

unsigned char* g_18_pCockpitIndicatorShape
extern

Definition at line 229 of file message.c.

Referenced by show_target_disp().

◆ g_18_pDisplayPixelBuffer

unsigned char* g_18_pDisplayPixelBuffer
extern

◆ g_18_pEventManager

◆ g_18_szSpaceFlightBestFpsMessage

char g_18_szSpaceFlightBestFpsMessage[0x80]
extern

Definition at line 116 of file dib.cpp.

Referenced by ReportSpaceFlightMaxFps().

◆ g_196_nInputTimerTicks

◆ g_19_asCutsceneSpeechSectionsList

short g_19_asCutsceneSpeechSectionsList[8]
extern

◆ g_19_bPolledFlightInputQueued

short g_19_bPolledFlightInputQueued
extern

Definition at line 2010 of file main.c.

Referenced by HandleFleetOverviewInput(), and player_input().

◆ g_19_bStoredHighMemoryEnabled

◆ g_19_hOneProcessLock

HANDLE g_19_hOneProcessLock
extern

Definition at line 1386 of file winmain.c.

Referenced by AbortToDesktop(), ShutdownGameWindow(), and WinMain().

◆ g_19_nCommPortraitAnimationTickWord

short g_19_nCommPortraitAnimationTickWord
extern

Definition at line 3801 of file cockpt.c.

Referenced by real_vid_transmit(), and vid_transmit().

◆ g_19_pFilmInputFlag

InputEventState* g_19_pFilmInputFlag
extern

Definition at line 3800 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_19_pFullScreenViewport

Viewport* g_19_pFullScreenViewport
extern

Definition at line 55 of file screen.c.

Referenced by InitFullScreenViewport().

◆ g_19_stFadeToView

WIPE_STATIC Viewport g_19_stFadeToView

Definition at line 564 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_1_aJoystickInfoArray

JOYINFO g_1_aJoystickInfoArray[2]
extern

Definition at line 1383 of file winmain.c.

Referenced by GetJoystickButtons(), and GetJoystickPosition().

◆ g_1_aNavMapLabels

NAV_STATIC NavMapLabel g_1_aNavMapLabels[20]

◆ g_1_apszCommMenuChoiceTextTable

const char* g_1_apszCommMenuChoiceTextTable[7]
extern

Definition at line 589 of file comm.c.

Referenced by AppendCommMenuChoice(), ResetCommMenuChoices(), and show_communications_disp().

◆ g_1_asCannedSceneFrameStarts

short g_1_asCannedSceneFrameStarts[70]
extern

Definition at line 328 of file taperec.c.

Referenced by InitializeCannedSceneFrameIndex(), and RecordCannedSceneObjectState().

◆ g_1_asCutsceneSpeechChannelsTable

short g_1_asCutsceneSpeechChannelsTable[8]
extern

◆ g_1_asObjectCreationFrameTable

short g_1_asObjectCreationFrameTable[SPACE_OBJECT_COUNT]
extern

Definition at line 3069 of file ship.c.

Referenced by inflict_damage(), and set_objects_data().

◆ g_1_asSpacePaletteFade

short g_1_asSpacePaletteFade[3]
extern

◆ g_1_bDiscreteFlightInputWaiting

short g_1_bDiscreteFlightInputWaiting
extern

Definition at line 1999 of file main.c.

Referenced by HandleFleetOverviewInput(), and player_input().

◆ g_1_bSpaceFlightActive

int g_1_bSpaceFlightActive
extern

Definition at line 2004 of file main.c.

Referenced by PlayRawSpeechBuffer(), RunSpaceFlight(), and ServiceSoundSystem().

◆ g_1_bWipeWidthAtLeastHeight

WIPE_STATIC signed char g_1_bWipeWidthAtLeastHeight

Definition at line 555 of file globals.h.

Referenced by InitializeViewportWipe().

◆ g_1_cStoredViewDisplayModeValue

◆ g_1_fPreviousFrameSpeed

float g_1_fPreviousFrameSpeed
extern

Definition at line 23 of file dib.cpp.

Referenced by SetDefaultFrameTiming().

◆ g_1_hMainWndCursor

HCURSOR g_1_hMainWndCursor
extern

Definition at line 1398 of file winmain.c.

Referenced by CreateMainWindow().

◆ g_1_nCockpitArchiveVariantNumber

short g_1_nCockpitArchiveVariantNumber
extern

◆ g_1_nCutsceneFontOwnerNumber

short g_1_nCutsceneFontOwnerNumber
extern

Definition at line 3807 of file gameflow.c.

Referenced by ReleaseCutsceneFontPacket(), and RunCutsceneScript().

◆ g_1_nEnemyCommCommandBase

short g_1_nEnemyCommCommandBase
extern

Definition at line 1463 of file mission.c.

Referenced by BuildCommunicationCommandMenu(), init_intelligence_data(), and init_mission().

◆ g_1_nFadeRadialThreshold

WIPE_STATIC int g_1_nFadeRadialThreshold

Definition at line 551 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_1_nGunShowEnergyPercent

short g_1_nGunShowEnergyPercent
extern

◆ g_1_nJoystickCentreXNumber

int g_1_nJoystickCentreXNumber
extern

◆ g_1_nJsRightScaleWord

int g_1_nJsRightScaleWord
extern

◆ g_1_nNearHeapBase

◆ g_1_nPageDownKeyboardMode

WINMAIN_STATIC int g_1_nPageDownKeyboardMode

Definition at line 901 of file globals.h.

Referenced by PollKeyboardState().

◆ g_1_nResourcePaletteState

◆ g_1_nSavedPlayerObjectCounter

int g_1_nSavedPlayerObjectCounter
extern

Definition at line 294 of file jump.c.

Referenced by CompleteStarSystemJump(), and TryBeginStarSystemJump().

◆ g_1_nShapeClipTicksValue

int g_1_nShapeClipTicksValue
extern

Definition at line 1707 of file gr.c.

Referenced by DrawSpriteTransformed().

◆ g_1_nStarFieldIRotation

short g_1_nStarFieldIRotation
extern

Definition at line 1725 of file spc.c.

Referenced by generate_stars(), and update_star_field().

◆ g_1_nTargetCameraYawIndicatorX

short g_1_nTargetCameraYawIndicatorX
extern

◆ g_1_nTargetLeadingIndicatorY

short g_1_nTargetLeadingIndicatorY
extern

◆ g_1_nTargetLensYawIndicatorYWord

short g_1_nTargetLensYawIndicatorYWord
extern

◆ g_1_pActiveSceneFileResourcesRef

CutsceneResourceTable* g_1_pActiveSceneFileResourcesRef
extern

Definition at line 3774 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_1_pCampaignDataBase

unsigned char* g_1_pCampaignDataBase
extern

Definition at line 248 of file joycal.c.

Referenced by RunCampaignGameLoop().

◆ g_1_pCannedSceneStateBlockRef

void* g_1_pCannedSceneStateBlockRef
extern

Definition at line 326 of file taperec.c.

Referenced by FinishCannedScenePlayback().

◆ g_1_pDashWeaponPicture

◆ g_1_pNearHeapAllocationPtr

void* volatile g_1_pNearHeapAllocationPtr
extern

Definition at line 376 of file nearheap.c.

Referenced by InitializeNearHeap(), and ShutdownNearHeap().

◆ g_1_pTitleFireworkShape

unsigned char* g_1_pTitleFireworkShape
extern

Definition at line 234 of file starfld.c.

Referenced by TheEndFireWorks(), and Title_Sequence().

◆ g_1_pVoiceWav

WaveTableEntry* g_1_pVoiceWav
extern

Definition at line 16 of file sound.c.

Referenced by PlayRawSpeechBuffer().

◆ g_1_stElapsedCampaignDate

◆ g_1_stFoundInputEvent

EVENTMGR_STATIC InputEventState g_1_stFoundInputEvent

Definition at line 1109 of file globals.h.

Referenced by FindQueuedInputEvent().

◆ g_1_stRasterBitmap

GR_STATIC RasterSurface g_1_stRasterBitmap

Definition at line 992 of file globals.h.

Referenced by ClipViewportToScreen().

◆ g_1_stRightVduTextContextBlock

TextContext g_1_stRightVduTextContextBlock
extern

◆ g_1_stWipeScratchSourcePort

WIPE_STATIC Viewport g_1_stWipeScratchSourcePort

Definition at line 579 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_1_szLegacySaveFolder

char g_1_szLegacySaveFolder[0x30]
extern

Definition at line 3828 of file cockpt.c.

Referenced by LocateLegacySaveGame(), and RunPilotDatabaseMenu().

◆ g_1_szReadDataFileFault

DATAFILE_STATIC char g_1_szReadDataFileFault[0x40]

Definition at line 919 of file globals.h.

Referenced by ReadDataFileAtOffset().

◆ g_1_ucDmaPageValue

unsigned char g_1_ucDmaPageValue
extern

Definition at line 281 of file speech.c.

Referenced by InitializeSoundBlaster(), and SoundBlasterDspInterrupt().

◆ g_26_bMouseCursorEnabled

unsigned char g_26_bMouseCursorEnabled
extern

◆ g_26_bPointerDirtyValue

int g_26_bPointerDirtyValue
extern

◆ g_26_pFilmRgbPacket

unsigned char* g_26_pFilmRgbPacket
extern

◆ g_26_pLibraryCurrentLastPacketAllocation

void* g_26_pLibraryCurrentLastPacketAllocation
extern

Definition at line 2504 of file eventmgr.c.

Referenced by PacketLoad().

◆ g_26_stWipeTempDestinationViewport

WIPE_STATIC Viewport g_26_stWipeTempDestinationViewport

Definition at line 573 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_27_aasGunCooldown

short g_27_aasGunCooldown[10][3]
extern

◆ g_27_nLastAltCommandScanNumberWord

int g_27_nLastAltCommandScanNumberWord
extern

Definition at line 1393 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_27_nSceneHotspotTopValue

short g_27_nSceneHotspotTopValue
extern

◆ g_27_pszCutsceneFormattedText

char* g_27_pszCutsceneFormattedText
extern

◆ g_27_stViewScratchInfo

◆ g_28_nCutsceneInitialAvailableMemoryWord

unsigned int g_28_nCutsceneInitialAvailableMemoryWord
extern

◆ g_28_nDisplayRowBytes

unsigned int g_28_nDisplayRowBytes
extern

Definition at line 102 of file dib.cpp.

Referenced by DIBdestroyDIB(), DIBmakeDIB(), DIBslamReal(), DIBupdate(), and GetDIBWidth().

◆ g_28_nUnusedFrameSlot

int g_28_nUnusedFrameSlot
extern

Definition at line 120 of file dib.cpp.

◆ g_29_abMemoryLoadNotice

char g_29_abMemoryLoadNotice[0x80]
extern

Definition at line 1390 of file winmain.c.

Referenced by AbortToDesktop().

◆ g_29_pCurrentTextContext

◆ g_2_aDirectionViewForwardAxisTable

FixedVector g_2_aDirectionViewForwardAxisTable[ DIRECTION_VIEW_COUNT]
extern

Definition at line 3838 of file cockpt.c.

Referenced by initialize_direction_view_frame().

◆ g_2_apCockpitShipShapes

unsigned char* g_2_apCockpitShipShapes[4]
extern

Definition at line 1069 of file fltsetup.c.

Referenced by initialize_cockpit().

◆ g_2_apCockpitViewShapes

unsigned char* g_2_apCockpitViewShapes[4]
extern

Definition at line 1067 of file fltsetup.c.

Referenced by initialize_cockpit().

◆ g_2_asCarrierLaunchTimer

short g_2_asCarrierLaunchTimer[10]
extern

Definition at line 110 of file carrier.c.

Referenced by launch_carrier_fighter(), and Set_up_ship_info().

◆ g_2_asFlakCooldownTable

short g_2_asFlakCooldownTable[16]
extern

Definition at line 1573 of file brains.c.

Referenced by capital_ship_strike_mission(), house_keep_objects(), and Set_up_ship_info().

◆ g_2_asPreviousInputButtonsList

short g_2_asPreviousInputButtonsList[2]
extern

Definition at line 242 of file input.c.

Referenced by UpdateInputDeviceTransitions().

◆ g_2_awDibScreenRowOffsetsData

unsigned short g_2_awDibScreenRowOffsetsData[202]
extern

Definition at line 56 of file screen.c.

Referenced by InitializeDIBScreenViewport().

◆ g_2_bAltFHotkeyFlag

int g_2_bAltFHotkeyFlag
extern

Definition at line 1395 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_2_bAltHHotkey

int g_2_bAltHHotkey
extern

Definition at line 1399 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_2_bIgnoreNextCursorMoveFlag

int g_2_bIgnoreNextCursorMoveFlag
extern

Definition at line 2534 of file eventmgr.c.

Referenced by KeyboardMousePump(), and MainWindowProc().

◆ g_2_bMovieStringAdvanceState

short g_2_bMovieStringAdvanceState
extern

Definition at line 3796 of file gameflow.c.

Referenced by AnimateCutsceneSpeakerMouth(), and RunCutsceneScript().

◆ g_2_bPumpMessagesWhileLoadingState

short g_2_bPumpMessagesWhileLoadingState
extern

Definition at line 594 of file startup.c.

Referenced by LoadOriginFxDrivers(), and main().

◆ g_2_cEarlierTargetObjectValue

signed char g_2_cEarlierTargetObjectValue
extern

Definition at line 3799 of file cockpt.c.

Referenced by overlay_head_up_display(), and RestoreTransientCockpitGraphics().

◆ g_2_hFrameHwnd

HWND g_2_hFrameHwnd
extern

◆ g_2_nClearedKeyboardState

WINMAIN_STATIC int g_2_nClearedKeyboardState

Definition at line 898 of file globals.h.

Referenced by PollKeyboardState().

◆ g_2_nControllerCalibrationMaximumX

int g_2_nControllerCalibrationMaximumX
extern

Definition at line 245 of file joycal.c.

Referenced by LoadJoystickCalibrationFile().

◆ g_2_nCutsceneForkOffsetNumber

short g_2_nCutsceneForkOffsetNumber
extern

Definition at line 3784 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_2_nExternalViewDistanceValue

short g_2_nExternalViewDistanceValue
extern

Definition at line 1724 of file spc.c.

Referenced by new_view(), and set_eye_direction_and_position().

◆ g_2_nFreeViewportCalls

int g_2_nFreeViewportCalls
extern

Definition at line 53 of file vpfree.c.

Referenced by free_viewport().

◆ g_2_nJoystickCalibrationMinimumXNumber

int g_2_nJoystickCalibrationMinimumXNumber
extern

Definition at line 242 of file joycal.c.

Referenced by LoadJoystickCalibrationFile().

◆ g_2_nJoystickCentreY

int g_2_nJoystickCentreY
extern

◆ g_2_nJsMinimumY

int g_2_nJsMinimumY
extern

◆ g_2_nNavMapMinimumYValue

short g_2_nNavMapMinimumYValue
extern

Definition at line 1244 of file nav.c.

Referenced by CheckPoint(), and SetScale().

◆ g_2_nPaletteTransitionMaxDelta

short g_2_nPaletteTransitionMaxDelta
extern

Definition at line 92 of file fade.c.

Referenced by StepPaletteTransition().

◆ g_2_nReservedDibWord

int g_2_nReservedDibWord
extern

Definition at line 127 of file dib.cpp.

◆ g_2_nWipePreviousAcrossEdge

WIPE_STATIC short g_2_nWipePreviousAcrossEdge

Definition at line 567 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_2_pCutsceneLocalsTemp

short* g_2_pCutsceneLocalsTemp
extern

Definition at line 3798 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_2_stConversationTextCtx

TextContext g_2_stConversationTextCtx
extern

Definition at line 240 of file message.c.

Referenced by InitializeConversationText().

◆ g_2_stCutsceneMessageCtxInfo

◆ g_2_stLeftwardVduPortBlock

◆ g_2_stModalSourceWindow

◆ g_2_szDibDebugScratch

char g_2_szDibDebugScratch[260]
extern

Definition at line 112 of file dib.cpp.

Referenced by MarkDibDirty().

◆ g_2_vNormalizedToTgt

FixedVector g_2_vNormalizedToTgt
extern

◆ g_2_wDigiPosition

unsigned short g_2_wDigiPosition
extern

Definition at line 279 of file speech.c.

Referenced by PlaySpeechPacketBuffer(), and SoundBlasterDspInterrupt().

◆ g_36_apTextGlyphs

◆ g_36_cPilotKillCountValue

signed char g_36_cPilotKillCountValue
extern

◆ g_36_nDibBitsEachPx

int g_36_nDibBitsEachPx
extern

Definition at line 105 of file dib.cpp.

Referenced by DIBmakeDIB().

◆ g_36_nPendingDashDamageValue

short g_36_nPendingDashDamageValue
extern

Definition at line 3790 of file cockpt.c.

Referenced by DrawPendingCockpitDamage(), and place_damage_on_cockpit().

◆ g_36_nTargetLockonMarkerY

short g_36_nTargetLockonMarkerY
extern

Definition at line 3805 of file cockpt.c.

Referenced by draw_target_box().

◆ g_36_pfnRenderSceneFontCharacterHandler

void(*) g_36_pfnRenderSceneFontCharacterHandler(char character) ( char character)
extern

Definition at line 2567 of file eventmgr.c.

Referenced by InitializeCinematicTextRenderer().

◆ g_37_nViewCenterY

◆ g_37_stPersonnelMousePointerState

◆ g_38_nDibOriginX

unsigned int g_38_nDibOriginX
extern

Definition at line 99 of file dib.cpp.

Referenced by DIBdestroyDIB(), and DIBmakeDIB().

◆ g_38_nSurfaceHeight

unsigned int g_38_nSurfaceHeight
extern

Definition at line 103 of file dib.cpp.

Referenced by DIBdestroyDIB(), DIBmakeDIB(), DIBslamReal(), and GetDIBHeight().

◆ g_39_bAltNumpadAddHotkeySwitch

int g_39_bAltNumpadAddHotkeySwitch
extern

Definition at line 1392 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_39_pCurrentCampaignDataOffset

unsigned char* g_39_pCurrentCampaignDataOffset
extern

Definition at line 2492 of file eventmgr.c.

Referenced by RunCampaignGameLoop().

◆ g_3_abColourShadow

◆ g_3_aInputEventArray

InputEvent g_3_aInputEventArray[0x100]
extern

Definition at line 2012 of file main.c.

Referenced by AllocateInputEvent(), and ReleaseInputEvent().

◆ g_3_anCurrentInputEventEntryAllocation

int g_3_anCurrentInputEventEntryAllocation[0x100]
extern

Definition at line 2557 of file eventmgr.c.

Referenced by AllocateInputEvent(), and ReleaseInputEvent().

◆ g_3_apSceneSpeechPacketsList

void* g_3_apSceneSpeechPacketsList[8]
extern

◆ g_3_apszPersonnelImportCaptionsTable

char* g_3_apszPersonnelImportCaptionsTable[8]
extern

Definition at line 3821 of file cockpt.c.

Referenced by DrawTransferredPilotRow(), and RunPilotDatabaseMenu().

◆ g_3_asControlsButton1ChangedValues

short g_3_asControlsButton1ChangedValues[2]
extern

◆ g_3_asWipeRadialLeadingEdge

WIPE_STATIC short g_3_asWipeRadialLeadingEdge[200]

Definition at line 552 of file globals.h.

Referenced by InitializeViewportWipe().

◆ g_3_bAfterburnerSfxActive

int g_3_bAfterburnerSfxActive
extern

Definition at line 3064 of file ship.c.

Referenced by ResetSoundState().

◆ g_3_bInputPollingGuard

signed char g_3_bInputPollingGuard
extern

Definition at line 245 of file input.c.

Referenced by PollJoystickButtonEvents(), and PollMenuInputDevices().

◆ g_3_cOverlayMessageView

signed char g_3_cOverlayMessageView
extern

Definition at line 3792 of file cockpt.c.

Referenced by ClearHudMessageDisplay(), ejection_sequence(), and SetHudTextColour().

◆ g_3_nAudioBlasterPortSettingValue

short g_3_nAudioBlasterPortSettingValue
extern

Definition at line 595 of file startup.c.

Referenced by LoadOriginFxDrivers(), and main().

◆ g_3_nBeginKeyboardState

WINMAIN_STATIC int g_3_nBeginKeyboardState

Definition at line 900 of file globals.h.

Referenced by PollKeyboardState().

◆ g_3_nCannedSceneWriteIndex

◆ g_3_nControllerHorizontalRange

int g_3_nControllerHorizontalRange
extern

Definition at line 68 of file joystick.c.

Referenced by CalibrateJoystickInteractive().

◆ g_3_nCutsceneTextIdx

short g_3_nCutsceneTextIdx
extern

Definition at line 3790 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_3_nEventClockScaleValue

int g_3_nEventClockScaleValue
extern

Definition at line 2565 of file eventmgr.c.

Referenced by UpdateInputDeviceTransitions().

◆ g_3_nFadeCurrentHorizontalEdge

WIPE_STATIC short g_3_nFadeCurrentHorizontalEdge

Definition at line 565 of file globals.h.

Referenced by AdvanceViewportWipe(), and FinishViewportWipe().

◆ g_3_nFlightControlCommandValue

short g_3_nFlightControlCommandValue
extern

Definition at line 76 of file joystick.c.

Referenced by InitializeSpaceFlightInput().

◆ g_3_nJoystickRawX

int g_3_nJoystickRawX
extern

Definition at line 243 of file joycal.c.

Referenced by ReadCalibratedJoystick().

◆ g_3_nOemPeriodKeyState

WINMAIN_STATIC int g_3_nOemPeriodKeyState

Definition at line 899 of file globals.h.

Referenced by PollKeyboardState().

◆ g_3_nOptionMessageColour

short g_3_nOptionMessageColour
extern

Definition at line 2001 of file main.c.

Referenced by RunGameApplication(), and RunPilotSaveLoadMenu().

◆ g_3_nReleaseWeaponShowKindWord

short g_3_nReleaseWeaponShowKindWord
extern

Definition at line 3785 of file cockpt.c.

Referenced by RemovePlayerReleaseWeapon().

◆ g_3_nSavedOwnerCursorX

int g_3_nSavedOwnerCursorX
extern

Definition at line 1404 of file winmain.c.

Referenced by MainWindowProc().

◆ g_3_nVoiceBlasterIrqSetting

short g_3_nVoiceBlasterIrqSetting
extern

Definition at line 592 of file startup.c.

Referenced by LoadOriginFxDrivers(), and main().

◆ g_3_nWipeRoundFlags

WIPE_STATIC short g_3_nWipeRoundFlags

Definition at line 574 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_3_pfnRenderSceneTextStringHandler

void(*) g_3_pfnRenderSceneTextStringHandler(char *text) ( char * text)
extern

Definition at line 2560 of file eventmgr.c.

Referenced by InitializeCinematicTextRenderer().

◆ g_3_stDashViewport

◆ g_3_stDefaultStringContext

◆ g_3_stDissolveSourceViewport

WIPE_STATIC Viewport g_3_stDissolveSourceViewport

Definition at line 572 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_3_stReleaseWeaponReadoutLocationBlock

ReleaseWeaponPosition g_3_stReleaseWeaponReadoutLocationBlock
extern

Definition at line 3784 of file cockpt.c.

Referenced by fire_computer_graphic_missile(), and RemovePlayerReleaseWeapon().

◆ g_3_szDibSlamRealDebugBuf

char g_3_szDibSlamRealDebugBuf[256]
extern

Definition at line 118 of file dib.cpp.

Referenced by DIBslamReal().

◆ g_47_asScannerBackgroundColourList

short g_47_asScannerBackgroundColourList[10]
extern

Definition at line 3817 of file cockpt.c.

Referenced by clear_head_up_display(), and draw_3d_scanner().

◆ g_47_nCutsceneMemDelta

int g_47_nCutsceneMemDelta
extern

Definition at line 3794 of file gameflow.c.

Referenced by DrawCinematicMemoryStatus(), and RunLoadedCutscene().

◆ g_48_apCommunicationTextPacketsTable

char* g_48_apCommunicationTextPacketsTable[50]
extern

Definition at line 582 of file comm.c.

Referenced by free_cockpit(), InitializeCockpitResources(), and SendCommMenuChoice().

◆ g_48_dwGameExitClockValue

unsigned int g_48_dwGameExitClockValue
extern

Definition at line 1403 of file winmain.c.

Referenced by ShutdownGameWindow(), and WinMain().

◆ g_49_nViewportOffsetY

short g_49_nViewportOffsetY
extern

◆ g_4_abCockpitLightMode

signed char g_4_abCockpitLightMode[7]
extern

Definition at line 3810 of file cockpt.c.

Referenced by draw_cockpit_lights(), and reset_cockpit().

◆ g_4_acInitialShipKillNumber

signed char g_4_acInitialShipKillNumber[8]
extern

◆ g_4_bMenuBHotkey

int g_4_bMenuBHotkey
extern

Definition at line 1400 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_4_bScreenStale

int g_4_bScreenStale
extern

Definition at line 113 of file dib.cpp.

Referenced by DIBinstall(), DIBslamReal(), and MarkDibDirty().

◆ g_4_dwSceneMusicMode

unsigned int g_4_dwSceneMusicMode
extern

Definition at line 3776 of file gameflow.c.

Referenced by ReleaseSceneMusicPacket().

◆ g_4_nCannedSceneFileOffset

◆ g_4_nCapturedInputCursorX

int g_4_nCapturedInputCursorX
extern

Definition at line 2510 of file eventmgr.c.

Referenced by CaptureMouseCursorBackground(), and RestoreMouseCursorBackground().

◆ g_4_nControllerFailureValue

int g_4_nControllerFailureValue
extern

◆ g_4_nCutsceneResourceScratchValue

short g_4_nCutsceneResourceScratchValue
extern

Definition at line 3788 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_4_nDibShowCount

int g_4_nDibShowCount
extern

Definition at line 106 of file dib.cpp.

Referenced by DIBinstall(), and DIBslamReal().

◆ g_4_nDrawnCursorX

int g_4_nDrawnCursorX
extern

◆ g_4_nJoystickMaximumXValue

int g_4_nJoystickMaximumXValue
extern

◆ g_4_nSevereDmgWarningSfxHandle

int g_4_nSevereDmgWarningSfxHandle
extern

Definition at line 3816 of file cockpt.c.

Referenced by house_keep(), ResetSoundState(), and update_lights().

◆ g_4_nTargetCameraPitchPipX

short g_4_nTargetCameraPitchPipX
extern

◆ g_4_nUnusedFrameWord

int g_4_nUnusedFrameWord
extern

Definition at line 123 of file dib.cpp.

◆ g_4_pCockpitPanelShape

unsigned char* g_4_pCockpitPanelShape
extern

Definition at line 236 of file message.c.

Referenced by draw_cockpit_lights(), and vdu_polygon().

◆ g_4_pDigiData

void* g_4_pDigiData
extern

Definition at line 1249 of file nav.c.

Referenced by PlaySpeechPacketBuffer(), and SoundBlasterDspInterrupt().

◆ g_4_pDmaBufferPointer

void* g_4_pDmaBufferPointer
extern

◆ g_4_pElapsedCampaignDatePointer

CampaignDate* g_4_pElapsedCampaignDatePointer
extern

Definition at line 255 of file hotspot.c.

Referenced by InflightComputer(), and UpdateInflightNavText().

◆ g_4_pScannerBlipUnderlayPointer

unsigned char* g_4_pScannerBlipUnderlayPointer
extern

◆ g_4_pszFilmSourceText

char* g_4_pszFilmSourceText
extern

Definition at line 3778 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_4_pszFilmWorkScratch

◆ g_4_stRightVduView

◆ g_4_szCommMenuHeadingStore

char g_4_szCommMenuHeadingStore[0x40]
extern

Definition at line 588 of file comm.c.

Referenced by BuildCommunicationCommandMenu().

◆ g_4_szSystemDebugBuffer

char g_4_szSystemDebugBuffer[256]
extern

Definition at line 11 of file console.cpp.

Referenced by SystemDebugPrintf().

◆ g_56_anStoredObjectSortedIndicesData

int g_56_anStoredObjectSortedIndicesData[SPACE_OBJECT_COUNT]
extern

Definition at line 2520 of file eventmgr.c.

Referenced by BuildObjectDepthOrder(), and draw_sorted_objects_to_buffer().

◆ g_59_nJoystickUpScaleWord

int g_59_nJoystickUpScaleWord
extern

◆ g_59_pfnEventShutdownCallback

void(*) g_59_pfnEventShutdownCallback(void) ( void )
extern

Definition at line 2558 of file eventmgr.c.

Referenced by EMStartUp().

◆ g_59_szFrameFrequencyString

char g_59_szFrameFrequencyString[32]
extern

Definition at line 98 of file dib.cpp.

Referenced by ThrottleFrameAndDrawFps().

◆ g_5_abMissionAuxBlockBytes

unsigned char g_5_abMissionAuxBlockBytes[0x28]
extern

Definition at line 250 of file hotspot.c.

Referenced by DrawNavLocationReadout(), and LoadMissionData().

◆ g_5_nBlendHeight

WIPE_STATIC short g_5_nBlendHeight

Definition at line 563 of file globals.h.

Referenced by InitializeViewportWipe().

◆ g_5_nCannedSceneFrameCount

short g_5_nCannedSceneFrameCount
extern

Definition at line 329 of file taperec.c.

Referenced by ResetCannedSceneRecording(), RunSpaceFlight(), and update_objects_in_space().

◆ g_5_nCollisionCountdownNumber

short g_5_nCollisionCountdownNumber
extern

Definition at line 1053 of file logic.c.

Referenced by detect_collisions(), and prevent_collision().

◆ g_5_nFrameTimerWaitTicksValue

volatile int g_5_nFrameTimerWaitTicksValue
extern

◆ g_5_nStorageAdjustmentKbValue

short g_5_nStorageAdjustmentKbValue
extern

Definition at line 593 of file startup.c.

Referenced by main(), and RunGameApplication().

◆ g_5_nUnusedDibWord3

int g_5_nUnusedDibWord3
extern

Definition at line 124 of file dib.cpp.

◆ g_5_nWeaponDisplayOriginXValue

short g_5_nWeaponDisplayOriginXValue
extern

◆ g_5_nWipeAcrossThreshold

WIPE_STATIC int g_5_nWipeAcrossThreshold

Definition at line 571 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_5_nWipeMinorExtent

WIPE_STATIC short g_5_nWipeMinorExtent

Definition at line 554 of file globals.h.

Referenced by InitializeViewportWipe().

◆ g_5_stLeftVduStringContextRecord

TextContext g_5_stLeftVduStringContextRecord
extern

◆ g_5_stNavLabelTextContextInfo

◆ g_66_pCabinHudImage

◆ g_68_nDamageShowTicksNumber

short g_68_nDamageShowTicksNumber
extern

Definition at line 267 of file damage.c.

Referenced by SelectCockpitVduMode(), show_damage_disp(), and UpdateDamageDisplay().

◆ g_69_aMissionObjectiveSources

MissionObjectiveSource g_69_aMissionObjectiveSources[8]
extern

Definition at line 252 of file hotspot.c.

Referenced by Build_objective_list(), LoadMissionData(), and RefreshObjectiveShipNavPoints().

◆ g_69_asCockpitDmgStateList

short g_69_asCockpitDmgStateList[4]
extern

◆ g_69_dwSysKeyValue

unsigned int g_69_dwSysKeyValue
extern

Definition at line 1382 of file winmain.c.

Referenced by GetKeyboardModifiers(), and MainWindowProc().

◆ g_6_bAltDChordState

int g_6_bAltDChordState
extern

Definition at line 1396 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_6_bCampaignFlightRunning

signed char g_6_bCampaignFlightRunning
extern

Definition at line 2530 of file eventmgr.c.

Referenced by RunCampaignGameLoop().

◆ g_6_bCurrentInputCursorBackgroundCapturedState

int g_6_bCurrentInputCursorBackgroundCapturedState
extern

◆ g_6_bMenuTHotkeySwitch

int g_6_bMenuTHotkeySwitch
extern

Definition at line 1402 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_6_bMissionWingmanState

short g_6_bMissionWingmanState
extern

◆ g_6_nHomeOperationShipIndexValue

◆ g_6_nPendingAfterburnerSfxFrame

int g_6_nPendingAfterburnerSfxFrame
extern

Definition at line 3060 of file ship.c.

Referenced by init_3Space_objects(), and your_afterburner().

◆ g_6_stConversationTextViewport

Viewport g_6_stConversationTextViewport
extern

Definition at line 227 of file message.c.

Referenced by InitializeConversationText().

◆ g_6_stHostMouseTextBlock

HostMouseMessage g_6_stHostMouseTextBlock
extern

◆ g_6_stMovieDebugTextCtx

TextContext g_6_stMovieDebugTextCtx
extern

Definition at line 3781 of file gameflow.c.

Referenced by PresentCutsceneFrame().

◆ g_6_stPersonnelMouseData

PersonnelMouseSample g_6_stPersonnelMouseData
extern

◆ g_6_szDefaultTextBufferText

◆ g_6_vTargetCameraForce

FixedVector g_6_vTargetCameraForce
extern

Definition at line 1280 of file turret.c.

Referenced by UpdateTargetCameraObject().

◆ g_6_wQueuedButtonsState

short g_6_wQueuedButtonsState
extern

Definition at line 2499 of file eventmgr.c.

Referenced by HandleFleetOverviewInput(), and player_input().

◆ g_77_abKeyboardEventStates

unsigned char g_77_abKeyboardEventStates[0x80]
extern

◆ g_78_bHighMemoryBuffersSetState

◆ g_7_asInputButton2DoubleClickValues

short g_7_asInputButton2DoubleClickValues[2]
extern

Definition at line 244 of file input.c.

Referenced by PollJoystickButtonEvents(), and UpdateInputDeviceTransitions().

◆ g_7_asShipBurstStageCountdown

short g_7_asShipBurstStageCountdown[10]
extern

Definition at line 3063 of file ship.c.

Referenced by BeginShipDestructionSequence(), Explosion(), house_keep_objects(), and vid_transmit().

◆ g_7_hAppCopy

HINSTANCE g_7_hAppCopy
extern

Definition at line 1408 of file winmain.c.

Referenced by CreateMainWindow(), and GetApplicationInstance().

◆ g_7_nExternalViewTimeout

short g_7_nExternalViewTimeout
extern

Definition at line 1726 of file spc.c.

Referenced by new_view(), and set_eye_direction_and_position().

◆ g_7_nJoystickTuningTopY

int g_7_nJoystickTuningTopY
extern

Definition at line 246 of file joycal.c.

Referenced by LoadJoystickCalibrationFile().

◆ g_7_szCockpitAssetFilenameText

char g_7_szCockpitAssetFilenameText[16]
extern

◆ g_86_nCurrentInputTickInterval

short g_86_nCurrentInputTickInterval
extern

Definition at line 2536 of file eventmgr.c.

Referenced by EMStartUp().

◆ g_88_nEventRepeatDelayState

unsigned char g_88_nEventRepeatDelayState
extern

◆ g_8_bSceneBackdropClicked

short g_8_bSceneBackdropClicked
extern

Definition at line 239 of file starfld.c.

Referenced by PollSceneHotspotInput().

◆ g_8_bUserDestroyedFlag

short g_8_bUserDestroyedFlag
extern

Definition at line 3809 of file gameflow.c.

Referenced by prepare_mission(), and ResolveObjectDestruction().

◆ g_8_nActiveInputDeviceWord

◆ g_8_nDibFlipRealCount

int g_8_nDibFlipRealCount
extern

Definition at line 114 of file dib.cpp.

Referenced by DIBslamReal().

◆ g_8_nGunDisplaySlot

◆ g_8_nMusicMemoryNeed

int g_8_nMusicMemoryNeed
extern

Definition at line 589 of file startup.c.

Referenced by LoadOriginFxDrivers().

◆ g_8_nSavedCutsceneResourceOwnerValue

short g_8_nSavedCutsceneResourceOwnerValue
extern

Definition at line 3770 of file gameflow.c.

Referenced by ReleaseCutsceneSpriteShape(), and RunCutsceneScript().

◆ g_8_nSceneRegionRightWord

short g_8_nSceneRegionRightWord
extern

◆ g_8_nScopePointerX

short g_8_nScopePointerX
extern

Definition at line 3808 of file cockpt.c.

Referenced by draw_3d_scanner(), and rotational_pos_to_scanner_pos().

◆ g_8_stCockpitExplosionPosBlock

volatile ShortPoint g_8_stCockpitExplosionPosBlock
extern

◆ g_96_nHighMemoryInitValue

short g_96_nHighMemoryInitValue
extern

Definition at line 2514 of file eventmgr.c.

Referenced by EnableHighMemoryResources().

◆ g_98_nMemConfiguration

int g_98_nMemConfiguration
extern

◆ g_9_aasCockpitHitPaletteFades

short g_9_aasCockpitHitPaletteFades[6][3]
extern

Definition at line 235 of file message.c.

Referenced by house_keep(), object_collision(), and ResetCockpitPaletteEntries().

◆ g_9_aConsoleMetersTable

CockpitReadout g_9_aConsoleMetersTable[6]
extern

Definition at line 3807 of file cockpt.c.

Referenced by DrawCockpitReadout(), and InitializeCockpitReadout().

◆ g_9_aDirectionLookRightVector

FixedVector g_9_aDirectionLookRightVector[ DIRECTION_VIEW_COUNT]
extern

Definition at line 3836 of file cockpt.c.

Referenced by get_right_shape(), and initialize_direction_view_frame().

◆ g_9_anInputButton2PushTime

int g_9_anInputButton2PushTime[2]
extern

Definition at line 238 of file input.c.

Referenced by UpdateInputDeviceTransitions().

◆ g_9_apPacketHandlesTable

void* g_9_apPacketHandlesTable[0x1000]
extern

Definition at line 147 of file memapi.c.

Referenced by IsPushedPacketHandle(), MapPacketHandleToBlock(), and PushMemoryStackFrame().

◆ g_9_asInputButton2ChangedList

short g_9_asInputButton2ChangedList[2]
extern

◆ g_9_bCinematicSpriteTextEnableStatus

signed char g_9_bCinematicSpriteTextEnableStatus
extern

◆ g_9_nNextSfx16PlaybackFrame

int g_9_nNextSfx16PlaybackFrame
extern

Definition at line 22 of file sound.c.

Referenced by playWAVE().

◆ g_9_nScannerCursorYValue

short g_9_nScannerCursorYValue
extern

Definition at line 3809 of file cockpt.c.

Referenced by draw_3d_scanner(), and rotational_pos_to_scanner_pos().

◆ g_9_nScreenMessageTimeNumber

short g_9_nScreenMessageTimeNumber
extern

◆ g_9_nStoredHighMemoryResourceSetupWord

short g_9_nStoredHighMemoryResourceSetupWord
extern

Definition at line 2540 of file eventmgr.c.

Referenced by EnableHighMemoryResources().

◆ g_9_nTargetCameraOverlayMode

int g_9_nTargetCameraOverlayMode
extern

◆ g_9_pGuardedAllocationLastRef

GuardedAllocation* g_9_pGuardedAllocationLastRef
extern

Definition at line 1388 of file winmain.c.

Referenced by AllocateGuardedMemory(), and FreeGuardedAllocation().

◆ g_9_pSnowStaticAudio

IxSound* g_9_pSnowStaticAudio
extern

Definition at line 21 of file sound.c.

Referenced by PlaySnowStaticSound(), and stop_all_sounds().

◆ g_9_pWipeRearEdges

WIPE_STATIC short* g_9_pWipeRearEdges

Definition at line 559 of file globals.h.

Referenced by AdvanceViewportWipe(), FinishViewportWipe(), and InitializeViewportWipe().

◆ g_9_stCockpitMeterPort

Viewport g_9_stCockpitMeterPort
extern

Definition at line 3833 of file cockpt.c.

Referenced by InitializeCockpitResources(), and vdu_polygon().

◆ g_9_stCutsceneTextBackingPort

◆ g_9_szStreamsPath

WINMAIN_STATIC char g_9_szStreamsPath[0x100]

Definition at line 909 of file globals.h.

Referenced by LocateStreamsDirOnDisc().

◆ g_aaFormationPositions

ShortVector g_aaFormationPositions[5][8]
extern

Definition at line 19 of file mission.c.

Referenced by set_formation_position().

◆ g_aaiVduModeStack

int g_aaiVduModeStack[3][4]
extern

Definition at line 80 of file viewrect.c.

Referenced by get_mode(), push_mode(), and set_mode().

◆ g_aasPlayerDamageSystemTable

short g_aasPlayerDamageSystemTable[5][10]
extern

Definition at line 15 of file ship.c.

Referenced by your_internal_damage().

◆ g_aasSeriesMissionTurnRate

short g_aasSeriesMissionTurnRate[1][4]
extern

◆ g_aasShipArmor

◆ g_aasShipMaximumShield

short g_aasShipMaximumShield[10][2]
extern

◆ g_aasShipShield

◆ g_abCannedSceneBufferOverflowCode

char g_abCannedSceneBufferOverflowCode[4]
extern

◆ g_abCommMenuChoiceCommand

signed char g_abCommMenuChoiceCommand[7]
extern

Definition at line 586 of file comm.c.

Referenced by AppendCommMenuChoice(), Chosen_communicate_option(), and ResetCommMenuChoices().

◆ g_abCutscenePaletteTranslation

unsigned char g_abCutscenePaletteTranslation[256]
extern

Definition at line 3708 of file gameflow.c.

Referenced by ClearCutsceneViewport(), and RunCutsceneScript().

◆ g_abDamageDisplayFrames

unsigned char g_abDamageDisplayFrames[9]
extern

Definition at line 24 of file damage.c.

Referenced by UpdateDamageDisplay().

◆ g_abDiskPromptDriveState

unsigned char g_abDiskPromptDriveState[2]
extern

◆ g_abFlightPath

◆ g_abGifInterlaceRowStarts

const unsigned char g_abGifInterlaceRowStarts[5]
extern

◆ g_abGifInterlaceRowSteps

const unsigned char g_abGifInterlaceRowSteps[5]
extern

◆ g_abGifLZWCodeMasks

const unsigned char g_abGifLZWCodeMasks[9]
extern

◆ g_abGunDisplayConfiguration

◆ g_abHazardObjects

signed char g_abHazardObjects[0x14]
extern

Definition at line 62 of file viewrect.c.

Referenced by remove_all_hazards(), remove_object(), start_hazard_field(), and update_hazards().

◆ g_abIffBmhdChunkId

const unsigned char g_abIffBmhdChunkId[4]
extern

◆ g_abIffBodyChunkId

const unsigned char g_abIffBodyChunkId[4]
extern

◆ g_abIffCmapChunkId

const unsigned char g_abIffCmapChunkId[4]
extern

◆ g_abInputCursorBehind

◆ g_abLegacyVideoModeColours

unsigned char g_abLegacyVideoModeColours[14]
extern

Definition at line 560 of file startup.c.

Referenced by LoadGamePaletteFile().

◆ g_abManeuverRerollChance

unsigned char g_abManeuverRerollChance[50]
extern

Definition at line 10 of file fl.c.

◆ g_abMissionBriefingData

unsigned char g_abMissionBriefingData[0xde]
extern

Definition at line 256 of file hotspot.c.

Referenced by DrawNavMapBriefingBeacons(), and LoadMissionData().

◆ g_abObjectShapeOwned

int g_abObjectShapeOwned[SPACE_OBJECT_COUNT]
extern

Definition at line 559 of file geom.c.

Referenced by get_right_shape().

◆ g_abPaletteTranslation

unsigned char g_abPaletteTranslation[256]
extern

Definition at line 12 of file gr.c.

Referenced by DrawFontGlyph().

◆ g_abPilotEjectionAttempted

signed char g_abPilotEjectionAttempted[16]
extern

Definition at line 188 of file viewrect.c.

Referenced by ResolveObjectDestruction(), and Set_up_ship_info().

◆ g_abProjectileCollisionBonus

signed char g_abProjectileCollisionBonus[ SPACE_OBJECT_COUNT]
extern

Definition at line 184 of file viewrect.c.

Referenced by FireTargetCameraGuns(), object_collision(), and set_objects_data().

◆ g_abRasterDecodeBuffer

unsigned char g_abRasterDecodeBuffer[0xd00]
extern

◆ g_abRasterFadeAccumulator

unsigned char g_abRasterFadeAccumulator[0x300]
extern

◆ g_abRasterPaletteTranslation

unsigned char g_abRasterPaletteTranslation[256]
extern

◆ g_abRasterPaletteUsageScratch

unsigned char g_abRasterPaletteUsageScratch[0x300]
extern

◆ g_abSeriesAuxData

unsigned char g_abSeriesAuxData[0x28]
extern

Definition at line 251 of file hotspot.c.

Referenced by DrawNavLocationReadout(), and LoadMissionData().

◆ g_abShapeTransformScratch

GR_STATIC unsigned char g_abShapeTransformScratch[0xfa00]

Definition at line 993 of file globals.h.

Referenced by DrawSpriteTransformed().

◆ g_abShipEjectionSequenceEnabled

signed char g_abShipEjectionSequenceEnabled[12]
extern

◆ g_abShipNavPointIndex

◆ g_abShipTurn

signed char g_abShipTurn[16]
extern

◆ g_abSolidColourTranslation

GR_STATIC unsigned char g_abSolidColourTranslation[256]

Definition at line 995 of file globals.h.

Referenced by SetSolidColourTranslation().

◆ g_abSoundEffectDefinitions

unsigned char g_abSoundEffectDefinitions[0x1b8]
extern

Definition at line 547 of file music.c.

Referenced by malf_sound(), servicetrack(), and sound_effect().

◆ g_abTaggedAllocationPrefix

unsigned char g_abTaggedAllocationPrefix[8]
extern

Definition at line 8 of file optmenu.c.

Referenced by AllocateTaggedMemory().

◆ g_acCockpitLightOffFrame

signed char g_acCockpitLightOffFrame[7]
extern

Definition at line 17 of file cockpt.c.

Referenced by draw_cockpit_lights(), and InitializeCockpitResources().

◆ g_acCockpitLightOnFrame

signed char g_acCockpitLightOnFrame[7]
extern

Definition at line 18 of file cockpt.c.

Referenced by draw_cockpit_lights(), and InitializeCockpitResources().

◆ g_acCutsceneMouthDurations

signed char g_acCutsceneMouthDurations[128]
extern

Definition at line 3741 of file gameflow.c.

Referenced by AnimateCutsceneSpeakerMouth().

◆ g_acCutsceneMouthFrames

signed char g_acCutsceneMouthFrames[128]
extern

Definition at line 3731 of file gameflow.c.

Referenced by AnimateCutsceneSpeakerMouth().

◆ g_acDirectionShapeFlip

signed char g_acDirectionShapeFlip[ DIRECTION_VIEW_COUNT *DIRECTION_SHAPE_TABLE_COUNT]
extern

Definition at line 2462 of file eventmgr.c.

Referenced by get_right_shape().

◆ g_acDirectionShapeFrame

signed char g_acDirectionShapeFrame[ DIRECTION_VIEW_COUNT *DIRECTION_SHAPE_TABLE_COUNT]
extern

Definition at line 2443 of file eventmgr.c.

Referenced by get_right_shape().

◆ g_acExpectedGraphicsModes

signed char g_acExpectedGraphicsModes[5]
extern

Definition at line 10 of file joycal.c.

Referenced by LoadOriginFxDrivers().

◆ g_acGunRefireDelay

signed char g_acGunRefireDelay[4]
extern

Definition at line 54 of file ship.c.

Referenced by fire_weapon(), and FireTargetCameraGuns().

◆ g_acJumpDriveUsedBySystem

signed char g_acJumpDriveUsedBySystem[5]
extern

Definition at line 295 of file jump.c.

Referenced by init_mission(), and TryBeginStarSystemJump().

◆ g_acLastCollisionObject

signed char g_acLastCollisionObject[SPACE_OBJECT_COUNT]
extern

Definition at line 123 of file viewrect.c.

Referenced by ApplyAlternateShipType(), object_collision(), and set_objects_data().

◆ g_acMissionShipStatusFlagsBytes

signed char g_acMissionShipStatusFlagsBytes[8]
extern

◆ g_acMusicResourcePresent

signed char g_acMusicResourcePresent[66]
extern

Definition at line 573 of file startup.c.

Referenced by InitializeMusicResources().

◆ g_acObjectAnimationDelay

signed char g_acObjectAnimationDelay[ SPACE_OBJECT_COUNT]
extern

Definition at line 112 of file viewrect.c.

Referenced by animate_shape(), and set_objects_data().

◆ g_acObjectCollisionGraceTicks

signed char g_acObjectCollisionGraceTicks[ SPACE_OBJECT_COUNT]
extern

Definition at line 113 of file viewrect.c.

Referenced by fire_weapon(), house_keep_objects(), init_hazard(), and object_collision().

◆ g_acObjectOwner

◆ g_acObjectType

◆ g_aCockpitBarDefinitions

CockpitBarDefinition g_aCockpitBarDefinitions[8]
extern

Definition at line 19 of file cockpt.c.

Referenced by InitializeCockpitResources(), and vdu_polygon().

◆ g_aCockpitCommonShapeResources

PacketResourceDescriptor g_aCockpitCommonShapeResources[5]
extern

Definition at line 1031 of file fltsetup.c.

Referenced by free_cockpit(), and InitializeCockpitResources().

◆ g_aCockpitDamagePositions

ShortPoint g_aCockpitDamagePositions[4]
extern

◆ g_aCockpitReadoutOrigins

ShortPoint g_aCockpitReadoutOrigins[4]
extern

Definition at line 20 of file cockpt.c.

Referenced by InitializeCockpitResources().

◆ g_aCockpitShipShapeResources

PacketResourceDescriptor g_aCockpitShipShapeResources[8]
extern

Definition at line 1038 of file fltsetup.c.

Referenced by free_cockpit(), and InitializeCockpitResources().

◆ g_aCockpitViewShapeResources

PacketResourceDescriptor g_aCockpitViewShapeResources[5]
extern

Definition at line 1048 of file fltsetup.c.

Referenced by free_cockpit(), and InitializeCockpitResources().

◆ g_aCommon3SpaceResources

PacketResourceDescriptor g_aCommon3SpaceResources[11]
extern

◆ g_aConstellationParticlesTable

ConstellationParticle g_aConstellationParticlesTable[18]
extern

Definition at line 236 of file starfld.c.

Referenced by DrawConstellationField(), and InitializeConstellationField().

◆ g_acPilotAggression

signed char g_acPilotAggression[8]
extern

Definition at line 30 of file smart.c.

Referenced by handle_stress(), and reset_stress().

◆ g_acPilotHitPoints

signed char g_acPilotHitPoints[16]
extern

Definition at line 158 of file viewrect.c.

Referenced by ApplyAlternateShipType(), pilot_hit(), and set_objects_data().

◆ g_acPilotRecovery

signed char g_acPilotRecovery[8]
extern

Definition at line 33 of file smart.c.

Referenced by handle_stress().

◆ g_acPlayerComponentDamage

◆ g_acShipAlertSource

signed char g_acShipAlertSource[12]
extern

Definition at line 173 of file viewrect.c.

Referenced by clear_alert(), prevent_collision(), and start_collision_alert().

◆ g_acShipCollisionCooldown

signed char g_acShipCollisionCooldown[16]
extern

◆ g_acShipCommunicator

signed char g_acShipCommunicator[16]
extern

◆ g_acShipComputerDamage

signed char g_acShipComputerDamage[16]
extern

Definition at line 146 of file viewrect.c.

Referenced by internal_damage(), Set_up_ship_info(), and your_internal_damage().

◆ g_acShipDamage

◆ g_acShipExhaustHeat

signed char g_acShipExhaustHeat[16]
extern

◆ g_acShipIonDriveDamage

signed char g_acShipIonDriveDamage[16]
extern

◆ g_acShipLastAttacker

signed char g_acShipLastAttacker[16]
extern

◆ g_acShipList

signed char g_acShipList[16]
extern

◆ g_acShipNavPoint

signed char g_acShipNavPoint[12]
extern

◆ g_acShipPendingMessage

signed char g_acShipPendingMessage[16]
extern

◆ g_acShipPortrait

◆ g_acShipSequence

◆ g_acShipStress

signed char g_acShipStress[16]
extern

◆ g_acShipTarget

signed char g_acShipTarget[16]
extern

Definition at line 167 of file viewrect.c.

Referenced by ApplyAlternateShipType(), approach_and_engage(), attacker_in_range(), build_target_list(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), call_enemy(), capital_ship_intelligence(), capital_ship_strike_mission(), chaff_intelligence(), chase_speed(), check_destroy_target(), check_engage_target(), check_target(), Chosen_communicate_option(), clean_up_cockpit(), ClearTargetCameraView(), CountAlliesOnSameTarget(), cruise_to_destination(), cycle_onscreen_targets(), defend_mission(), destroyer_intelligence(), detect_enemy_tail(), draw_3d_scanner(), DrawTargetRangeReadout(), engage(), FF_missile_intelligence(), find_child_ship(), FindMissileTargetingObject(), FindNearestMissileTargetingObject(), fire_missile(), fire_players_lasers(), fire_turrets(), fire_weapon(), formation_break(), formation_burst(), get_color(), HandleSpaceFlightControls(), have_target(), heat_seeking_missile_intelligence(), house_keep_objects(), in_danger(), inflict_damage(), intelligence_events(), is_ship_tailing_player_target(), kilrathi_wingman(), launch_carrier_fighter(), maneuvering(), Mkill_missile(), Mturn_n_kick(), new_view(), object_intelligence(), overlay_head_up_display(), patrol_area(), perform_maneuver(), pick_regular_maneuver(), process_maneuver_node(), ProcessCannedSceneInput(), request(), reset_tactic(), RestoreTransientCockpitGraphics(), SaveTorpedoTargetLockForViewChange(), scan_and_lock(), select_target(), set_eye_direction_and_position(), set_objects_data(), show_target_disp(), SpawnCapitalFlakProjectile(), SpawnFlakBurst(), stationary_intelligence(), tanker_intelligence(), target_within_range(), ToggleTargetCameraOverlay(), ToggleTargetCameraTracking(), and UpdateTargetLeadIndicator().

◆ g_acTurnInterval

signed char g_acTurnInterval[16]
extern

Definition at line 143 of file viewrect.c.

Referenced by find_next_ship_turn_slot(), and regulate_turn().

◆ g_acTurnRegulator

signed char g_acTurnRegulator[16]
extern

Definition at line 142 of file viewrect.c.

Referenced by find_next_ship_turn_slot(), and regulate_turn().

◆ g_acVduModeStackDepth

signed char g_acVduModeStackDepth[2]
extern

Definition at line 81 of file viewrect.c.

Referenced by get_mode(), GetVduModeStackDepth(), pop_mode(), push_mode(), and set_mode().

◆ g_acViableTarget

◆ g_aDamageDisplayPositions

ShortPoint g_aDamageDisplayPositions[9]
extern

Definition at line 9 of file damage.c.

Referenced by UpdateDamageDisplay().

◆ g_aDefaultWeaponDisplayPositions

ShortPoint g_aDefaultWeaponDisplayPositions[16]
extern

Definition at line 28 of file cockpt.c.

Referenced by InitializeCockpitResources(), and ResetWeaponDisplayPositions().

◆ g_aDefenseManeuversAce

signed char g_aDefenseManeuversAce[16]
extern

Definition at line 17 of file smart.c.

◆ g_aDefenseManeuversBoss

signed char g_aDefenseManeuversBoss[16]
extern

Definition at line 20 of file smart.c.

◆ g_aDefenseManeuversElite

signed char g_aDefenseManeuversElite[16]
extern

Definition at line 14 of file smart.c.

◆ g_aDefenseManeuversNovice

signed char g_aDefenseManeuversNovice[8]
extern

Definition at line 8 of file smart.c.

◆ g_aDefenseManeuversVeteran

signed char g_aDefenseManeuversVeteran[8]
extern

Definition at line 11 of file smart.c.

◆ g_aeObjectClass

short g_aeObjectClass[SPACE_OBJECT_COUNT]
extern

Definition at line 125 of file viewrect.c.

Referenced by accelerate_and_move_object(), animate_object(), any_enemy(), apply_force_to_object(), ApplyAlternateShipType(), approach_and_engage(), attacker_in_range(), auto_pilot_sequence(), auto_pilot_valid(), borrow_dust(), build_target_list(), build_your_target_list(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), call_enemy(), CanPlayerLand(), CanShipWeaponDamageTarget(), capital_ship_strike_mission(), chaff_intelligence(), check_destroy_target(), check_for_collision(), check_for_lost_control(), check_futurion(), check_next_wave(), ClearTransientObjectsForEjection(), coming_home(), CompleteStarSystemJump(), CountAlliesOnSameTarget(), CountEnemyFighters(), CountShipProjectiles(), crash_time(), Create_explosion_debris(), cruise_home(), detect_collisions(), detect_enemy_tail(), draw_3d_scanner(), draw_nav_pointer(), draw_sorted_objects_to_buffer(), DrawSpaceSceneFrame(), DrawTargetRangeReadout(), enemy_within_range(), evaluate_damage(), Explosion(), explosion_shock_wave(), extra_hazard(), FF_missile_intelligence(), find_child_object(), find_child_ship(), find_next_ship_turn_slot(), find_ship_index(), find_vacant_3d_object(), FindMissileTargetingObject(), FindNearestMissileTargetingObject(), fire(), fire_turrets(), fire_weapon(), free_ship(), futurion_intelligence(), generate_stars(), get_color(), get_right_shape(), get_ship_max_velocity(), get_ship_slot(), GetCannedSceneObjectMode(), GetShipAccelerationRate(), HandleSpaceFlightControls(), has_opposing_ship(), HasShipActiveMissile(), heat_seeking_missile_intelligence(), house_keep_objects(), in_danger(), inflict_damage(), inherit_leader(), inherit_leader_mission(), init_intelligence_data(), InitializeConstellationObject(), intelligence_events(), internal_damage(), intro_drawbackgroundships(), is_any_ship_returning_to_current_nav_point(), IsCapitalShipObject(), kilrathi_near(), launch_carrier_fighter(), load_ship(), mine_intelligence(), Mstrafe_enemy(), Mturn_n_kick(), npc_communication(), object_collision(), object_intelligence(), overlay_head_up_display(), pick_regular_maneuver(), place_exhaust_on_ships(), ProcessEnemyWaveCompletion(), regulate_turn(), release_all_capital_ship_shapes(), remove_object(), report_kilrathi_rout(), reposition_fixed_child_objects(), request(), ResolveObjectDestruction(), room_for_me(), rotate_object_to_goal(), rotational_acceleration(), scan_for_enemy(), score_for_kill(), SelectNextExternalViewObject(), send_appropriate_message(), send_message(), servicetrack(), set_eye_direction_and_position(), set_objects_data(), set_up_action_sphere(), SetFleetOverviewView(), ShipExplosion(), show_target_disp(), stationary_intelligence(), strike_mission(), transform_objects_to_your_view(), try2rout(), TryBeginStarSystemJump(), unactive(), update_objects_in_space(), update_star_field(), UpdateShipTurretGuns(), and your_internal_damage().

◆ g_aeShipHitDebrisTypes

short g_aeShipHitDebrisTypes[4]
extern

Definition at line 48 of file ship.c.

Referenced by Create_ship_hit_debris().

◆ g_aeShipObjective

◆ g_aeSpecialManeuver

◆ g_aFuneralParticles

ShortPoint g_aFuneralParticles[7]
extern

◆ g_aHazardFields

HazardField g_aHazardFields[8]
extern

Definition at line 59 of file viewrect.c.

Referenced by add_hazard_field(), check_hazards(), and start_hazard_field().

◆ g_aHighMemoryCockpitResources

PacketResourceDescriptor g_aHighMemoryCockpitResources[5]
extern

Definition at line 1024 of file fltsetup.c.

Referenced by LoadSpaceflightResources().

◆ g_aHighScoreEntries

HighScoreEntry g_aHighScoreEntries[6]
extern

◆ g_aiForwardScannerGridRows

int g_aiForwardScannerGridRows[78]
extern

Definition at line 55 of file cockpt.c.

Referenced by draw_3d_scanner().

◆ g_aInputDeviceSamplesList

◆ g_aiPacketHandleOffsets

int g_aiPacketHandleOffsets[0x1000]
extern

Definition at line 148 of file memapi.c.

Referenced by IsPushedPacketHandle(), MapPacketHandleToBlock(), and PushMemoryStackFrame().

◆ g_aiSoundEffectSourceActiveValue

int g_aiSoundEffectSourceActiveValue[SPACE_OBJECT_COUNT]
extern

Definition at line 607 of file music.c.

Referenced by PlaySfxWaveFileByNumber().

◆ g_aiTargetCameraScannerGridRows

int g_aiTargetCameraScannerGridRows[50]
extern

Definition at line 77 of file cockpt.c.

Referenced by draw_3d_scanner().

◆ g_aMissionNavPoints

◆ g_aMissionObjectives

◆ g_aMissionResourceDescriptors

PacketResourceDescriptor g_aMissionResourceDescriptors[8]
extern

Definition at line 1014 of file fltsetup.c.

Referenced by free_3Space(), init_mission(), and LoadSpaceflightResources().

◆ g_aMissionShips

◆ g_aNavMapExclusionRects

NAV_STATIC ShortRect g_aNavMapExclusionRects[20]

Definition at line 1615 of file globals.h.

Referenced by NavMapPointInsideReservedArea(), and ReserveNavMapArea().

◆ g_aNavMapObjectiveStyles

NavMapObjectiveStyle g_aNavMapObjectiveStyles[12]
extern

Definition at line 12 of file nav.c.

Referenced by BuildMap().

◆ g_anCloakVisibilityPattern

int g_anCloakVisibilityPattern[20]
extern

Definition at line 555 of file geom.c.

Referenced by show_target_disp(), and transform_objects_to_your_view().

◆ g_anControlsButton1PressTime

int g_anControlsButton1PressTime[2]
extern

Definition at line 243 of file input.c.

Referenced by UpdateInputDeviceTransitions().

◆ g_anFlightInput

short g_anFlightInput[3]
extern

◆ g_anLastDrawnVduMode

int g_anLastDrawnVduMode[3]
extern

Definition at line 82 of file viewrect.c.

Referenced by init_vdus(), InvalidateVduMode(), set_new_vdu(), and update_vid_disp().

◆ g_anObjectPitchRotation

◆ g_anObjectRollRotation

◆ g_anObjectYawRotation

◆ g_anPilotTurnInterval

short g_anPilotTurnInterval[8]
extern

Definition at line 47 of file mission.c.

Referenced by find_next_ship_turn_slot().

◆ g_anPitchGoal

◆ g_anPreviousFlightInput

short g_anPreviousFlightInput[3]
extern

Definition at line 51 of file viewrect.c.

Referenced by player_input().

◆ g_anRLEQuarterCosine

const int g_anRLEQuarterCosine[901]
extern

◆ g_anRLESourceSteps

int g_anRLESourceSteps[4]
extern

◆ g_anRollGoal

◆ g_anShipAlertFlags

unsigned int g_anShipAlertFlags[10]
extern

Definition at line 172 of file viewrect.c.

Referenced by alert_flag(), clear_alert(), and set_alert().

◆ g_anShipCloakState

◆ g_anShipFuel

◆ g_anShipSpeed

◆ g_anVolumeLevels

int g_anVolumeLevels[11]
extern

Definition at line 1930 of file main.c.

Referenced by HandleSpaceFlightControls().

◆ g_anYawGoal

◆ g_aObjectResourceSlots

◆ g_aObjectTypeData

ObjectTypeData g_aObjectTypeData[OBJECT_DATA_COUNT]
extern

Definition at line 310 of file campglob.c.

Referenced by accelerate_and_move_object(), animate_object(), animate_shape(), any_selected(), apply_force_to_object(), apply_force_to_objects_center(), ApplyAlternateShipType(), approach_cruise_speed(), approach_half_speed(), auto_pilot_sequence(), BeginShipDestructionSequence(), BuildCommunicationCommandMenu(), calculate_damage_level(), capital_ship_strike_mission(), check_for_lost_control(), check_message(), ClearTransientObjectsForEjection(), CompleteStarSystemJump(), Create_explosion_debris(), death_sequence(), evaluate_damage(), Explosion(), find_next_gun(), fire(), fire_fixed_projectile_weapon(), fire_flack(), fire_missile(), fire_weapon(), FireTargetCameraGuns(), free_3Space_objects(), free_cockpit(), free_ship(), get_right_shape(), get_ship_max_velocity(), GetShipAccelerationRate(), HasInRangeGunForTargetLead(), house_keep_objects(), inflict_damage(), init_intelligence_data(), initialize_cockpit(), InitializeCockpitResources(), InitializeShipWeaponTypeIndices(), internal_damage(), IsOnlyShipGun(), launch_carrier_fighter(), load_all_slots(), load_common_3Space_objects(), load_ship(), LoadAlternateShipType(), LoadSpaceflightResources(), Mfish_hook(), mine_intelligence(), object_collision(), overlay_head_up_display(), players_flight_dynamics(), release_capital_ship_shapes(), remove_weapon(), repair_internal_damage(), replenish_shields(), revise_shields(), rotate_object_to_goal(), rotational_acceleration(), RunCutsceneScript(), select_guns(), select_new_release_weapon(), set_objects_data(), set_up_action_sphere(), Set_up_ship_info(), show_target_disp(), show_weapon_disp(), SpawnCapitalFlakProjectile(), SpawnFlakBurst(), SpawnMissionEjectionPod(), ToggleTargetCameraTracking(), unwarp(), update_bars(), update_lights(), UpdateShipTurretGuns(), UpdateTargetLeadIndicator(), and your_internal_damage().

◆ g_aObjectViewPosition

FixedVector g_aObjectViewPosition[SPACE_OBJECT_COUNT]
extern

◆ g_apCockpitVduOverlayShapes

unsigned char* g_apCockpitVduOverlayShapes[2]
extern

◆ g_apCutscenePlanes

◆ g_apCutsceneScenes

◆ g_apCutsceneSequences

◆ g_apCutsceneSpriteHandlers

void(* g_apCutsceneSpriteHandlers[1])(SceneFlicObject *sprite) ( SceneFlicObject * sprite)
extern

Definition at line 3691 of file gameflow.c.

Referenced by DispatchCutsceneSpriteHandler().

◆ g_apDefenseManeuvers

signed char* g_apDefenseManeuvers[5]
extern

Definition at line 23 of file smart.c.

Referenced by any_defense().

◆ g_aPilotRecords

PilotRecord g_aPilotRecords[9]
extern

◆ g_apManeuverHandlers

void(* g_apManeuverHandlers[50])(short, short) ( short ,
short  )
extern

Definition at line 18 of file fl.c.

Referenced by perform_maneuver().

◆ g_apObjectExhaustShape

unsigned char* g_apObjectExhaustShape[10]
extern

◆ g_apObjectShape

◆ g_apPacketReferenceGroups

void** g_apPacketReferenceGroups[5]
extern

Definition at line 10 of file mission.c.

Referenced by free_ship(), get_right_shape(), load_ship(), and ReleasePacketHandle().

◆ g_apRasterDriverCallbacks

void* g_apRasterDriverCallbacks[13]
extern

◆ g_apRecRoomTextData

unsigned char* g_apRecRoomTextData[3]
extern

◆ g_apSceneObjects

◆ g_apShipMissionRecord

◆ g_apszComponentNames

const char* g_apszComponentNames[9]
extern

Definition at line 13 of file damage.c.

Referenced by damage_your_component(), ReportComponentRepaired(), and UpdateDamageDisplay().

◆ g_apszCutsceneObjectTypeNames

const char* g_apszCutsceneObjectTypeNames[4]
extern

Definition at line 19 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_apszDamageSeverityNames

const char* g_apszDamageSeverityNames[5]
extern

Definition at line 27 of file damage.c.

Referenced by UpdateDamageDisplay().

◆ g_apszPilotRankNames

const char* g_apszPilotRankNames[5]
extern

Definition at line 11 of file personnel.c.

Referenced by DrawPersonnelFileSlot(), and ExpandCommMessageTokens().

◆ g_apszSaveGameFileNames

const char* g_apszSaveGameFileNames[3]
extern

Definition at line 40 of file personnel.c.

Referenced by LocateLegacySaveGame().

◆ g_apszShipMissionTypeNames

char* g_apszShipMissionTypeNames[14]
extern

Definition at line 44 of file nav.c.

Referenced by DrawNavLocationReadout().

◆ g_apszShortPilotRankNames

const char* g_apszShortPilotRankNames[5]
extern

Definition at line 18 of file personnel.c.

Referenced by DrawPersonnelFileSlot(), and RunPilotDatabaseMenu().

◆ g_apViewportAllocations

unsigned char* g_apViewportAllocations[128]
extern

Definition at line 52 of file vpfree.c.

Referenced by AllocateViewport(), free_viewport(), and ValidateViewportBounds().

◆ g_apWingmanPilots

PilotRecord* g_apWingmanPilots[8]
extern

◆ g_aRLETransformVertices

RLETransformVertex g_aRLETransformVertices[4]
extern

◆ g_asActionCount

short g_asActionCount[12]
extern

Definition at line 140 of file viewrect.c.

Referenced by futurion_intelligence(), and Set_up_ship_info().

◆ g_asAimCameraYawIndicatorBackground

short g_asAimCameraYawIndicatorBackground[3]
extern

◆ g_asCapitalHitDamageStepTable

short g_asCapitalHitDamageStepTable[10]
extern

Definition at line 1465 of file mission.c.

Referenced by internal_damage(), and Set_up_ship_info().

◆ g_aSceneFlicCopyTable

SceneFlicCacheEntry g_aSceneFlicCopyTable[15]
extern

Definition at line 3782 of file gameflow.c.

Referenced by AdvanceSceneFlicStream(), and ReleaseSceneFlicPackets().

◆ g_asCockpitLightX

short g_asCockpitLightX[7]
extern

Definition at line 15 of file cockpt.c.

Referenced by draw_cockpit_lights(), and InitializeCockpitResources().

◆ g_asCockpitLightY

short g_asCockpitLightY[7]
extern

Definition at line 16 of file cockpt.c.

Referenced by draw_cockpit_lights(), and InitializeCockpitResources().

◆ g_asConstellationFrame

short g_asConstellationFrame[16]
extern

Definition at line 11 of file starfld.c.

Referenced by DrawConstellationField(), and InitializeConstellationField().

◆ g_asConstellationObjectIndices

short g_asConstellationObjectIndices[4]
extern

Definition at line 1056 of file fltsetup.c.

Referenced by free_constellation(), and init_constellation().

◆ g_asConstellationVelocity

short g_asConstellationVelocity[16]
extern

Definition at line 8 of file starfld.c.

Referenced by DrawConstellationField(), and InitializeConstellationField().

◆ g_asControlsButton1DoubleClickTable

short g_asControlsButton1DoubleClickTable[2]
extern

◆ g_aScreenViewportGeometry

ScreenViewportGeometry g_aScreenViewportGeometry[7]
extern

Definition at line 2434 of file eventmgr.c.

Referenced by set_up_screen_viewport().

◆ g_asDifficultyLevels

short g_asDifficultyLevels[16][4]
extern

Definition at line 23 of file viewrect.c.

Referenced by GetAdaptiveTurnRate(), and init_mission().

◆ g_aShipDestination

◆ g_aShipFormationOffset

ShortVector g_aShipFormationOffset[10]
extern

Definition at line 129 of file viewrect.c.

Referenced by auto_position(), maintain_formation(), and set_formation_position().

◆ g_aShipForwardVector

◆ g_aShipIntelligenceData

unsigned char g_aShipIntelligenceData[5][0x51]
extern

◆ g_aShipMissionSpot

◆ g_aShipPosition

FixedVector g_aShipPosition[SPACE_OBJECT_COUNT]
extern

Definition at line 108 of file viewrect.c.

Referenced by accelerate_and_move_object(), animate_object(), ApplyCannedSceneObjectEventRecord(), approach(), auto_pilot_sequence(), auto_position(), BuildMap(), capital_ship_strike_mission(), check_for_collision(), check_hazards(), child_object(), CompleteStarSystemJump(), ComputePointAheadOfObject(), ComputePointBehindObject(), Create_explosion_debris(), Create_ship_hit_debris(), distance_from_object(), distance_from_point(), draw_3d_scanner(), draw_nav_pointer(), DrawNavLocationReadout(), DrawNavPlayerMarker(), explosion_shock_wave(), facing_to_object(), find_squad_center(), fire(), fire_turrets(), fire_weapon(), FireTargetCameraGuns(), generate_stars(), get_facing_range_from_object(), get_follow_point(), GetShipDistanceToNavPoint(), goto_formation(), HandleCannedSceneBufferBoundary(), imperial_formation(), init_formation_burst(), init_hazard(), init_ship(), initialize_object(), InitializeConstellationObject(), kilrathi_near(), launch_carrier_fighter(), locate_ship(), look_at(), make_shard(), match_ship_to_eye(), Mline_up_drop(), Msit_n_spin(), Mtry2tail(), new_view(), object_collision(), offset_location(), ok_hazard_spot(), onboard_explosion(), place_ship_near_player_until_valid(), PlaySfxWaveFileByNumber(), point_at(), point_capital_ship_at_object(), point_perpendicular(), point_ship_at_object(), point_ship_at_point(), point_ship_behind_object(), point_ship_below_object(), position_child(), position_relative_ijk(), prevent_collision(), real_crash_time(), RecordCannedSceneObjectEvent(), room_for_me(), scan_for_enemy(), send_at_point(), servicetrack(), set_eye_direction_and_position(), set_formation_position(), set_objective_range(), Set_up_ship_info(), SetFleetOverviewView(), SetScale(), SetTargetCameraEyePosition(), ShipExplosion(), ships_within_range(), sound_effect(), SpawnCapitalFlakProjectile(), SpawnFlakBurst(), start_dust(), steer_away_from_object(), steer_away_from_predicted_object(), ToggleTargetCameraTracking(), transform_objects_to_your_view(), try_far_spot(), unwarp(), update_objective_location(), update_objects_in_space(), update_star_field(), UpdateShipTurretGuns(), UpdateTargetCameraObject(), UpdateTargetLeadIndicator(), and warp().

◆ g_aShipRightVector

◆ g_aShipUpVector

◆ g_aShipVelocity

◆ g_aShipWeapons

◆ g_asIntelligenceEvent

short g_asIntelligenceEvent[12]
extern

◆ g_asLoadedShipViewFrame

◆ g_asMissileProximityFuseValues

short g_asMissileProximityFuseValues[16]
extern

Definition at line 3068 of file ship.c.

Referenced by explosion_shock_wave(), fire_turrets(), fire_weapon(), and house_keep_objects().

◆ g_asMousePitchThresholds

short g_asMousePitchThresholds[6]
extern

Definition at line 1969 of file main.c.

Referenced by player_input().

◆ g_asMouseYawThresholds

short g_asMouseYawThresholds[6]
extern

Definition at line 1966 of file main.c.

Referenced by player_input().

◆ g_asObjectAnimationIndex

short g_asObjectAnimationIndex[SPACE_OBJECT_COUNT]
extern

Definition at line 111 of file viewrect.c.

Referenced by animate_shape(), house_keep_objects(), and set_objects_data().

◆ g_asObjectCollisionRadius

◆ g_asObjectCounter

◆ g_asObjectDamage

◆ g_asObjectDistance

◆ g_asObjectDrawX

short g_asObjectDrawX[SPACE_OBJECT_COUNT]
extern

Definition at line 98 of file viewrect.c.

Referenced by draw_sorted_objects_to_buffer(), and intro_drawbackgroundships().

◆ g_asObjectDrawY

short g_asObjectDrawY[SPACE_OBJECT_COUNT]
extern

Definition at line 99 of file viewrect.c.

Referenced by draw_sorted_objects_to_buffer(), and intro_drawbackgroundships().

◆ g_asObjectFlip

◆ g_asObjectScale

◆ g_asObjectScreenAngle

◆ g_asObjectScreenScale

◆ g_asObjectScreenX

◆ g_asObjectScreenY

◆ g_asObjectType

◆ g_asObjectViewFrame

◆ g_aSpaceExplosionFlashPalette

short g_aSpaceExplosionFlashPalette[13][3]
extern

Definition at line 1977 of file main.c.

Referenced by DrawSpaceSceneFrame(), and house_keep_objects().

◆ g_asPilotHandOffsets

short g_asPilotHandOffsets[34]
extern

Definition at line 35 of file cockpt.c.

Referenced by DrawPilotHandFrame(), and DrawUnreferencedPilotHandFrame().

◆ g_asPilotLevel

◆ g_asPlayerHitsCreditValues

short g_asPlayerHitsCreditValues[10]
extern

◆ g_asProjectileEvasionTicks

short g_asProjectileEvasionTicks[8]
extern

◆ g_asShipAfterburnerTimer

short g_asShipAfterburnerTimer[10]
extern

◆ g_asShipAlertCountdown

short g_asShipAlertCountdown[12]
extern

Definition at line 174 of file viewrect.c.

Referenced by clear_alert(), start_collision_alert(), and try2end_collision_alert().

◆ g_asShipCloakCooldown

short g_asShipCloakCooldown[10]
extern

◆ g_asShipCloakElapsedFrames

◆ g_asShipCount

◆ g_asShipFriendlyFireCooldown

short g_asShipFriendlyFireCooldown[10]
extern

Definition at line 183 of file viewrect.c.

Referenced by fire(), house_keep_objects(), inflict_damage(), and Set_up_ship_info().

◆ g_asShipIdentified

◆ g_asShipIntelResourceKey

short g_asShipIntelResourceKey[10]
extern

Definition at line 156 of file viewrect.c.

Referenced by init_intelligence_data(), init_mission(), and remove_object().

◆ g_asShipIntelSlot

◆ g_asShipIntelState

short g_asShipIntelState[10]
extern

Definition at line 11 of file brains.c.

Referenced by ejection_sequence(), and init_intelligence_data().

◆ g_asShipListRange

short g_asShipListRange[16]
extern

Definition at line 196 of file viewrect.c.

Referenced by build_target_list(), and fire_turrets().

◆ g_asShipManeuver

◆ g_asShipMaximumVelocity

short g_asShipMaximumVelocity[12]
extern

◆ g_asShipMissionIndex

◆ g_asShipMissionParameter

◆ g_asShipMissionType

◆ g_asShipSide

short g_asShipSide[12]
extern

Definition at line 139 of file viewrect.c.

Referenced by abandoned(), analyze_kill(), any_enemy(), arrive_from_warp(), attacker_in_range(), auto_pilot_sequence(), auto_pilot_valid(), build_target_list(), build_your_target_list(), BuildCommunicationCommandMenu(), BuildCommunicationRecipientMenu(), call_enemy(), CanPlayerLand(), capital_ship_intelligence(), capital_ship_strike_mission(), check_destroy_target(), check_for_lost_control(), check_next_wave(), check_target(), coming_home(), CountAlliesOnSameTarget(), CountEnemyFighters(), cruise_home(), cruise_to_destination(), cycle_onscreen_targets(), detect_enemy_tail(), draw_target_box(), enemy_within_range(), engage(), Explosion(), FF_missile_intelligence(), fire(), fire_turrets(), flag_reached(), get_color(), get_first_follow_point(), get_follow_point(), get_ship_max_velocity(), GetShipAccelerationRate(), HandleSpaceFlightControls(), has_opposing_ship(), hostile_sphere(), house_keep_objects(), in_danger(), inflict_damage(), init_intelligence_data(), init_ship(), initialize_ship(), intelligence_events(), internal_damage(), IsEngagementTargetDisallowed(), kilrathi_near(), launch_carrier_fighter(), new_space_music_changes(), npc_communication(), object_collision(), prepare_for_jump(), process_maneuver_node(), ProcessEnemyWaveCompletion(), regulate_turn(), remove_object(), report_kilrathi_rout(), request(), reset_mission_type(), ResolveObjectDestruction(), rotate_object_to_goal(), run_away(), RunCampaignGameLoop(), scan_for_enemy(), score_for_kill(), select_target(), send_appropriate_message(), send_message(), set_objects_data(), Set_up_ship_info(), stationary_intelligence(), StoreMissionResultsInCampaignGlobals(), target_locking(), target_valid(), try2rout(), TryBeginStarSystemJump(), UpdateShipTurretGuns(), warp(), and wingman_mission().

◆ g_asShipTactic

◆ g_asShipTurretFireEnabled

short g_asShipTurretFireEnabled[10]
extern

Definition at line 1269 of file turret.c.

Referenced by ApplyAlternateShipType(), set_objects_data(), and update_objects_in_space().

◆ g_asShipWeaponEnergy

short g_asShipWeaponEnergy[10]
extern

◆ g_asShipWingLeader

◆ g_asSpikeriCooldown

short g_asSpikeriCooldown[16]
extern

Definition at line 1574 of file brains.c.

Referenced by capital_ship_strike_mission(), house_keep_objects(), and Set_up_ship_info().

◆ g_asSpikeriLaunchCountdown

short g_asSpikeriLaunchCountdown[10]
extern

Definition at line 1575 of file brains.c.

Referenced by capital_ship_strike_mission(), and Set_up_ship_info().

◆ g_asTargetCameraPitchIndicatorBackgroundTable

short g_asTargetCameraPitchIndicatorBackgroundTable[3]
extern

◆ g_asViableTargetDistance

short g_asViableTargetDistance[10]
extern

◆ g_asWingmanDamageCredit

short g_asWingmanDamageCredit[10]
extern

Definition at line 3061 of file ship.c.

Referenced by inflict_damage(), send_appropriate_message(), and Set_up_ship_info().

◆ g_asWipeRadialTrailingEdges

WIPE_STATIC short g_asWipeRadialTrailingEdges[200]

Definition at line 553 of file globals.h.

Referenced by InitializeViewportWipe().

◆ g_aTargetArmorClipRects

ShortRect g_aTargetArmorClipRects[4]
extern

Definition at line 8 of file target.c.

Referenced by show_target_disp().

◆ g_aTuneResources

◆ g_ausPaletteWords

unsigned short g_ausPaletteWords[256][3]
extern

◆ g_awAbsoluteCosine

unsigned short g_awAbsoluteCosine[360]
extern

Definition at line 46 of file gr.c.

Referenced by GetTransformedShapeBounds().

◆ g_awAbsoluteSine

unsigned short g_awAbsoluteSine[360]
extern

Definition at line 78 of file gr.c.

Referenced by GetTransformedShapeBounds().

◆ g_awNavObjectiveLabelIndex

unsigned short g_awNavObjectiveLabelIndex[8]
extern

Definition at line 1241 of file nav.c.

Referenced by BuildMap(), and SelectNavObjectiveAtPoint().

◆ g_awPaletteEntryAllocation

short g_awPaletteEntryAllocation[256]
extern

◆ g_b3SpaceObjectsActive

short g_b3SpaceObjectsActive
extern

Definition at line 1060 of file fltsetup.c.

Referenced by ejection_sequence(), free_3Space(), and init_3Space_objects().

◆ g_bAiMissileFiringEnabled

short g_bAiMissileFiringEnabled
extern

Definition at line 9 of file ship.c.

Referenced by fire(), and perform_maneuver().

◆ g_bAlternateChaseView

short g_bAlternateChaseView
extern

Definition at line 12 of file spc.c.

Referenced by new_view(), and set_eye_direction_and_position().

◆ g_bAltNumpadSubtractShortcut

int g_bAltNumpadSubtractShortcut
extern

Definition at line 1406 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_bApplicationControllerActive

int g_bApplicationControllerActive
extern

Definition at line 1355 of file winmain.c.

Referenced by MainWindowProc(), and WinMain().

◆ g_bApplicationShutdownStarted

int g_bApplicationShutdownStarted
extern

Definition at line 1347 of file winmain.c.

Referenced by AbortToDesktop(), MainWindowProc(), ShutdownGameWindow(), and WinMain().

◆ g_bApplyingCollisionDamage

short g_bApplyingCollisionDamage
extern

Definition at line 15 of file spc.c.

Referenced by inflict_damage(), and object_collision().

◆ g_bAudioSystemInitialized

int g_bAudioSystemInitialized
extern

Definition at line 10 of file sound.c.

Referenced by InitializeAudioSystem(), and ServiceAudioStream().

◆ g_bAutopilotDebugEnabled

signed char g_bAutopilotDebugEnabled
extern

Definition at line 13 of file gameflow.c.

Referenced by ejection_sequence(), InitializeCutsceneRuntimeResources(), and main().

◆ g_bAutopilotSequenceActive

short g_bAutopilotSequenceActive
extern

Definition at line 9 of file auto.c.

Referenced by auto_pilot_sequence(), CompleteStarSystemJump(), and set_up_action_sphere().

◆ g_bBlendWidthLessThanHeight

WIPE_STATIC signed char g_bBlendWidthLessThanHeight

Definition at line 556 of file globals.h.

Referenced by InitializeViewportWipe().

◆ g_bBriefingMapActive

short g_bBriefingMapActive
extern

Definition at line 62 of file nav.c.

Referenced by RefreshObjectiveShipNavPoints(), and UpdateMap().

◆ g_bCaptureHudMessageBackground

short g_bCaptureHudMessageBackground
extern

Definition at line 99 of file cockpt.c.

Referenced by ClearHudMessageDisplay(), and SetHudTextColour().

◆ g_bCarrierLandingEnabled

short g_bCarrierLandingEnabled
extern

Definition at line 1945 of file main.c.

Referenced by house_keep_objects().

◆ g_bCockpitDamageFrame0Shown

short g_bCockpitDamageFrame0Shown
extern

◆ g_bCockpitDamageFrame2Shown

short g_bCockpitDamageFrame2Shown
extern

Definition at line 106 of file cockpt.c.

Referenced by DrawPendingCockpitDamage(), explosion_draw(), init_mission(), and update_cockpit().

◆ g_bCockpitEnabled

int g_bCockpitEnabled
extern

Definition at line 1359 of file winmain.c.

◆ g_bCockpitResourcesActive

short g_bCockpitResourcesActive
extern

◆ g_bCommSpeechPlaying

short g_bCommSpeechPlaying
extern

Definition at line 22 of file comm.c.

Referenced by real_vid_transmit(), and vid_transmit().

◆ g_bConfigMemoryOption

int g_bConfigMemoryOption
extern

Definition at line 1368 of file winmain.c.

Referenced by CheckLauncherAndConfig().

◆ g_bConfigQuickModeEnabled

int g_bConfigQuickModeEnabled
extern

Definition at line 1357 of file winmain.c.

Referenced by CheckLauncherAndConfig(), DIBinstall(), and DIBreInstall().

◆ g_bCurrentManeuverReroll

FL_STATIC unsigned char g_bCurrentManeuverReroll

Definition at line 958 of file globals.h.

Referenced by perform_maneuver().

◆ g_bCutsceneDebugOverlayEnabled

signed char g_bCutsceneDebugOverlayEnabled
extern

Definition at line 3758 of file gameflow.c.

Referenced by PresentCutsceneFrame().

◆ g_bCutsceneDrawingEnabled

signed char g_bCutsceneDrawingEnabled
extern

◆ g_bCutsceneSkipAll

signed char g_bCutsceneSkipAll
extern

◆ g_bCutsceneSkipFrame

◆ g_bCutsceneSpeechActive

signed char g_bCutsceneSpeechActive
extern

Definition at line 3753 of file gameflow.c.

Referenced by AnimateCutsceneSpeakerMouth(), and RunCutsceneScript().

◆ g_bCutsceneTextBoundsOverride

signed char g_bCutsceneTextBoundsOverride
extern

Definition at line 3756 of file gameflow.c.

Referenced by DrawCutsceneTextAt(), and RunCutsceneScript().

◆ g_bCutsceneTextRestorePending

signed char g_bCutsceneTextRestorePending
extern

◆ g_bCutsceneViewportPreallocated

◆ g_bDeathSequenceActive

short g_bDeathSequenceActive
extern

Definition at line 9 of file death.c.

Referenced by death_sequence(), pilot_hit(), and ResolveObjectDestruction().

◆ g_bDebugBreakEnabled

int g_bDebugBreakEnabled
extern

Definition at line 1346 of file winmain.c.

Referenced by CheckLauncherAndConfig(), HandleSpaceFlightControls(), and MainWindowProc().

◆ g_bDeveloperCampaignReady

short g_bDeveloperCampaignReady
extern

Definition at line 10 of file campaign.c.

Referenced by RunCampaignGameLoop(), and RunGameApplication().

◆ g_bDibSlamEnabled

int g_bDibSlamEnabled
extern

Definition at line 94 of file dib.cpp.

Referenced by DIBslamReal(), DisableDibSlam(), and EnableDibSlam().

◆ g_bDirectCampaignSelection

short g_bDirectCampaignSelection
extern

Definition at line 580 of file startup.c.

Referenced by main(), RunCampaignGameLoop(), and RunGameApplication().

◆ g_bDirectMissionLaunch

short g_bDirectMissionLaunch
extern

◆ g_bDisableChalkboardReplay

short g_bDisableChalkboardReplay
extern

Definition at line 14 of file optmenu.c.

Referenced by PollSceneHotspotInput(), and RunCampaignChalkboardMenu().

◆ g_bDisplayWingmanTargetData

short g_bDisplayWingmanTargetData
extern

◆ g_bEjectionAwaitingCommCommand

short g_bEjectionAwaitingCommCommand
extern

◆ g_bEjectionSequencePending

short g_bEjectionSequencePending
extern

Definition at line 8 of file orders.c.

Referenced by check_message(), and request().

◆ g_bEjectionTriggerImmediately

short g_bEjectionTriggerImmediately
extern

Definition at line 15 of file mission.c.

Referenced by ProcessEnemyWaveCompletion(), and ProcessMissionWaveCommands().

◆ g_bEjectionWaitForEnemyWave

short g_bEjectionWaitForEnemyWave
extern

Definition at line 12 of file mission.c.

Referenced by ProcessEnemyWaveCompletion(), and ProcessMissionWaveCommands().

◆ g_bEngageAllowed

short g_bEngageAllowed
extern

Definition at line 190 of file viewrect.c.

Referenced by allow_engage(), disallow_engage(), imperial_formation(), and request().

◆ g_bExpandedShipGraphicsEnabled

◆ g_bExplosionTraversalIdle

short g_bExplosionTraversalIdle
extern

Definition at line 53 of file ship.c.

Referenced by explode().

◆ g_bF1KeyDown

int g_bF1KeyDown
extern

Definition at line 1348 of file winmain.c.

Referenced by GetF1KeyLatch(), and MainWindowProc().

◆ g_bFlightButtonOneHeld

int g_bFlightButtonOneHeld
extern

Definition at line 1964 of file main.c.

Referenced by get_player_input().

◆ g_bFlightButtonTwoHeld

int g_bFlightButtonTwoHeld
extern

Definition at line 1963 of file main.c.

Referenced by get_player_input().

◆ g_bFlightSoundEffectsEnabled

short g_bFlightSoundEffectsEnabled
extern

◆ g_bForceCriticalDamageWarning

short g_bForceCriticalDamageWarning
extern

Definition at line 47 of file cockpt.c.

Referenced by update_lights().

◆ g_bForceDamageDisplayRedraw

int g_bForceDamageDisplayRedraw
extern

Definition at line 110 of file cockpt.c.

Referenced by show_damage_disp(), and update_VDUs().

◆ g_bFrameTimingInitialized

int g_bFrameTimingInitialized
extern

◆ g_bFriendlyFireWarningIssued

short g_bFriendlyFireWarningIssued
extern

Definition at line 10 of file ship.c.

Referenced by inflict_damage(), init_mission(), and RunCampaignGameLoop().

◆ g_bFuelGaugeDamaged

short g_bFuelGaugeDamaged
extern

Definition at line 46 of file cockpt.c.

Referenced by DrawPendingCockpitDamage(), explosion_draw(), init_mission(), and update_lights().

◆ g_bFullScreenSpaceView

int g_bFullScreenSpaceView
extern

Definition at line 1928 of file main.c.

Referenced by HandleSpaceFlightControls(), and RunSpaceFlight().

◆ g_bHomeObjectiveFlagged

short g_bHomeObjectiveFlagged
extern

Definition at line 10 of file brains.c.

Referenced by strike_mission().

◆ g_bInflightComputerActive

int g_bInflightComputerActive
extern

Definition at line 63 of file nav.c.

Referenced by InflightComputer(), and SetHudMessageText().

◆ g_bInputCursorShapeChanged

unsigned char g_bInputCursorShapeChanged
extern

◆ g_bInputEventQueueEnabled

int g_bInputEventQueueEnabled
extern

Definition at line 1350 of file winmain.c.

Referenced by WaitForQueuedInputPress().

◆ g_bInputMode

unsigned char g_bInputMode
extern

◆ g_bJoystickCalibrationHotkey

int g_bJoystickCalibrationHotkey
extern

Definition at line 1397 of file winmain.c.

Referenced by HandleSpaceFlightControls(), MainWindowProc(), and PollSceneHotspotInput().

◆ g_bJoystickPrimaryButtonLatched

int g_bJoystickPrimaryButtonLatched
extern

Definition at line 1374 of file winmain.c.

Referenced by GetJoystickPosition().

◆ g_bJoystickSecondaryButtonLatched

int g_bJoystickSecondaryButtonLatched
extern

Definition at line 1375 of file winmain.c.

Referenced by GetJoystickPosition().

◆ g_bJumpSequenceActive

◆ g_bKeyboardMouseEnabled

int g_bKeyboardMouseEnabled
extern

Definition at line 10 of file kbmouse.c.

Referenced by KeyboardMousePump(), RunTitleMenuInputLoop(), and WaitForAnyInputPress().

◆ g_bKilrathiAceGreetingSent

short g_bKilrathiAceGreetingSent
extern

Definition at line 1049 of file logic.c.

Referenced by SendKilrathiAceGreetingOnce(), and Set_up_ship_info().

◆ g_bLandingCommRequestPending

signed char g_bLandingCommRequestPending
extern

◆ g_bMemoryAdjustmentEnabled

short g_bMemoryAdjustmentEnabled
extern

Definition at line 584 of file startup.c.

Referenced by main(), and RunGameApplication().

◆ g_bMemoryLogToFile

unsigned char g_bMemoryLogToFile
extern

◆ g_bMenuAHotkey

int g_bMenuAHotkey
extern

Definition at line 1401 of file winmain.c.

Referenced by HandleSpaceFlightControls(), and MainWindowProc().

◆ g_bMissileCameraEnabled

short g_bMissileCameraEnabled
extern

Definition at line 93 of file viewrect.c.

Referenced by HandleSpaceFlightControls(), and init_3Space_objects().

◆ g_bMissileLockAcquired

short g_bMissileLockAcquired
extern

Definition at line 104 of file cockpt.c.

Referenced by fire_weapon(), init_mission(), and overlay_head_up_display().

◆ g_bMissionDeathSequencePending

short g_bMissionDeathSequencePending
extern

◆ g_bMissionEjectionPodSpawned

short g_bMissionEjectionPodSpawned
extern

◆ g_bMissionEndPending

short g_bMissionEndPending
extern

Definition at line 8 of file death.c.

Referenced by death_sequence(), and ejection_sequence().

◆ g_bMissionShipInitializationInProgress

short g_bMissionShipInitializationInProgress
extern

Definition at line 8 of file mission.c.

Referenced by prepare_mission(), and set_formation_position().

◆ g_bMonoDebugInstalled

MONO_STATIC int g_bMonoDebugInstalled

◆ g_bMouseFireButtonLatched

MAIN_STATIC int g_bMouseFireButtonLatched

Definition at line 1714 of file globals.h.

Referenced by player_input().

◆ g_bMouseMoveEventQueued

signed char g_bMouseMoveEventQueued
extern

Definition at line 1974 of file main.c.

Referenced by player_input().

◆ g_bMovieFramePresented

signed char g_bMovieFramePresented
extern

Definition at line 3780 of file gameflow.c.

Referenced by ExecuteCutsceneSequence(), PresentCutsceneFrame(), and RunCutsceneScript().

◆ g_bNewPilotCampaignInitialized

short g_bNewPilotCampaignInitialized
extern

◆ g_bOriginFxDriverActive

short g_bOriginFxDriverActive
extern

Definition at line 565 of file startup.c.

Referenced by LoadOriginFxDrivers().

◆ g_bParentDirectorySelected

signed char g_bParentDirectorySelected
extern

Definition at line 1950 of file main.c.

Referenced by LogMemoryUsage().

◆ g_bPauseInputActive

int g_bPauseInputActive
extern

Definition at line 13 of file message.c.

Referenced by HandleSpaceFlightControls(), and ShowOnScreenMessage().

◆ g_bPersonnelMenuDrawing

◆ g_bPersonnelPrimaryButton

unsigned char g_bPersonnelPrimaryButton
extern

◆ g_bPersonnelPrimaryInputDown

signed char g_bPersonnelPrimaryInputDown
extern

Definition at line 45 of file personnel.c.

Referenced by PollPersonnelMenuInput().

◆ g_bPersonnelSecondaryButton

unsigned char g_bPersonnelSecondaryButton
extern

◆ g_bPlayerCollisionEnabled

short g_bPlayerCollisionEnabled
extern

Definition at line 1947 of file main.c.

Referenced by CheckLauncherAndConfig(), main(), object_collision(), and visit_the_cinema().

◆ g_bPlayerDamageEnabled

short g_bPlayerDamageEnabled
extern

◆ g_bPrimaryViewBufferColour

◆ g_bPumpMessagesDuringLoad

short g_bPumpMessagesDuringLoad
extern

Definition at line 582 of file startup.c.

Referenced by main(), and RunCampaignGameLoop().

◆ g_bQueuedPrimaryButton

unsigned char g_bQueuedPrimaryButton
extern

◆ g_bQueuedSecondaryButton

unsigned char g_bQueuedSecondaryButton
extern

◆ g_bRadioSilence

signed char g_bRadioSilence
extern

◆ g_bRenderingSpaceFrame

int g_bRenderingSpaceFrame
extern

Definition at line 1992 of file main.c.

Referenced by CopyViewportContents(), and RunSpaceFlight().

◆ g_bRewritePacketExtensions

◆ g_bRoomTransitionAnimationEnabled

signed char g_bRoomTransitionAnimationEnabled
extern

◆ g_bSavedPlayerTarget

short g_bSavedPlayerTarget
extern

◆ g_bSavedTargetLockAcquired

short g_bSavedTargetLockAcquired
extern

Definition at line 1271 of file turret.c.

Referenced by ClearSavedTorpedoTargetLock(), and UpdateSavedTorpedoTargetLock().

◆ g_bSceneCockpitLoaded

signed char g_bSceneCockpitLoaded
extern

Definition at line 3769 of file gameflow.c.

Referenced by InitializeCutsceneRuntimeResources(), and RunLoadedCutscene().

◆ g_bSceneDisplayUpdateActive

int g_bSceneDisplayUpdateActive
extern

Definition at line 494 of file campglob.c.

Referenced by CopyViewportContents(), PollMenuInputDevices(), and RunCampaignScript().

◆ g_bSceneEscapeRequested

◆ g_bSecondaryMouseButtonHeld

signed char g_bSecondaryMouseButtonHeld
extern

Definition at line 1972 of file main.c.

Referenced by player_input().

◆ g_bShipResourceReloadInProgress

short g_bShipResourceReloadInProgress
extern

Definition at line 9 of file mission.c.

Referenced by load_all_slots(), and load_ship().

◆ g_bShowFrameRate

int g_bShowFrameRate
extern

Definition at line 1356 of file winmain.c.

Referenced by CheckLauncherAndConfig(), and ThrottleFrameAndDrawFps().

◆ g_bSkipCampaignScenes

short g_bSkipCampaignScenes
extern

Definition at line 581 of file startup.c.

Referenced by main(), and RunCampaignScript().

◆ g_bSkipCampaignVideo

int g_bSkipCampaignVideo
extern

Definition at line 1360 of file winmain.c.

Referenced by CheckLauncherAndConfig(), and RunCampaignScript().

◆ g_bSpaceViewBufferEnabled

short g_bSpaceViewBufferEnabled
extern

◆ g_bSpeechEnabledFlag

short g_bSpeechEnabledFlag
extern

◆ g_bSpeechPlaybackDone

int g_bSpeechPlaybackDone
extern

Definition at line 23 of file sound.c.

Referenced by check_message(), ServiceSoundSystem(), and set_message_time().

◆ g_bSpeechResourcesEnabled

short g_bSpeechResourcesEnabled
extern

Definition at line 572 of file startup.c.

Referenced by LoadOriginFxDrivers(), and main().

◆ g_bSpeechSoundActive

int g_bSpeechSoundActive
extern

Definition at line 20 of file sound.c.

Referenced by PlayRawSpeechBuffer(), and ServiceSoundSystem().

◆ g_bStarSystemJumpTransition

short g_bStarSystemJumpTransition
extern

◆ g_bTargetBracketVisible

signed char g_bTargetBracketVisible
extern

Definition at line 96 of file cockpt.c.

Referenced by overlay_head_up_display().

◆ g_bTargetLockAcquired

short g_bTargetLockAcquired
extern

Definition at line 91 of file viewrect.c.

Referenced by decrement_lock_time(), and DrawTargetRangeReadout().

◆ g_bTargetLockActive

◆ g_bTargetLockDisplayEnabled

short g_bTargetLockDisplayEnabled
extern

◆ g_bTargetLockMode

◆ g_bTargetLockReadoutDirty

short g_bTargetLockReadoutDirty
extern

Definition at line 86 of file viewrect.c.

Referenced by DrawTargetRangeReadout(), lock_off(), and start_lock().

◆ g_bUseEyePositionForHazards

short g_bUseEyePositionForHazards
extern

Definition at line 61 of file viewrect.c.

Referenced by check_hazards(), init_hazard(), and update_hazards().

◆ g_bUseHardwarePalette

int g_bUseHardwarePalette
extern

◆ g_bVideoImagesSuppressed

signed char g_bVideoImagesSuppressed
extern

Definition at line 15 of file comm.c.

Referenced by HandleSpaceFlightControls(), real_vid_transmit(), and vid_transmit().

◆ g_bViewportDirty

short g_bViewportDirty
extern

◆ g_bWindowInactive

int g_bWindowInactive
extern

Definition at line 1361 of file winmain.c.

Referenced by MainWindowProc(), PumpWindowMessages(), and WinMain().

◆ g_bWindowMessagePumpActive

int g_bWindowMessagePumpActive
extern

Definition at line 1369 of file winmain.c.

Referenced by PumpWindowMessages().

◆ g_bWingmanKilledThisMission

short g_bWingmanKilledThisMission
extern

Definition at line 1055 of file logic.c.

Referenced by prepare_mission().

◆ g_bWingmanTurnRateUnlocked

short g_bWingmanTurnRateUnlocked
extern

Definition at line 36 of file smart.c.

Referenced by process_maneuver_node(), and regulate_turn().

◆ g_cBlueColour

unsigned char g_cBlueColour
extern

Definition at line 546 of file startup.c.

Referenced by draw_target_box(), get_color(), LoadGamePaletteFile(), and ShowModalTextPanel().

◆ g_cCockpitLogicalFile

signed char g_cCockpitLogicalFile
extern

◆ g_cCommMenuRecipient

signed char g_cCommMenuRecipient
extern

◆ g_cCurrentKey

◆ g_cCurrentNavPointIndex

◆ g_cCurrentObjective

◆ g_cCutsceneSoundVolume

signed char g_cCutsceneSoundVolume
extern

Definition at line 3679 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_cCutsceneSpeechSpeed

signed char g_cCutsceneSpeechSpeed
extern

Definition at line 3752 of file gameflow.c.

Referenced by AnimateCutsceneSpeakerMouth(), and RunCutsceneScript().

◆ g_cCutsceneTextStyle

signed char g_cCutsceneTextStyle
extern

Definition at line 3765 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_cCutsceneVideoMode

◆ g_cDamageDisplayFrame

signed char g_cDamageDisplayFrame
extern

Definition at line 275 of file damage.c.

Referenced by UpdateDamageDisplay().

◆ g_cDamageDisplayPart

signed char g_cDamageDisplayPart
extern

Definition at line 272 of file damage.c.

Referenced by UpdateDamageDisplay().

◆ g_cDamagedPartCount

signed char g_cDamagedPartCount
extern

Definition at line 273 of file damage.c.

Referenced by show_damage_disp(), and UpdateDamageDisplay().

◆ g_cDarkGreenColour

unsigned char g_cDarkGreenColour
extern

◆ g_cHazardBaseTravelTime

signed char g_cHazardBaseTravelTime
extern

Definition at line 26 of file cockpt.c.

Referenced by init_hazard(), and InitializeCockpitResources().

◆ g_cKeypadMouseSpeedValue

signed char g_cKeypadMouseSpeedValue
extern

Definition at line 2524 of file eventmgr.c.

Referenced by EMStartUp(), and KeyboardMousePump().

◆ g_cLastPilotHandFrame

◆ g_cMessageSpeed

signed char g_cMessageSpeed
extern

Definition at line 12 of file comm.c.

Referenced by MeasureMessageWidth(), and SetMessageDisplaySpeed().

◆ g_cMissionObjectiveCount

◆ g_cPendingCommMenuAction

signed char g_cPendingCommMenuAction
extern

◆ g_cPreviousKey

◆ g_cPrimaryViewBufferColour

◆ g_cQueuedNpcMessage

signed char g_cQueuedNpcMessage
extern

Definition at line 18 of file mission.c.

Referenced by npc_communication(), and ProcessMissionWaveCommands().

◆ g_cQueuedNpcPortrait

signed char g_cQueuedNpcPortrait
extern

Definition at line 17 of file mission.c.

Referenced by npc_communication(), and ProcessMissionWaveCommands().

◆ g_cRedColour

◆ g_cReleaseWeaponDisplayFrame

signed char g_cReleaseWeaponDisplayFrame
extern

◆ g_cReleaseWeaponDisplayState

signed char g_cReleaseWeaponDisplayState
extern

Definition at line 51 of file cockpt.c.

Referenced by fire_computer_graphic_missile(), and RemovePlayerReleaseWeapon().

◆ g_cReleaseWeaponDisplayTicks

signed char g_cReleaseWeaponDisplayTicks
extern

Definition at line 50 of file cockpt.c.

Referenced by fire_computer_graphic_missile(), and RemovePlayerReleaseWeapon().

◆ g_cSecondaryViewBufferColour

◆ g_cTargetDisplayObject

signed char g_cTargetDisplayObject
extern

Definition at line 89 of file viewrect.c.

Referenced by DrawTargetRangeReadout(), and show_target_disp().

◆ g_cViableTargetCount

◆ g_cViewObject

signed char g_cViewObject
extern

◆ g_cYellowColour

◆ g_dwCannedSceneSnapshotStart

unsigned int g_dwCannedSceneSnapshotStart
extern

◆ g_dwDebugOverlayKey

DWORD g_dwDebugOverlayKey
extern

◆ g_dwDebugOverlayKeyLatch

DWORD g_dwDebugOverlayKeyLatch
extern

◆ g_dwDiskPromptBottomRight

unsigned int g_dwDiskPromptBottomRight
extern

◆ g_dwDiskPromptTopLeft

unsigned int g_dwDiskPromptTopLeft
extern

◆ g_dwGuardedAllocationBytes

unsigned int g_dwGuardedAllocationBytes
extern

Definition at line 1352 of file winmain.c.

Referenced by AbortToDesktop().

◆ g_dwGuardedAllocationPeakBytes

unsigned int g_dwGuardedAllocationPeakBytes
extern

Definition at line 1353 of file winmain.c.

Referenced by AbortToDesktop().

◆ g_dwGuardedAllocationTotalBytes

unsigned int g_dwGuardedAllocationTotalBytes
extern

Definition at line 1351 of file winmain.c.

Referenced by AbortToDesktop().

◆ g_dwHighMemoryParagraphValue

◆ g_dwInitialSpareMemory

unsigned int g_dwInitialSpareMemory
extern

Definition at line 590 of file startup.c.

Referenced by LoadOriginFxDrivers(), LogMemoryUsage(), and ShowMemoryStatusDebug().

◆ g_dwLastDibDirtyReportTime

unsigned int g_dwLastDibDirtyReportTime
extern

Definition at line 117 of file dib.cpp.

Referenced by MarkDibDirty().

◆ g_dwNextFrameDeadline

DWORD g_dwNextFrameDeadline
extern

◆ g_dwOriginalFreeMemory

unsigned int g_dwOriginalFreeMemory
extern

◆ g_dwRestoredSceneMusicState

unsigned int g_dwRestoredSceneMusicState
extern

◆ g_dwStreamerMode

◆ g_fMeasuredFrameRate

float g_fMeasuredFrameRate
extern

Definition at line 111 of file dib.cpp.

Referenced by ThrottleFrameAndDrawFps().

◆ g_fSpaceFlightFrameRate

float g_fSpaceFlightFrameRate
extern

Definition at line 88 of file dib.cpp.

Referenced by ReportSpaceFlightMaxFps(), and SetSpaceFlightFrameTiming().

◆ g_hDebugKeyboardHook

HHOOK g_hDebugKeyboardHook
extern

◆ g_hMonoDebugDevice

MONO_STATIC HANDLE g_hMonoDebugDevice

◆ g_lPreviousFrameTick

long g_lPreviousFrameTick
extern

Definition at line 84 of file dib.cpp.

Referenced by ThrottleFrameAndDrawFps().

◆ g_nActiveCutsceneResourceLevel

◆ g_nActiveHazards

short g_nActiveHazards
extern

Definition at line 9 of file fields.c.

Referenced by init_hazard(), and remove_hazard().

◆ g_nAdaptiveDifficulty

short g_nAdaptiveDifficulty
extern

◆ g_nAimCameraMode

◆ g_nAllocateViewportCalls

int g_nAllocateViewportCalls
extern

Definition at line 79 of file vpalloc.c.

Referenced by AllocateViewport().

◆ g_nArcadeState

◆ g_nArmsDisplayOriginY

short g_nArmsDisplayOriginY
extern

◆ g_nAudioEnabled

◆ g_nAutoEngageTimer

short g_nAutoEngageTimer
extern

◆ g_nAutopilotFormationShipCount

short g_nAutopilotFormationShipCount
extern

Definition at line 8 of file auto.c.

Referenced by auto_pilot_sequence(), and auto_position().

◆ g_nAvailableGameMemoryNumber

int g_nAvailableGameMemoryNumber
extern

Definition at line 596 of file startup.c.

Referenced by init_constellation(), init_mission(), and LoadOriginFxDrivers().

◆ g_nBlendMaximumStep

WIPE_STATIC short g_nBlendMaximumStep

Definition at line 578 of file globals.h.

Referenced by InitializeViewportWipe().

◆ g_nCampaignDataSet

short g_nCampaignDataSet
extern

◆ g_nCannedSceneBufferNearCapacityFlag

short g_nCannedSceneBufferNearCapacityFlag
extern

◆ g_nCannedSceneMode

◆ g_nCannedSceneRecordedFrameCountNumber

short g_nCannedSceneRecordedFrameCountNumber
extern

◆ g_nCannedSceneSegmentEndFrame

short g_nCannedSceneSegmentEndFrame
extern

Definition at line 13 of file taperec.c.

Referenced by LoadCannedScenePlaybackBuffer(), and update_objects_in_space().

◆ g_nCannedSceneStateRecordMarker

short g_nCannedSceneStateRecordMarker
extern

Definition at line 15 of file taperec.c.

Referenced by RecordCannedSceneObjectState().

◆ g_nCapitalShipViewDistance

int g_nCapitalShipViewDistance
extern

Definition at line 10 of file spc.c.

◆ g_nCarrierLaunchIntervalValue

short g_nCarrierLaunchIntervalValue
extern

Definition at line 109 of file carrier.c.

Referenced by launch_carrier_fighter().

◆ g_nClearKeyMode

WINMAIN_STATIC int g_nClearKeyMode

Definition at line 905 of file globals.h.

Referenced by PollKeyboardState().

◆ g_nCockpitBackgroundBytes

short g_nCockpitBackgroundBytes
extern

Definition at line 1000 of file fltsetup.c.

Referenced by InitializeCockpitResources().

◆ g_nCockpitControlGoal

short g_nCockpitControlGoal
extern

◆ g_nCockpitControlState

◆ g_nCockpitDisplayMode

◆ g_nCockpitExplosionFrame

◆ g_nCockpitResetState

short g_nCockpitResetState
extern

Definition at line 85 of file viewrect.c.

Referenced by overlay_head_up_display().

◆ g_nCombatMusicActive

short g_nCombatMusicActive
extern

Definition at line 542 of file music.c.

Referenced by gametrack(), and init_inflight_music().

◆ g_nCommDeathSequenceFrame

short g_nCommDeathSequenceFrame
extern

◆ g_nCommMenuChoiceCount

◆ g_nCommMenuReuseMode

◆ g_nCommMessageIndex

short g_nCommMessageIndex
extern

Definition at line 11 of file cockpt.c.

Referenced by real_vid_transmit().

◆ g_nCommPortraitFrame

int g_nCommPortraitFrame
extern

Definition at line 107 of file cockpt.c.

Referenced by vid_transmit().

◆ g_nCommPortraitIndex

short g_nCommPortraitIndex
extern

Definition at line 21 of file comm.c.

Referenced by FreeCommDisplayResources(), real_vid_transmit(), and vid_transmit().

◆ g_nCommSpeakerObject

short g_nCommSpeakerObject
extern

◆ g_nCommSpeakerRating

short g_nCommSpeakerRating
extern

Definition at line 20 of file comm.c.

Referenced by FreeCommDisplayResources(), and real_vid_transmit().

◆ g_nConstellationDirection

short g_nConstellationDirection
extern

Definition at line 14 of file starfld.c.

Referenced by DrawConstellationField(), and InitializeConstellationField().

◆ g_nControllerVerticalDeadZoneWord

int g_nControllerVerticalDeadZoneWord
extern

Definition at line 58 of file joystick.c.

Referenced by LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().

◆ g_nCurrentLevel

short g_nCurrentLevel
extern

◆ g_nCurrentMusicTrack

int g_nCurrentMusicTrack
extern

Definition at line 525 of file music.c.

Referenced by ProcessMusicScriptCommand(), and StopMusic().

◆ g_nCurrentNavPoint

◆ g_nCurrentObjectiveRange

int g_nCurrentObjectiveRange
extern

Definition at line 56 of file viewrect.c.

Referenced by check_objectives(), DrawCalculatingLabel(), and set_objective_range().

◆ g_nCurrentView

◆ g_nCurrentWave

short g_nCurrentWave
extern

◆ g_nCurSeries

short g_nCurSeries
extern

◆ g_nCurStellarSystem

◆ g_nCutsceneFrameDelay

unsigned short g_nCutsceneFrameDelay
extern

◆ g_nCutsceneFrameTick

short g_nCutsceneFrameTick
extern

Definition at line 3704 of file gameflow.c.

Referenced by InitializeCutsceneRuntimeResources(), and RunCutsceneScript().

◆ g_nCutsceneMusicVolume

short g_nCutsceneMusicVolume
extern

Definition at line 523 of file music.c.

Referenced by RunCutsceneScript().

◆ g_nCutsceneResourceLevel

◆ g_nCutsceneSpritesDrawn

short g_nCutsceneSpritesDrawn
extern

◆ g_nCutsceneTextBottom

short g_nCutsceneTextBottom
extern

◆ g_nCutsceneTextRight

short g_nCutsceneTextRight
extern

◆ g_nCutsceneTextTop

short g_nCutsceneTextTop
extern

◆ g_nDebugFileLoggingEnabled

int g_nDebugFileLoggingEnabled
extern

Definition at line 1366 of file winmain.c.

Referenced by CheckLauncherAndConfig(), and WriteDebugString().

◆ g_nDebugOverlayConsoleCount

int g_nDebugOverlayConsoleCount
extern

◆ g_nDeleteKeyState

WINMAIN_STATIC int g_nDeleteKeyState

Definition at line 906 of file globals.h.

Referenced by PollKeyboardState().

◆ g_nDibDirtyHitTotal

int g_nDibDirtyHitTotal
extern

Definition at line 108 of file dib.cpp.

Referenced by MarkDibDirty().

◆ g_nDibScreenChunkState

int g_nDibScreenChunkState
extern

Definition at line 58 of file screen.c.

Referenced by InitializeDIBScreenViewport().

◆ g_nDigiLastBlock

short g_nDigiLastBlock
extern

Definition at line 20 of file speech.c.

Referenced by PlaySpeechPacketBuffer(), and SoundBlasterDspInterrupt().

◆ g_nDigiSampleBytes

const int g_nDigiSampleBytes
extern

◆ g_nDirectMission

short g_nDirectMission
extern

◆ g_nDirectSeries

short g_nDirectSeries
extern

Definition at line 1954 of file main.c.

Referenced by main(), RunCampaignGameLoop(), and RunGameApplication().

◆ g_nDisplayedComponentDamage

int g_nDisplayedComponentDamage
extern

Definition at line 274 of file damage.c.

Referenced by UpdateDamageDisplay().

◆ g_nDisplayedObjectiveRange

int g_nDisplayedObjectiveRange
extern

Definition at line 53 of file cockpt.c.

Referenced by check_objectives(), and DrawCalculatingLabel().

◆ g_nDisplayModeCascade

int g_nDisplayModeCascade
extern

◆ g_nDmaHalfSelect

int g_nDmaHalfSelect
extern

Definition at line 19 of file speech.c.

Referenced by PlaySpeechPacketBuffer(), and SoundBlasterDspInterrupt().

◆ g_nEjectionSequenceState

short g_nEjectionSequenceState
extern

◆ g_nEnemyCommPilotIndex

short g_nEnemyCommPilotIndex
extern

Definition at line 1464 of file mission.c.

Referenced by BuildCommunicationCommandMenu(), init_intelligence_data(), and init_mission().

◆ g_nEnemySighting

short g_nEnemySighting
extern

Definition at line 9 of file brains.c.

Referenced by imperial_formation(), and set_up_action_sphere().

◆ g_nEnemyTauntCommandBase

short g_nEnemyTauntCommandBase
extern

◆ g_nEscapedEnemyCount

short g_nEscapedEnemyCount
extern

Definition at line 8 of file jump.c.

Referenced by check_next_wave(), set_up_action_sphere(), and warp().

◆ g_nExpandedShipMemoryKb

short g_nExpandedShipMemoryKb
extern

Definition at line 564 of file startup.c.

Referenced by LoadOriginFxDrivers(), and main().

◆ g_nExternalViewShip

◆ g_nEyePitchGoal

short g_nEyePitchGoal
extern

Definition at line 35 of file viewrect.c.

Referenced by new_view(), and rotate_eye_to_goal().

◆ g_nEyePitchRate

short g_nEyePitchRate
extern

Definition at line 38 of file viewrect.c.

Referenced by new_view(), and rotate_eye_to_goal().

◆ g_nEyeRollGoal

short g_nEyeRollGoal
extern

Definition at line 37 of file viewrect.c.

Referenced by new_view(), rotate_eye_to_goal(), and set_eye_direction_and_position().

◆ g_nEyeRollRate

short g_nEyeRollRate
extern

Definition at line 40 of file viewrect.c.

Referenced by new_view(), rotate_eye_to_goal(), and set_eye_direction_and_position().

◆ g_nEyeYawGoal

short g_nEyeYawGoal
extern

Definition at line 36 of file viewrect.c.

Referenced by new_view(), and rotate_eye_to_goal().

◆ g_nEyeYawRate

short g_nEyeYawRate
extern

Definition at line 39 of file viewrect.c.

Referenced by new_view(), and rotate_eye_to_goal().

◆ g_nFacingToTarget

◆ g_nFleetOverviewPitch

◆ g_nFleetOverviewPitchVelocity

◆ g_nFleetOverviewYaw

◆ g_nFleetOverviewYawVelocity

◆ g_nFrameSkip

◆ g_nFrameSkipCountdown

◆ g_nFrameTimingMode

int g_nFrameTimingMode
extern

◆ g_nFreeMainWord

MAIN_STATIC int g_nFreeMainWord

Definition at line 767 of file globals.h.

◆ g_nFuneralBaseX

short g_nFuneralBaseX
extern

◆ g_nFuneralBaseY

short g_nFuneralBaseY
extern

◆ g_nFuneralCasketX

short g_nFuneralCasketX
extern

◆ g_nFuneralCasketY

short g_nFuneralCasketY
extern

◆ g_nFuneralForegroundX

short g_nFuneralForegroundX
extern

◆ g_nFuneralForegroundY

short g_nFuneralForegroundY
extern

◆ g_nFuneralGuardFrame

short g_nFuneralGuardFrame
extern

◆ g_nFuneralMainDistance

short g_nFuneralMainDistance
extern

◆ g_nFuneralMainScale

short g_nFuneralMainScale
extern

◆ g_nFuneralParticleDistance

short g_nFuneralParticleDistance
extern

◆ g_nFuneralParticleScale

short g_nFuneralParticleScale
extern

◆ g_nFuneralRifleFrame

short g_nFuneralRifleFrame
extern

◆ g_nGraphicsInitializationFlags

short g_nGraphicsInitializationFlags
extern

◆ g_nHazardFieldCount

short g_nHazardFieldCount
extern

Definition at line 58 of file viewrect.c.

Referenced by add_hazard_field(), check_hazards(), house_keep(), and set_up_action_sphere().

◆ g_nHazardPitchRange

short g_nHazardPitchRange
extern

Definition at line 27 of file cockpt.c.

Referenced by InitializeCockpitResources().

◆ g_nHazardReferenceSpeed

short g_nHazardReferenceSpeed
extern

Definition at line 8 of file fields.c.

Referenced by difficulty(), match_ship_to_eye(), rear_sphere(), and update_hazards().

◆ g_nHudMessageBackgroundDepth

short g_nHudMessageBackgroundDepth
extern

◆ g_nInFlightMusicActive

short g_nInFlightMusicActive
extern

◆ g_nInitialFlightMusicPending

short g_nInitialFlightMusicPending
extern

Definition at line 541 of file music.c.

Referenced by gametrack(), and init_inflight_music().

◆ g_nInputCursorFrame

short g_nInputCursorFrame
extern

◆ g_nInputDoubleClickDeadline

int g_nInputDoubleClickDeadline
extern

Definition at line 2424 of file eventmgr.c.

Referenced by QueueInputEvent().

◆ g_nInputDoubleClickInterval

short g_nInputDoubleClickInterval
extern

Definition at line 8 of file input.c.

Referenced by LoadOriginFxDrivers(), and UpdateInputDeviceTransitions().

◆ g_nInputEventPoolInitialized

int g_nInputEventPoolInitialized
extern

Definition at line 2423 of file eventmgr.c.

Referenced by AllocateInputEvent().

◆ g_nInputPollPeriod

short g_nInputPollPeriod
extern

Definition at line 2482 of file eventmgr.c.

Referenced by RunLoadedCutscene(), and ServiceInputDevices().

◆ g_nInputPressCount

int g_nInputPressCount
extern

◆ g_nInsertKeyStatus

WINMAIN_STATIC int g_nInsertKeyStatus

Definition at line 897 of file globals.h.

Referenced by PollKeyboardState().

◆ g_nJoystickCalibrationMinimumY

int g_nJoystickCalibrationMinimumY
extern

Definition at line 241 of file joycal.c.

Referenced by LoadJoystickCalibrationFile().

◆ g_nJoystickHorizDeadZone

int g_nJoystickHorizDeadZone
extern

Definition at line 59 of file joystick.c.

Referenced by LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().

◆ g_nJoystickMaximumY

int g_nJoystickMaximumY
extern

◆ g_nJoystickUnavailableSample

const int g_nJoystickUnavailableSample
extern

Definition at line 8 of file joycal.c.

Referenced by LoadJoystickCalibrationFile().

◆ g_nJoystickVerticalRangeNumber

int g_nJoystickVerticalRangeNumber
extern

Definition at line 67 of file joystick.c.

Referenced by CalibrateJoystickInteractive().

◆ g_nKeyboardMouseButtons

KBMOUSE_STATIC int g_nKeyboardMouseButtons

Definition at line 941 of file globals.h.

Referenced by KeyboardMousePump().

◆ g_nLastAdaptiveDifficultyChangeFrame

short g_nLastAdaptiveDifficultyChangeFrame
extern

Definition at line 11 of file ship.c.

Referenced by DecreaseAdaptiveDifficulty(), IncreaseAdaptiveDifficulty(), and init_mission().

◆ g_nLastFoundShip

short g_nLastFoundShip
extern

Definition at line 1057 of file logic.c.

Referenced by find_ship_index().

◆ g_nLastFriendlyFireObjectFrame

short g_nLastFriendlyFireObjectFrame
extern

Definition at line 14 of file ship.c.

Referenced by inflict_damage().

◆ g_nLegacySaveSource

int g_nLegacySaveSource
extern

Definition at line 10 of file personnel.c.

Referenced by LocateLegacySaveGame(), and SelectLegacyGameSource().

◆ g_nLimitedMusicBufferAState

short g_nLimitedMusicBufferAState
extern

◆ g_nLimitedMusicBufferBState

short g_nLimitedMusicBufferBState
extern

◆ g_nLoadedCommPortraitPilot

short g_nLoadedCommPortraitPilot
extern

Definition at line 55 of file viewrect.c.

Referenced by free_cockpit(), init_intelligence_data(), and real_vid_transmit().

◆ g_nMenuInputRepeatDelay

short g_nMenuInputRepeatDelay
extern

◆ g_nMenuPointerSpeed

short g_nMenuPointerSpeed
extern

Definition at line 9 of file input.c.

Referenced by PollMenuInputDevices().

◆ g_nMenuSelectedCol

◆ g_nMinimumMemoryAlternate

int g_nMinimumMemoryAlternate
extern

Definition at line 571 of file startup.c.

Referenced by LoadOriginFxDrivers().

◆ g_nMinimumMemoryFullMusic

int g_nMinimumMemoryFullMusic
extern

Definition at line 570 of file startup.c.

Referenced by LoadOriginFxDrivers().

◆ g_nMinimumMemoryNoMusic

int g_nMinimumMemoryNoMusic
extern

Definition at line 569 of file startup.c.

Referenced by LoadOriginFxDrivers().

◆ g_nMissionEntryNavOverride

short g_nMissionEntryNavOverride
extern

Definition at line 1951 of file main.c.

Referenced by prepare_mission(), and RunGameApplication().

◆ g_nMissionMedalScore

short g_nMissionMedalScore
extern

◆ g_nMissionMusicTrackOverride

int g_nMissionMusicTrackOverride
extern

Definition at line 194 of file viewrect.c.

Referenced by gametrack(), and init_intelligence_data().

◆ g_nMissionScore

short g_nMissionScore
extern

◆ g_nMouseCursorDrawDepth

◆ g_nMousePitchInput

short g_nMousePitchInput
extern

Definition at line 1976 of file main.c.

Referenced by player_input().

◆ g_nMouseYawInput

short g_nMouseYawInput
extern

Definition at line 1975 of file main.c.

Referenced by player_input().

◆ g_nMusicDriverMode

◆ g_nMusicTrackComplete

short g_nMusicTrackComplete
extern

◆ g_nMusicVolumeSetting

int g_nMusicVolumeSetting
extern

◆ g_nNavMapCentreY

short g_nNavMapCentreY
extern

Definition at line 1246 of file nav.c.

Referenced by ScaleNavMapCoordinates(), and SetScale().

◆ g_nNavMapCoordinateScaling

short g_nNavMapCoordinateScaling
extern

Definition at line 10 of file nav.c.

Referenced by nav_getxy(), and SetNavMapCoordinateScaling().

◆ g_nNavMapLabelCount

short g_nNavMapLabelCount
extern

◆ g_nNavmapMapMaximumY

short g_nNavmapMapMaximumY
extern

Definition at line 1242 of file nav.c.

Referenced by CheckPoint(), and SetScale().

◆ g_nNavmapMapMinimumX

short g_nNavmapMapMinimumX
extern

Definition at line 1240 of file nav.c.

Referenced by CheckPoint(), and SetScale().

◆ g_nNavMapReservedAreaCount

short g_nNavMapReservedAreaCount
extern

Definition at line 42 of file nav.c.

Referenced by NavMapLabelPositionAvailable(), ReserveNavMapArea(), and ResetNavMapReservedAreas().

◆ g_nNavMapScale

short g_nNavMapScale
extern

Definition at line 11 of file nav.c.

Referenced by ScaleNavMapCoordinates(), ScaleNavMapMarkerSize(), and SetScale().

◆ g_nNavPlotMaxX

short g_nNavPlotMaxX
extern

Definition at line 1239 of file nav.c.

Referenced by CheckPoint(), and SetScale().

◆ g_nNavPointerObject

◆ g_nNearArenaSize

◆ g_nNearHeapActive

volatile short g_nNearHeapActive
extern

Definition at line 9 of file nearheap.c.

Referenced by InitializeNearHeap(), PurgeNearHeapBlocks(), and ShutdownNearHeap().

◆ g_nNearHeapFirstDescriptor

◆ g_nNearHeapMaxDescriptors

volatile short g_nNearHeapMaxDescriptors
extern

◆ g_nNearHeapRelocationBytes

volatile int g_nNearHeapRelocationBytes
extern

Definition at line 11 of file nearheap.c.

Referenced by InitializeNearHeap(), and ShutdownNearHeap().

◆ g_nNextCutsceneFrameClock

int g_nNextCutsceneFrameClock
extern

Definition at line 3706 of file gameflow.c.

Referenced by ExecuteCutsceneScene(), ExecuteCutsceneSequence(), and RunCutsceneScript().

◆ g_nNextInputPollTick

int g_nNextInputPollTick
extern

Definition at line 2481 of file eventmgr.c.

Referenced by ServiceInputDevices().

◆ g_nNextInputQueueFlushTick

int g_nNextInputQueueFlushTick
extern

◆ g_nObjectType62Index

short g_nObjectType62Index
extern

◆ g_nObjectType63Index

short g_nObjectType63Index
extern

◆ g_nOemCommaKeyState

WINMAIN_STATIC int g_nOemCommaKeyState

Definition at line 902 of file globals.h.

Referenced by PollKeyboardState().

◆ g_nOriginDevUnlock

◆ g_nPacketError

◆ g_nPacketHandleCount

int g_nPacketHandleCount
extern

Definition at line 149 of file memapi.c.

Referenced by IsPushedPacketHandle(), MapPacketHandleToBlock(), and PushMemoryStackFrame().

◆ g_nPaletteTransitionCountdownNumber

short g_nPaletteTransitionCountdownNumber
extern

Definition at line 94 of file fade.c.

Referenced by StepPaletteTransition().

◆ g_nPaletteTransitionInitialise

short g_nPaletteTransitionInitialise
extern

Definition at line 8 of file fade.c.

Referenced by StepPaletteTransition().

◆ g_nPassingShipSndCooldown

int g_nPassingShipSndCooldown
extern

Definition at line 609 of file music.c.

Referenced by init_3Space_objects(), and servicetrack().

◆ g_nPassingShipSoundCountdown

short g_nPassingShipSoundCountdown
extern

Definition at line 546 of file music.c.

Referenced by servicetrack().

◆ g_nPassingShipSoundObject

short g_nPassingShipSoundObject
extern

Definition at line 545 of file music.c.

Referenced by servicetrack().

◆ g_nPendingEjectionSequenceCount

short g_nPendingEjectionSequenceCount
extern

◆ g_nPendingEjectionShip

short g_nPendingEjectionShip
extern

Definition at line 69 of file destroy.c.

Referenced by BeginShipDestructionSequence(), and house_keep_objects().

◆ g_nPendingMouseX

int g_nPendingMouseX
extern

Definition at line 1371 of file winmain.c.

Referenced by MainWindowProc().

◆ g_nPendingMouseY

int g_nPendingMouseY
extern

Definition at line 1372 of file winmain.c.

Referenced by MainWindowProc().

◆ g_nPersonnelCursorX

short g_nPersonnelCursorX
extern

◆ g_nPersonnelCursorY

short g_nPersonnelCursorY
extern

◆ g_nPersonnelMenuHighlight

◆ g_nPersonnelMouseY

short g_nPersonnelMouseY
extern

◆ g_nPgUpwardKeyMode

WINMAIN_STATIC int g_nPgUpwardKeyMode

Definition at line 910 of file globals.h.

Referenced by PollKeyboardState().

◆ g_nPlayerCollisionObject

short g_nPlayerCollisionObject
extern

Definition at line 78 of file viewrect.c.

Referenced by house_keep_objects(), and init_3Space_objects().

◆ g_nPlayerShipType

short g_nPlayerShipType
extern

◆ g_nPreviousPrimaryButton

int g_nPreviousPrimaryButton
extern

Definition at line 2425 of file eventmgr.c.

Referenced by QueueInputEvent().

◆ g_nPreviousRollInput

short g_nPreviousRollInput
extern

◆ g_nPreviousSecondaryButton

int g_nPreviousSecondaryButton
extern

Definition at line 2426 of file eventmgr.c.

Referenced by QueueInputEvent().

◆ g_nPreviousYawInput

short g_nPreviousYawInput
extern

◆ g_nQueuedInputX

short g_nQueuedInputX
extern

◆ g_nQueuedInputY

short g_nQueuedInputY
extern

◆ g_nRenderedSpaceFrame

◆ g_nRevealVertThreshold

WIPE_STATIC int g_nRevealVertThreshold

Definition at line 577 of file globals.h.

Referenced by AdvanceViewportWipe(), and InitializeViewportWipe().

◆ g_nRightDirKeyboardState

WINMAIN_STATIC int g_nRightDirKeyboardState

Definition at line 903 of file globals.h.

Referenced by PollKeyboardState().

◆ g_nRLEEncodedMaximumX

int g_nRLEEncodedMaximumX
extern

◆ g_nRLEEncodedMaximumY

int g_nRLEEncodedMaximumY
extern

◆ g_nRLEEncodedMinimumX

int g_nRLEEncodedMinimumX
extern

◆ g_nRLEEncodedMinimumY

int g_nRLEEncodedMinimumY
extern

◆ g_nRLEPendingSkip

int g_nRLEPendingSkip
extern

◆ g_nRollInput

short g_nRollInput
extern

◆ g_nSavedPlayerTarget

short g_nSavedPlayerTarget
extern

◆ g_nSavedTargetLockCountdown

short g_nSavedTargetLockCountdown
extern

◆ g_nSavedWingmanObjectCounterValue

int g_nSavedWingmanObjectCounterValue
extern

Definition at line 293 of file jump.c.

Referenced by CompleteStarSystemJump(), and TryBeginStarSystemJump().

◆ g_nScannerTargetObject

short g_nScannerTargetObject
extern

Definition at line 54 of file cockpt.c.

Referenced by clear_head_up_display(), draw_3d_scanner(), and ResetScannerContacts().

◆ g_nSceneAnimationWaitFrames

short g_nSceneAnimationWaitFrames
extern

◆ g_nSceneFlicContext

short g_nSceneFlicContext
extern

◆ g_nScreenHeight

◆ g_nScreenWidth

◆ g_nSelectedCampaignSlot

◆ g_nSelectedGunType

short g_nSelectedGunType
extern

◆ g_nSelectedReleaseWeaponIndex

◆ g_nSelectedStartingCampaign

short g_nSelectedStartingCampaign
extern

Definition at line 353 of file campaign.c.

Referenced by InitializeNewPilotCampaign(), and main().

◆ g_nSfxVolumeSetting

int g_nSfxVolumeSetting
extern

◆ g_nShapeDrawTicks

int g_nShapeDrawTicks
extern

Definition at line 1708 of file gr.c.

Referenced by DrawSpriteTransformed().

◆ g_nShapePrepareTicks

int g_nShapePrepareTicks
extern

Definition at line 1706 of file gr.c.

Referenced by DrawSpriteTransformed().

◆ g_nShipAiScratchValue

FL_STATIC short g_nShipAiScratchValue

Definition at line 957 of file globals.h.

Referenced by Mveer_away(), and SetShipAiScratchWord().

◆ g_nShowMemoryStatus

◆ g_nSpaceBlastFlashIncrement

short g_nSpaceBlastFlashIncrement
extern

Definition at line 2006 of file main.c.

Referenced by DrawSpaceSceneFrame(), and house_keep_objects().

◆ g_nSpaceExplosionFlashActive

short g_nSpaceExplosionFlashActive
extern

Definition at line 14 of file spc.c.

Referenced by DrawSpaceSceneFrame(), house_keep_objects(), and RunSpaceFlight().

◆ g_nSpaceFrame

◆ g_nSpaceFramePeriod

short g_nSpaceFramePeriod
extern

Definition at line 1941 of file main.c.

Referenced by AdjustSpaceFramePeriod(), and RunSpaceFlight().

◆ g_nSpacePaletteFadeMode

◆ g_nStarFieldJRotationNumber

short g_nStarFieldJRotationNumber
extern

Definition at line 1723 of file spc.c.

Referenced by generate_stars(), and update_star_field().

◆ g_nStarSystemJumpDelay

short g_nStarSystemJumpDelay
extern

Definition at line 11 of file jump.c.

Referenced by CompleteStarSystemJump(), and TryBeginStarSystemJump().

◆ g_nStickRawY

int g_nStickRawY
extern

Definition at line 244 of file joycal.c.

Referenced by ReadCalibratedJoystick().

◆ g_nStreamerAudioPlaying

int g_nStreamerAudioPlaying
extern

◆ g_nTalkingHeadFaceX

short g_nTalkingHeadFaceX
extern

◆ g_nTalkingHeadFaceY

short g_nTalkingHeadFaceY
extern

◆ g_nTalkingHeadMouthX

short g_nTalkingHeadMouthX
extern

◆ g_nTalkingHeadMouthY

short g_nTalkingHeadMouthY
extern

◆ g_nTargetCameraEffectObjectA

short g_nTargetCameraEffectObjectA
extern

Definition at line 1267 of file turret.c.

Referenced by ClearTargetCameraView(), and ToggleTargetCameraTracking().

◆ g_nTargetCameraEffectObjectB

short g_nTargetCameraEffectObjectB
extern

Definition at line 1268 of file turret.c.

Referenced by ClearTargetCameraView(), and ToggleTargetCameraTracking().

◆ g_nTargetCameraFrame

◆ g_nTargetCameraObject

short g_nTargetCameraObject
extern

◆ g_nTargetCameraSoundHandle

int g_nTargetCameraSoundHandle
extern

Definition at line 1244 of file turret.c.

Referenced by ClearTargetCameraView(), and UpdateTargetCameraObject().

◆ g_nTargetCameraZoom

◆ g_nTargetFacing

◆ g_nTargetLeadIndicatorX

short g_nTargetLeadIndicatorX
extern

◆ g_nTargetLensPitchIndicatorY

short g_nTargetLensPitchIndicatorY
extern

◆ g_nTargetLockCountdown

◆ g_nTargetLockMarkerAngle

short g_nTargetLockMarkerAngle
extern

Definition at line 88 of file viewrect.c.

Referenced by draw_target_box(), and start_lock().

◆ g_nTargetLockMarkerX

short g_nTargetLockMarkerX
extern

Definition at line 101 of file cockpt.c.

Referenced by draw_target_box().

◆ g_nTargetLockMusicCooldown

short g_nTargetLockMusicCooldown
extern

◆ g_nTargetRange

◆ g_nTargetShip

◆ g_nTitleMusicSequenceStage

short g_nTitleMusicSequenceStage
extern

◆ g_nTrainSimActive

◆ g_nUiCursorFrame

short g_nUiCursorFrame
extern

◆ g_nUnusedDibWord1

int g_nUnusedDibWord1
extern

Definition at line 82 of file dib.cpp.

◆ g_nUnusedDibWord2

int g_nUnusedDibWord2
extern

Definition at line 90 of file dib.cpp.

◆ g_nUnusedDibWord4

int g_nUnusedDibWord4
extern

Definition at line 125 of file dib.cpp.

◆ g_nUnusedDibWord5

int g_nUnusedDibWord5
extern

Definition at line 126 of file dib.cpp.

◆ g_nUnusedInputWord1

short g_nUnusedInputWord1
extern

◆ g_nUnusedInputWord2

short g_nUnusedInputWord2
extern

◆ g_nUnusedInputWord3

short g_nUnusedInputWord3
extern

◆ g_nUnusedInputWord4

short g_nUnusedInputWord4
extern

◆ g_nUnusedModalWord

short g_nUnusedModalWord
extern

◆ g_nUnusedScreenWord1

int g_nUnusedScreenWord1
extern

Definition at line 121 of file dib.cpp.

◆ g_nUnusedScreenWord2

int g_nUnusedScreenWord2
extern

Definition at line 122 of file dib.cpp.

◆ g_nViewportAllocationCount

int g_nViewportAllocationCount
extern

Definition at line 51 of file vpfree.c.

Referenced by AllocateViewport(), free_viewport(), and ValidateViewportBounds().

◆ g_nViewportStaticRandomRange

const int g_nViewportStaticRandomRange
extern

Definition at line 10 of file gr.c.

Referenced by snow_viewport().

◆ g_nWaitForMusicEnabled

short g_nWaitForMusicEnabled
extern

Definition at line 531 of file music.c.

Referenced by EnableMusicForScene(), and wait_for_end_of_music().

◆ g_nWeaponDisplayOffsetY

short g_nWeaponDisplayOffsetY
extern

◆ g_nWingmanEngagementMode

short g_nWingmanEngagementMode
extern

◆ g_nWingmanFormationDisobeyMode

short g_nWingmanFormationDisobeyMode
extern

◆ g_nWingmanKillCount

short g_nWingmanKillCount
extern

◆ g_nWingmanTargetingMode

short g_nWingmanTargetingMode
extern

◆ g_nWipeCurrentVerticalEdges

WIPE_STATIC short g_nWipeCurrentVerticalEdges

Definition at line 566 of file globals.h.

Referenced by AdvanceViewportWipe(), and FinishViewportWipe().

◆ g_nWipeRadialRowCount

short g_nWipeRadialRowCount
extern

Definition at line 1353 of file wipe.c.

Referenced by GenerateWipeRadialEdges(), and InitializeViewportWipe().

◆ g_nWipeUnusedValue

WIPE_STATIC int g_nWipeUnusedValue

Definition at line 685 of file globals.h.

◆ g_nYawInput

short g_nYawInput
extern

◆ g_nYourWingman

◆ g_pActiveHazardField

◆ g_pActiveInputContext

InputPumpContext* g_pActiveInputContext
extern

◆ g_pActiveScenePacket

◆ g_pActiveSoundHead

◆ g_pActiveSoundTail

ActiveSoundEntry* g_pActiveSoundTail
extern

Definition at line 9 of file sound.c.

Referenced by AllocateActiveSoundEntry(), and RemoveActiveSoundEntry().

◆ g_pApplicationScratchBuffer

void* g_pApplicationScratchBuffer
extern

◆ g_pBriefingCloseupShape

unsigned char* g_pBriefingCloseupShape
extern

◆ g_pCampaignChalkboardShape

unsigned char* g_pCampaignChalkboardShape
extern

◆ g_pCampaignGlobals

◆ g_pCockpitBackgroundPacket

unsigned char* g_pCockpitBackgroundPacket
extern

◆ g_pCockpitExplosionBackground

◆ g_pCockpitExplosionShape

unsigned char* volatile g_pCockpitExplosionShape
extern

◆ g_pCockpitHudBackground

unsigned char* g_pCockpitHudBackground
extern

◆ g_pCockpitViewFrameInfo

unsigned char* g_pCockpitViewFrameInfo
extern

Definition at line 1071 of file fltsetup.c.

Referenced by initialize_cockpit().

◆ g_pCommPortraitResource

unsigned char* g_pCommPortraitResource
extern

◆ g_pCommVduFrameResource

unsigned char* g_pCommVduFrameResource
extern

Definition at line 17 of file comm.c.

Referenced by free_cockpit(), LoadCommPortraitResources(), and vid_transmit().

◆ g_pConstellationDefinitions

ConstellationObjectDefinition* g_pConstellationDefinitions
extern

◆ g_pConstellationSprite

◆ g_pConstellationWindow

Viewport* g_pConstellationWindow
extern

◆ g_pConversationOverlayShape

unsigned char* g_pConversationOverlayShape
extern

◆ g_pConversationSpecialShape

unsigned char* g_pConversationSpecialShape
extern

◆ g_pCurrentCampaignDate

CampaignDate* g_pCurrentCampaignDate
extern

◆ g_pCurrentCutscenePlane

CutscenePlane* g_pCurrentCutscenePlane
extern

Definition at line 3701 of file gameflow.c.

Referenced by ExecuteCutsceneScene(), RunCutsceneScript(), and UpdateCutscenePlaneObject().

◆ g_pCurrentCutsceneScene

CutsceneScene* g_pCurrentCutsceneScene
extern

Definition at line 3703 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_pCurrentCutsceneSequence

CutsceneSequence* g_pCurrentCutsceneSequence
extern

Definition at line 3702 of file gameflow.c.

Referenced by ExecuteCutsceneSequence(), and RunCutsceneScript().

◆ g_pCurrentCutsceneSprite

SceneFlicObject* g_pCurrentCutsceneSprite
extern

◆ g_pCutsceneCockpitPacket

void* g_pCutsceneCockpitPacket
extern

◆ g_pCutsceneCockpitPalette

void* g_pCutsceneCockpitPalette
extern

◆ g_pCutsceneFilmResources

CutsceneResourceTable* g_pCutsceneFilmResources
extern

◆ g_pCutsceneFontResources

CutsceneResourceTable* g_pCutsceneFontResources
extern

◆ g_pCutsceneFxPacket

void* g_pCutsceneFxPacket
extern

Definition at line 3680 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_pCutsceneFxResources

CutsceneResourceTable* g_pCutsceneFxResources
extern

◆ g_pCutsceneMouseResources

CutsceneResourceTable* g_pCutsceneMouseResources
extern

Definition at line 16 of file iffload.c.

Referenced by ParseCutsceneContainer(), and ReleaseCutsceneResourceLevel().

◆ g_pCutsceneMusicPackets

CutsceneMusicNode* g_pCutsceneMusicPackets
extern

Definition at line 3681 of file gameflow.c.

Referenced by FindLoadedCutsceneMusic(), and RunCutsceneScript().

◆ g_pCutsceneMusicResources

◆ g_pCutscenePaletteResources

CutsceneResourceTable* g_pCutscenePaletteResources
extern

◆ g_pCutscenePlaneResources

CutsceneObjectResourceList* g_pCutscenePlaneResources
extern

◆ g_pCutsceneSceneResources

CutsceneObjectResourceList* g_pCutsceneSceneResources
extern

◆ g_pCutsceneSequenceResources

CutsceneObjectResourceList* g_pCutsceneSequenceResources
extern

◆ g_pCutsceneShapeResources

CutsceneResourceTable* g_pCutsceneShapeResources
extern

◆ g_pCutsceneSoundEffects

CutsceneSoundEffect* g_pCutsceneSoundEffects
extern

◆ g_pCutsceneSpeechResources

CutsceneResourceTable* g_pCutsceneSpeechResources
extern

◆ g_pCutsceneSpriteParentPlane

CutscenePlane* g_pCutsceneSpriteParentPlane
extern

Definition at line 3760 of file gameflow.c.

Referenced by DrawCutscenePlane(), DrawCutsceneSprite(), and RunCutsceneScript().

◆ g_pCutsceneSpriteResources

◆ g_pCutsceneTextResources

CutsceneTextResource* g_pCutsceneTextResources
extern

◆ g_pDamageDisplayBackground

unsigned char* g_pDamageDisplayBackground
extern

Definition at line 8 of file damage.c.

Referenced by free_cockpit(), InitializeCockpitResources(), and UpdateDamageDisplay().

◆ g_pDebriefingTextData

unsigned char* g_pDebriefingTextData
extern

◆ g_pDebugLogFile

FILE* g_pDebugLogFile
extern

Definition at line 1367 of file winmain.c.

Referenced by WriteDebugString().

◆ g_pDiagnosticOverlay

◆ g_pDibScreenAllocationStatePointer

int* g_pDibScreenAllocationStatePointer
extern

Definition at line 61 of file screen.c.

Referenced by InitializeDIBScreenViewport().

◆ g_pDibScreenViewport

Viewport* g_pDibScreenViewport
extern

Definition at line 54 of file screen.c.

Referenced by InitializeDIBScreenViewport().

◆ g_pDibScreenViewportMirrorRef

Viewport* g_pDibScreenViewportMirrorRef
extern

Definition at line 59 of file screen.c.

Referenced by InitializeDIBScreenViewport().

◆ g_pDigiSample

void* g_pDigiSample
extern

Definition at line 280 of file speech.c.

Referenced by InitializeSoundBlaster(), LoadAndPlaySpeechPacket(), and ShutdownSoundBlaster().

◆ g_pDirectDraw2

◆ g_pDirectDrawPalette

LPDIRECTDRAWPALETTE g_pDirectDrawPalette
extern

◆ g_pDiskFileRecords

DiskFileRecord* g_pDiskFileRecords
extern

◆ g_pDrawnInputCursorShape

unsigned char* g_pDrawnInputCursorShape
extern

◆ g_pfnUnusedInputCallback

void(*) g_pfnUnusedInputCallback(void) ( void )
extern

◆ g_pFreedHeapBlockHead

◆ g_pFreedHeapBlockTail

FreedHeapBlock* g_pFreedHeapBlockTail
extern

Definition at line 1378 of file winmain.c.

Referenced by TrackFreedHeapBlock(), and UntrackFreedHeapBlock().

◆ g_pGenericMissileExhaustShape

unsigned char* g_pGenericMissileExhaustShape
extern

Definition at line 1062 of file fltsetup.c.

Referenced by free_3Space_objects(), load_common_3Space_objects(), and set_objects_data().

◆ g_pGenericMissileShape

unsigned char* g_pGenericMissileShape
extern

Definition at line 1061 of file fltsetup.c.

Referenced by free_3Space_objects(), load_common_3Space_objects(), and set_objects_data().

◆ g_pGifRasterTarget

RasterClip* g_pGifRasterTarget
extern

◆ g_pGuardedAllocationHead

GuardedAllocation* g_pGuardedAllocationHead
extern

Definition at line 1376 of file winmain.c.

Referenced by AllocateGuardedMemory(), and FreeGuardedAllocation().

◆ g_pHighMemoryBlockA

◆ g_pHighMemoryBlockB

void* g_pHighMemoryBlockB
extern

◆ g_pHudMessageBackground

unsigned char* g_pHudMessageBackground
extern

◆ g_pHudMessageFrameShape

unsigned char* g_pHudMessageFrameShape
extern

◆ g_pInitialArguments

char* g_pInitialArguments[31]
extern

Definition at line 2003 of file main.c.

Referenced by LoadWingCmdrCfgFile(), and RunGameApplication().

◆ g_pInputCursorShape

unsigned char* g_pInputCursorShape
extern

◆ g_pInputEventHead

◆ g_pInputEventTail

InputEvent* g_pInputEventTail
extern

◆ g_pInputViewport

Viewport* g_pInputViewport
extern

◆ g_pIntroFont

unsigned char* g_pIntroFont
extern

◆ g_pLimitedMusicBufferA

void* g_pLimitedMusicBufferA
extern

◆ g_pLimitedMusicBufferB

void* g_pLimitedMusicBufferB
extern

◆ g_pLinkedCutscenePlane

CutscenePlane* g_pLinkedCutscenePlane
extern

Definition at line 3696 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_pLinkedCutsceneSequence

CutsceneSequence* g_pLinkedCutsceneSequence
extern

Definition at line 3697 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_pLinkedCutsceneSprite

SceneFlicObject* g_pLinkedCutsceneSprite
extern

Definition at line 3695 of file gameflow.c.

Referenced by RunCutsceneScript().

◆ g_pMemoryAdjustment

void* g_pMemoryAdjustment
extern

Definition at line 1949 of file main.c.

Referenced by LogMemoryUsage(), and RunGameApplication().

◆ g_pMemoryLogFile

◆ g_pMissionCampaignData

unsigned char* g_pMissionCampaignData
extern

◆ g_pModalTextPanel

ModalTextPanel* g_pModalTextPanel
extern

Definition at line 12 of file optmenu.c.

Referenced by ReleaseModalTextPanel(), and ShowModalTextPanel().

◆ g_pMouseCursorResource

unsigned char* g_pMouseCursorResource
extern

◆ g_pNavLocationText

unsigned char* g_pNavLocationText
extern

Definition at line 43 of file nav.c.

Referenced by BriefingMap_DisplayMap(), DrawNavLocationReadout(), and free_3Space().

◆ g_pNavMapShape

unsigned char* g_pNavMapShape
extern

Definition at line 40 of file nav.c.

Referenced by BriefingMap_DisplayMap(), BriefingMap_LoadShapes(), BuildMap(), and InflightComputer().

◆ g_pPaletteTransitionAccumulator

short* g_pPaletteTransitionAccumulator
extern

Definition at line 93 of file fade.c.

Referenced by StepPaletteTransition().

◆ g_pPaletteTransitionDeltaPtr

short* g_pPaletteTransitionDeltaPtr
extern

Definition at line 91 of file fade.c.

Referenced by StepPaletteTransition().

◆ g_pPaletteTransitionDirectionRef

short* g_pPaletteTransitionDirectionRef
extern

Definition at line 90 of file fade.c.

Referenced by StepPaletteTransition().

◆ g_pPendingCockpitDamageShape

unsigned char* g_pPendingCockpitDamageShape
extern

Definition at line 40 of file cockpt.c.

Referenced by DrawPendingCockpitDamage(), explosion_draw(), and free_cockpit().

◆ g_pPersonnelCampaignSnapshot

void* g_pPersonnelCampaignSnapshot
extern

Definition at line 35 of file personnel.c.

Referenced by RunPilotSaveLoadMenu().

◆ g_pPersonnelMenuBackdrop

◆ g_pPilotHandAnimationShapePtr

◆ g_pPilotStatus

◆ g_pPrimarySurface

◆ g_pReleaseWeaponDisplayBackground

unsigned char* g_pReleaseWeaponDisplayBackground
extern

◆ g_pRLEEncodeBuffer

unsigned char* g_pRLEEncodeBuffer
extern

◆ g_pRLELiteralStart

unsigned char* g_pRLELiteralStart
extern

◆ g_pRLEOutputCursor

unsigned char* g_pRLEOutputCursor
extern

◆ g_pRLEScanCursor

unsigned char* g_pRLEScanCursor
extern

◆ g_pRLEScanlineStart

unsigned char* g_pRLEScanlineStart
extern

◆ g_pSceneAnimationDefinitions

unsigned char* g_pSceneAnimationDefinitions
extern

◆ g_pSceneAnimationObjects

SceneAnimationObject* g_pSceneAnimationObjects
extern

◆ g_pSceneAnimationPrimaryShape

unsigned char* g_pSceneAnimationPrimaryShape
extern

◆ g_pSceneAnimationSecondaryShape

unsigned char* g_pSceneAnimationSecondaryShape
extern

◆ g_pSceneMusicPacket

void* g_pSceneMusicPacket
extern

Definition at line 16 of file gameflow.c.

Referenced by ReleaseSceneMusicPacket(), RunCutsceneScript(), and RunLoadedCutscene().

◆ g_pSecondarySurface

LPDIRECTDRAWSURFACE g_pSecondarySurface
extern

◆ g_pSnowStaticClip

WaveTableEntry* g_pSnowStaticClip
extern

Definition at line 17 of file sound.c.

Referenced by PlaySnowStaticSound(), and stop_all_sounds().

◆ g_pSpeechSnd

IxSound* g_pSpeechSnd
extern

Definition at line 18 of file sound.c.

Referenced by PlayRawSpeechBuffer(), and ServiceSoundSystem().

◆ g_pszAutopilotWaitReason

char* g_pszAutopilotWaitReason
extern

Definition at line 45 of file cockpt.c.

Referenced by auto_pilot_valid(), flag_reached(), and TryBeginStarSystemJump().

◆ g_pszCommScreenHeading

const char* g_pszCommScreenHeading
extern

Definition at line 587 of file comm.c.

Referenced by OpenCommMenuForTarget(), and show_communications_disp().

◆ g_pszCurrentCutsceneText

char* g_pszCurrentCutsceneText
extern

◆ g_pszCutsceneSpeechCursor

char* g_pszCutsceneSpeechCursor
extern

Definition at line 3751 of file gameflow.c.

Referenced by AnimateCutsceneSpeakerMouth(), and RunCutsceneScript().

◆ g_pszDisplayedHudMessage

char* g_pszDisplayedHudMessage
extern

Definition at line 33 of file cockpt.c.

Referenced by ClearHudMessageDisplay(), print_message_text(), and RenderSpaceViewFrame().

◆ g_pszGameVersion

char* g_pszGameVersion
extern

Definition at line 10 of file version.c.

Referenced by main(), and ShowVersionBanner().

◆ g_pszMissileLocked

const char* g_pszMissileLocked
extern

Definition at line 95 of file cockpt.c.

Referenced by decrement_lock_time(), and lock_off().

◆ g_pszPacketAllocateOperation

const char* g_pszPacketAllocateOperation
extern

Definition at line 9 of file disk.c.

Referenced by ReportPacketLoadError().

◆ g_pszPacketLoadErrorFormat

const char* g_pszPacketLoadErrorFormat
extern

Definition at line 10 of file disk.c.

Referenced by ReportPacketLoadError().

◆ g_pszPacketReadOperation

const char* g_pszPacketReadOperation
extern

Definition at line 8 of file disk.c.

Referenced by ReportPacketLoadError().

◆ g_pszPendingHudMessage

char* g_pszPendingHudMessage
extern

◆ g_pszPersonnelFooter

◆ g_pWaveTableHead

WaveTableEntry* g_pWaveTableHead
extern

◆ g_pWaveTableTail

WaveTableEntry* g_pWaveTableTail
extern

Definition at line 12 of file sound.c.

Referenced by AllocateWaveTableEntry(), FreeWaveTable(), and RemoveWaveTableEntry().

◆ g_sPersonnelPreviousInput

short g_sPersonnelPreviousInput
extern

Definition at line 38 of file personnel.c.

Referenced by PollPersonnelMenuInput().

◆ g_stCampaignState

CampaignState g_stCampaignState
extern

◆ g_stCockpitBackgroundViewportRecord

Viewport g_stCockpitBackgroundViewportRecord
extern

Definition at line 1068 of file fltsetup.c.

Referenced by explosion_draw(), and initialize_cockpit().

◆ g_stCockpitScannerGeometry

CockpitScannerGeometry g_stCockpitScannerGeometry
extern

Definition at line 23 of file cockpt.c.

Referenced by draw_3d_scanner(), InitializeCockpitResources(), and set_objective_range().

◆ g_stCommTargetBracketBounds

ShortRect g_stCommTargetBracketBounds
extern

Definition at line 103 of file cockpt.c.

Referenced by overlay_head_up_display(), and RestoreTransientCockpitGraphics().

◆ g_stConstellationViewport

Viewport g_stConstellationViewport
extern

◆ g_stCurrentFlightInput

InputDeviceSample g_stCurrentFlightInput
extern

Definition at line 1959 of file main.c.

Referenced by get_player_input(), HandleFleetOverviewInput(), and player_input().

◆ g_stCurrentPilotProfile

◆ g_stCutsceneTextBounds

ShortRect g_stCutsceneTextBounds
extern

Definition at line 3757 of file gameflow.c.

Referenced by DrawCutsceneTextAt(), and RunCutsceneScript().

◆ g_stDefaultPilotProfile

PilotProfile g_stDefaultPilotProfile
extern

Definition at line 8 of file campaign.c.

Referenced by OpenDiskDataFile(), RunGameApplication(), and RunPilotSaveLoadMenu().

◆ g_stDiskPromptBackgroundViewport

Viewport g_stDiskPromptBackgroundViewport
extern

◆ g_stDiskPromptTextContext

TextContext g_stDiskPromptTextContext
extern

◆ g_stDiskPromptViewport

Viewport g_stDiskPromptViewport
extern

◆ g_stHarmSpritePosition

ShortPoint g_stHarmSpritePosition
extern

Definition at line 277 of file damage.c.

Referenced by UpdateDamageDisplay().

◆ g_stHudMessageOrigin

ShortPoint g_stHudMessageOrigin
extern

◆ g_stLeftVduBounds

ShortRect g_stLeftVduBounds
extern

Definition at line 21 of file cockpt.c.

Referenced by InitializeCockpitResources().

◆ g_stModalBounds

ShortRect g_stModalBounds
extern

Definition at line 11 of file optmenu.c.

Referenced by ShowModalTextPanel().

◆ g_stNavMapTextCtx

TextContext g_stNavMapTextCtx
extern

Definition at line 1245 of file nav.c.

Referenced by DrawNavLocationReadout(), InflightComputer(), and UpdateInflightNavText().

◆ g_stPilotHandBackgroundViewportBlock

◆ g_stPilotHandBounds

ShortRect g_stPilotHandBounds
extern

Definition at line 24 of file cockpt.c.

Referenced by InitializeCockpitResources().

◆ g_stPilotHandOrigin

ShortPoint g_stPilotHandOrigin
extern

◆ g_stPilotHandViewportRecord

Viewport g_stPilotHandViewportRecord
extern

◆ g_stPilotNameVariables

◆ g_stRightVduBounds

ShortRect g_stRightVduBounds
extern

Definition at line 22 of file cockpt.c.

Referenced by InitializeCockpitResources().

◆ g_stSceneTextList

◆ g_stSceneZoneTable

◆ g_stScreenLimits

◆ g_stSecondaryViewBufferBlock

◆ g_stTargetBracketBounds

ShortRect g_stTargetBracketBounds
extern

Definition at line 102 of file cockpt.c.

Referenced by overlay_head_up_display(), and RestoreTransientCockpitGraphics().

◆ g_stTrainSimHighScoreBufferViewport

Viewport g_stTrainSimHighScoreBufferViewport
extern

◆ g_stTrainSimHighScoreDisplayViewport

Viewport g_stTrainSimHighScoreDisplayViewport
extern

◆ g_stTrainSimHighScoreTextContext

TextContext g_stTrainSimHighScoreTextContext
extern

◆ g_stTrainSimLeftVduSource

Viewport g_stTrainSimLeftVduSource
extern

Definition at line 109 of file cockpt.c.

Referenced by CopyTrainSimPilotViewToVdus().

◆ g_stTrainSimRightVduSource

Viewport g_stTrainSimRightVduSource
extern

Definition at line 108 of file cockpt.c.

Referenced by CopyTrainSimPilotViewToVdus().

◆ g_stTrainSimTextContext

TextContext g_stTrainSimTextContext
extern

◆ g_stTrainSimTitleDisplayViewport

Viewport g_stTrainSimTitleDisplayViewport
extern

◆ g_stWeaponDisplayOffset

ShortPoint g_stWeaponDisplayOffset
extern

Definition at line 12 of file cockpt.c.

Referenced by show_damage_disp(), show_weapon_disp(), and update_status_text().

◆ g_stWingmanIntelligence

◆ g_szAccelerationAbsorbers

char g_szAccelerationAbsorbers[16]
extern

◆ g_szAlreadyVisited

char g_szAlreadyVisited[16]
extern

◆ g_szAutopilotWaitReason

char g_szAutopilotWaitReason[28]
extern

Definition at line 111 of file cockpt.c.

◆ g_szAutoTargetting

char g_szAutoTargetting[20]
extern

◆ g_szBriefingNavMapTitle

char g_szBriefingNavMapTitle[20]
extern

◆ g_szCalculating

char g_szCalculating[12]
extern

◆ g_szCannedSceneCreateError

char g_szCannedSceneCreateError[4]
extern

◆ g_szCannedSceneReadOpenError

char g_szCannedSceneReadOpenError[4]
extern

◆ g_szCannedSceneTapeFile

◆ g_szCannedSceneWriteOpenError

char g_szCannedSceneWriteOpenError[4]
extern

◆ g_szCaptainRank

char g_szCaptainRank[8]
extern

◆ g_szChooseCommPrompt

char g_szChooseCommPrompt[8]
extern

◆ g_szCommCompactHeadingPrefix

char g_szCommCompactHeadingPrefix[20]
extern

◆ g_szCommHeadingNewline

char g_szCommHeadingNewline[4]
extern

◆ g_szCommHeadingPrefix

char g_szCommHeadingPrefix[24]
extern

◆ g_szCommMenuChoiceFormat

char g_szCommMenuChoiceFormat[8]
extern

◆ g_szCommMessageTextText

char g_szCommMessageTextText[0x58]
extern

Definition at line 585 of file comm.c.

Referenced by real_vid_transmit(), and vid_transmit().

◆ g_szCommRecipientHeading

char g_szCommRecipientHeading[36]
extern

◆ g_szCommSpeakerTextFormat

char g_szCommSpeakerTextFormat[8]
extern

◆ g_szCompNavigation

char g_szCompNavigation[16]
extern

◆ g_szComponentFixedFormat

char g_szComponentFixedFormat[8]
extern

◆ g_szComputerSystem

char g_szComputerSystem[16]
extern

◆ g_szConfedNavScan

char g_szConfedNavScan[16]
extern

◆ g_szCreateBlockFileError

DATAFILE_STATIC char g_szCreateBlockFileError[0x40]

Definition at line 920 of file globals.h.

Referenced by CreateDataFile().

◆ g_szCutscenePlaneType

char g_szCutscenePlaneType[8]
extern

◆ g_szCutsceneScriptType

char g_szCutsceneScriptType[8]
extern

◆ g_szCutsceneSequenceType

char g_szCutsceneSequenceType[12]
extern

◆ g_szCutsceneSpriteType

char g_szCutsceneSpriteType[8]
extern

◆ g_szDamageDestroyed

char g_szDamageDestroyed[12]
extern

◆ g_szDamagedUnitCountFormat

char g_szDamagedUnitCountFormat[20]
extern

◆ g_szDamageHeavy

char g_szDamageHeavy[8]
extern

◆ g_szDamageLight

char g_szDamageLight[8]
extern

◆ g_szDamageModerate

char g_szDamageModerate[12]
extern

◆ g_szDamageOk

char g_szDamageOk[4]
extern

◆ g_szDamageReport

char g_szDamageReport[16]
extern

◆ g_szDamageStatusFormat

char g_szDamageStatusFormat[16]
extern

◆ g_szDamageStatusFormatHighRes

char g_szDamageStatusFormatHighRes[16]
extern

◆ g_szDebugOverlayFontName

char g_szDebugOverlayFontName[8]
extern

◆ g_szDebugOverlayNewline

char g_szDebugOverlayNewline[4]
extern

◆ g_szDebugOverlaySpinner

char g_szDebugOverlaySpinner[5]
extern

◆ g_szDefaultCallsign

char g_szDefaultCallsign[12]
extern

◆ g_szDefaultPilotName

char g_szDefaultPilotName[8]
extern

◆ g_szDestinationFormat

char g_szDestinationFormat[20]
extern

◆ g_szEjectorSystem

char g_szEjectorSystem[16]
extern

◆ g_szEmptyTargetDisplayText

char g_szEmptyTargetDisplayText[4]
extern

Definition at line 14 of file target.c.

Referenced by show_target_disp().

◆ g_szEndInflightReplay

char g_szEndInflightReplay[20]
extern

◆ g_szEnemyTarget

char g_szEnemyTarget[16]
extern

◆ g_szFirstLieutenantRank

char g_szFirstLieutenantRank[8]
extern

◆ g_szFrameErrorMessage

char g_szFrameErrorMessage[0x8c]
extern

Definition at line 109 of file dib.cpp.

Referenced by DIBerror().

◆ g_szFuelTanksHit

char g_szFuelTanksHit[16]
extern

◆ g_szGameVersion

char g_szGameVersion[9]
extern

◆ g_szGuardedHeapDiagnosticMessage

char g_szGuardedHeapDiagnosticMessage[0x80]
extern

Definition at line 1389 of file winmain.c.

Referenced by FreeGuardedAllocation().

◆ g_szIdentifiedTargetNameFormat

char g_szIdentifiedTargetNameFormat[4]
extern

◆ g_szInputCursorPacketName

char g_szInputCursorPacketName[12]
extern

Definition at line 563 of file startup.c.

Referenced by EMStartUp().

◆ g_szIntercomUnit

char g_szIntercomUnit[16]
extern

◆ g_szIonDrive

char g_szIonDrive[12]
extern

◆ g_szIttsEngaged

char g_szIttsEngaged[13]
extern

◆ g_szLieutenantColonelRank

char g_szLieutenantColonelRank[12]
extern

◆ g_szLockedTarget

char g_szLockedTarget[20]
extern

◆ g_szMajorRank

char g_szMajorRank[8]
extern

◆ g_szMissionBreakOff

char g_szMissionBreakOff[12]
extern

◆ g_szMissionComeHome

char g_szMissionComeHome[12]
extern

◆ g_szMissionDefend

char g_szMissionDefend[8]
extern

◆ g_szMissionEscort

char g_szMissionEscort[8]
extern

◆ g_szMissionFlee

char g_szMissionFlee[8]
extern

◆ g_szMissionGotoWarp

char g_szMissionGotoWarp[12]
extern

◆ g_szMissionPatrol

char g_szMissionPatrol[8]
extern

◆ g_szMissionRendezvous

char g_szMissionRendezvous[12]
extern

◆ g_szMissionStrike

char g_szMissionStrike[8]
extern

◆ g_szMissionTanker

char g_szMissionTanker[8]
extern

◆ g_szMissionTow

char g_szMissionTow[4]
extern

◆ g_szMissionWarpArrive

char g_szMissionWarpArrive[12]
extern

◆ g_szMissionWingman

char g_szMissionWingman[8]
extern

◆ g_szNavBlankLine

char g_szNavBlankLine[4]
extern

◆ g_szNavigationRangeLabel

char g_szNavigationRangeLabel[12]
extern

◆ g_szNavLabelTextFormat

char g_szNavLabelTextFormat[12]
extern

◆ g_szNavLocationFormat

char g_szNavLocationFormat[48]
extern

◆ g_szNavMissionFormat

char g_szNavMissionFormat[8]
extern

◆ g_szNavNoteFormat

char g_szNavNoteFormat[4]
extern

◆ g_szNavNotesHeading

char g_szNavNotesHeading[8]
extern

◆ g_szNavSectorFormat

char g_szNavSectorFormat[12]
extern

◆ g_szNavShipFormat

char g_szNavShipFormat[8]
extern

◆ g_szNavSystemFormat

char g_szNavSystemFormat[16]
extern

◆ g_szNavTitleFormat

char g_szNavTitleFormat[8]
extern

◆ g_szNavViewportName

char g_szNavViewportName[8]
extern

◆ g_szNeedLock

char g_szNeedLock[12]
extern

◆ g_szNewObjectivePrompt

char g_szNewObjectivePrompt[20]
extern

◆ g_szNoFurtherObjectives

char g_szNoFurtherObjectives[32]
extern

Definition at line 60 of file nav.c.

Referenced by nav_note().

◆ g_szNoInternalDamage

char g_szNoInternalDamage[20]
extern

◆ g_szNoObjective

char g_szNoObjective[8]
extern

◆ g_szNoTarget

char g_szNoTarget[8]
extern

◆ g_szNotEnoughMemoryMessage

char g_szNotEnoughMemoryMessage[]
extern

Definition at line 566 of file startup.c.

Referenced by LoadOriginFxDrivers(), and ReportOutOfMemoryAndExit().

◆ g_szObjectiveReached

char g_szObjectiveReached[20]
extern

◆ g_szOnScreenMessageBuffer

char g_szOnScreenMessageBuffer[52]
extern

Definition at line 583 of file comm.c.

Referenced by ShowCentredPrompt(), and ShowOnScreenMessage().

◆ g_szPlayWaveOpenError

char g_szPlayWaveOpenError[36]
extern

◆ g_szPowerPlant

char g_szPowerPlant[12]
extern

◆ g_szRangeKilometresSuffix

char g_szRangeKilometresSuffix[4]
extern

◆ g_szRangeLabel

char g_szRangeLabel[12]
extern

◆ g_szRangeMetresSuffix

char g_szRangeMetresSuffix[4]
extern

◆ g_szRasterDriverName

char g_szRasterDriverName[13]
extern

◆ g_szRepairSystems

char g_szRepairSystems[16]
extern

◆ g_szSecondLieutenantRank

char g_szSecondLieutenantRank[8]
extern

◆ g_szSeekDataFileFailure

DATAFILE_STATIC char g_szSeekDataFileFailure[0x48]

Definition at line 922 of file globals.h.

Referenced by SeekDataFile().

◆ g_szSelectCommPrompt

char g_szSelectCommPrompt[8]
extern

◆ g_szSfxWavePath

MUSIC_STATIC char g_szSfxWavePath[0x40]

Definition at line 949 of file globals.h.

Referenced by PlaySfxWaveFileByNumber().

◆ g_szShieldGenerator

char g_szShieldGenerator[16]
extern

◆ g_szShipTargetNameFormat

char g_szShipTargetNameFormat[4]
extern

◆ g_szShortCaptainRank

char g_szShortCaptainRank[8]
extern

◆ g_szShortFirstLieutenantRank

char g_szShortFirstLieutenantRank[8]
extern

◆ g_szShortLieutenantColonelRank

char g_szShortLieutenantColonelRank[8]
extern

◆ g_szShortMajorRank

char g_szShortMajorRank[8]
extern

◆ g_szShortSecondLieutenantRank

char g_szShortSecondLieutenantRank[8]
extern

◆ g_szSpaceBuffer

char g_szSpaceBuffer[16]
extern

◆ g_szStreamerDirectory

char g_szStreamerDirectory[128]
extern

Definition at line 15 of file stream.cpp.

Referenced by Streamer_open().

◆ g_szTargetLabel

char g_szTargetLabel[12]
extern

◆ g_szTargetOffscreenRange

char g_szTargetOffscreenRange[8]
extern

◆ g_szTargetOutOfRange

char g_szTargetOutOfRange[13]
extern

◆ g_szTargetTooFar

char g_szTargetTooFar[8]
extern

◆ g_szTargetTracking

char g_szTargetTracking[16]
extern

◆ g_szTextColourStringColourFormat

char g_szTextColourStringColourFormat[8]
extern

◆ g_szTextColourStringFormat

char g_szTextColourStringFormat[8]
extern

◆ g_szUnidentifiedCommRecipient

char g_szUnidentifiedCommRecipient[16]
extern

◆ g_szUnidentifiedEnemyTarget

char g_szUnidentifiedEnemyTarget[16]
extern

◆ g_szUnidentifiedFriendlyTarget

char g_szUnidentifiedFriendlyTarget[16]
extern

◆ g_szUnknownObjective

char g_szUnknownObjective[8]
extern

◆ g_szUnknownTarget

char g_szUnknownTarget[8]
extern

◆ g_szWaitForFormat

char g_szWaitForFormat[12]
extern

◆ g_szWeaponDestroyed

char g_szWeaponDestroyed[20]
extern

◆ g_szWriteDataFileError

DATAFILE_STATIC char g_szWriteDataFileError[0x40]

Definition at line 921 of file globals.h.

Referenced by WriteDataFileAtOffset().

◆ g_ucAsteroidNavMarkerColour

unsigned char g_ucAsteroidNavMarkerColour
extern

Definition at line 558 of file startup.c.

Referenced by BuildMap().

◆ g_ucDefaultTextColour

unsigned char g_ucDefaultTextColour
extern

◆ g_ucHomeCarrierScannerColour

unsigned char g_ucHomeCarrierScannerColour
extern

Definition at line 553 of file startup.c.

Referenced by get_color(), and InflightComputer().

◆ g_ucHostileCapitalScannerColour

unsigned char g_ucHostileCapitalScannerColour
extern

Definition at line 551 of file startup.c.

Referenced by get_color().

◆ g_ucNavObjectiveMarkerColour

unsigned char g_ucNavObjectiveMarkerColour
extern

Definition at line 555 of file startup.c.

Referenced by DrawNavMapBriefingBeacons().

◆ g_ucPendingEjectionTransition

◆ g_ucPlayerNavLabelColour

unsigned char g_ucPlayerNavLabelColour
extern

Definition at line 554 of file startup.c.

Referenced by BuildMap().

◆ g_ucPrimaryTextColour

◆ g_uFrameTimerEventId

unsigned int g_uFrameTimerEventId
extern

Definition at line 47 of file timer.c.

Referenced by SetMultimediaTimerCallback().

◆ g_vCollisionDelta

FixedVector g_vCollisionDelta
extern

Definition at line 43 of file viewrect.c.

Referenced by check_for_collision(), hit_asteroid(), object_collision(), and room_for_me().

◆ g_vPlayerAcceleration

FixedVector g_vPlayerAcceleration
extern

Definition at line 79 of file viewrect.c.

Referenced by accelerate_and_move_object().

◆ g_vPreviousStarFieldMotion

FixedVector g_vPreviousStarFieldMotion
extern

Definition at line 42 of file viewrect.c.

Referenced by update_star_field().

◆ g_vStarFieldMotion

FixedVector g_vStarFieldMotion
extern

Definition at line 41 of file viewrect.c.

Referenced by update_star_field().

◆ g_vToTarget

◆ g_wCutsceneDebugFrameNumber

unsigned short g_wCutsceneDebugFrameNumber
extern

Definition at line 3759 of file gameflow.c.

Referenced by PresentCutsceneFrame().

◆ g_wDigiLeft

unsigned short g_wDigiLeft
extern

Definition at line 1250 of file nav.c.

Referenced by PlaySpeechPacketBuffer(), and SoundBlasterDspInterrupt().

◆ g_wDigiPlaying

◆ g_wDmaAddressA

unsigned short g_wDmaAddressA
extern

Definition at line 15 of file speech.c.

Referenced by InitializeSoundBlaster(), and SoundBlasterDspInterrupt().

◆ g_wDmaAddressB

unsigned short g_wDmaAddressB
extern

Definition at line 16 of file speech.c.

Referenced by InitializeSoundBlaster(), and SoundBlasterDspInterrupt().

◆ g_wDmaCountA

unsigned short g_wDmaCountA
extern

Definition at line 17 of file speech.c.

Referenced by PlaySpeechPacketBuffer(), and SoundBlasterDspInterrupt().

◆ g_wDmaCountB

unsigned short g_wDmaCountB
extern

Definition at line 18 of file speech.c.

Referenced by PlaySpeechPacketBuffer(), and SoundBlasterDspInterrupt().

◆ g_wDmaHalfBytes

const unsigned short g_wDmaHalfBytes
extern

◆ g_wFlightInputButtonState

short g_wFlightInputButtonState
extern

Definition at line 1961 of file main.c.

Referenced by get_player_input().

◆ g_wHighMemoryBlockBytes

unsigned short g_wHighMemoryBlockBytes
extern

Definition at line 9 of file taperec.c.

Referenced by CheckCannedSceneBufferCapacity(), and InitializeHighMemoryGraphicsBuffers().

◆ g_wPacketCompressionFormatFlags

unsigned short g_wPacketCompressionFormatFlags
extern

◆ g_wPersonnelInputFlags

unsigned short g_wPersonnelInputFlags
extern

◆ g_wQueuedInputFlags

unsigned short g_wQueuedInputFlags
extern

◆ g_wSavedInputDeviceButtonState

MAIN_STATIC short g_wSavedInputDeviceButtonState

Definition at line 1715 of file globals.h.

Referenced by get_player_input().

◆ g_wSoundBlasterIrq

unsigned short g_wSoundBlasterIrq
extern

Definition at line 13 of file speech.c.

Referenced by InitializeSoundBlaster().

◆ g_wSoundBlasterPort

unsigned short g_wSoundBlasterPort
extern

Definition at line 12 of file speech.c.

Referenced by InitializeSoundBlaster(), and SoundBlasterDspInterrupt().