|
Wing Commander II
Reconstructed Win32 source (1996)
|
Personnel database, campaign chalkboard and pilot transfer. More...
#include "game.h"Go to the source code of this file.
Enumerations | |
| enum | PersonnelMenuKey { PERSONNEL_KEY_0 = 0x0b , PERSONNEL_KEY_W = 0x11 , PERSONNEL_KEY_T = 0x14 , PERSONNEL_KEY_ENTER = 0x1c , PERSONNEL_KEY_S = 0x1f , PERSONNEL_KEY_D = 0x20 , PERSONNEL_KEY_L = 0x26 , PERSONNEL_KEY_C = 0x2e , PERSONNEL_KEY_SPACE = 0x39 } |
Variables | |
| unsigned char * | g_pCockpitBackgroundPacket = 0 |
| unsigned char * | g_apCockpitVduOverlayShapes [2] = { 0 } |
| int | g_nLegacySaveSource = 0 |
| const char * | g_apszPilotRankNames [5] |
| const char * | g_apszShortPilotRankNames [5] |
| static char | g_szSaveSlotSignature [0x24] |
| PersonnelFileSlot * | g_apPersonnelFileSlots [8] = { 0 } |
| PilotProfile * | g_apPersonnelPilotProfiles [8] = { 0 } |
| short | g_nPersonnelMenuHighlight = -1 |
| void * | g_pPersonnelCampaignSnapshot = 0 |
| static char | g_szPersonnelFileName [] = "savegame.wc2" |
| unsigned char * | g_pPersonnelMenuBackdrop = 0 |
| short | g_sPersonnelPreviousInput = -128 |
| short | g_bPersonnelMenuDrawing = 1 |
| const char * | g_apszSaveGameFileNames [3] |
| signed char | g_bPersonnelPrimaryInputDown = 0 |
Personnel database, campaign chalkboard and pilot transfer.
Definition in file personnel.c.
| enum PersonnelMenuKey |
| Enumerator | |
|---|---|
| PERSONNEL_KEY_0 | |
| PERSONNEL_KEY_W | |
| PERSONNEL_KEY_T | |
| PERSONNEL_KEY_ENTER | |
| PERSONNEL_KEY_S | |
| PERSONNEL_KEY_D | |
| PERSONNEL_KEY_L | |
| PERSONNEL_KEY_C | |
| PERSONNEL_KEY_SPACE | |
Definition at line 48 of file personnel.c.
Definition at line 9 of file hugemove.c.
| void DrawCampaignChalkboardFrame | ( | unsigned short | frame | ) |
Definition at line 196 of file personnel.c.
References DrawCampaignChalkboardFrame(), DrawSpriteDefault(), g_128_nShotHotspotLeft, g_15_nSceneAreaLowestWord, g_27_nSceneHotspotTopValue, g_8_nSceneRegionRightWord, g_bNewPilotCampaignInitialized, g_pCampaignChalkboardShape, g_stSecondaryViewBufferBlock, LoadSceneHotspotBoundsForSelection(), RefreshMemoryStatusOverlay(), and SetPersonnelMousePosition().
Referenced by DrawCampaignChalkboardFrame(), and RefreshCampaignChalkboardScreen().
| void DrawPersonnelFileSlot | ( | short | slot | ) |
Definition at line 497 of file personnel.c.
References DrawFormattedText(), DrawPersonnelFileSlot(), g_apPersonnelFileSlots, g_apPersonnelPilotProfiles, g_apszPilotRankNames, g_apszShortPilotRankNames, and SetTextCursor().
Referenced by close_behind(), DrawPersonnelFileSlot(), HighlightPersonnelFileSlot(), and SelectPersonnelFileSlot().
Definition at line 220 of file personnel.c.
References DisableMouseCursorDrawing(), DrawFormattedText(), DrawPersonnelMenuBackdrop(), DrawSpriteDefault(), g_3_stDefaultStringContext, g_bPrimaryViewBufferColour, g_pPersonnelMenuBackdrop, g_pszPersonnelFooter, g_stSecondaryViewBufferBlock, InitializeTextContextFromFont(), MeasureTextPixelWidthClamped(), PollSceneHotspotInput(), SetMenuInputPump(), and SetTextCursor().
Referenced by close_behind(), DrawPersonnelMenuBackdrop(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), SelectLegacyGameSource(), SelectPersonnelFileSlot(), and SelectTransferredPilot().
| void DrawPersonnelMenuChoices | ( | short | choice | ) |
Definition at line 464 of file personnel.c.
References DisableMouseCursorDrawing(), DrawFormattedText(), DrawPersonnelMenuChoices(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_3_stDefaultStringContext, g_nMenuSelectedCol, g_nPersonnelMenuHighlight, InitializeTextContextFromFont(), PERSONNEL_KEY_C, PERSONNEL_KEY_T, and SetTextCursor().
Referenced by close_behind(), DrawPersonnelMenuChoices(), and RunPilotDatabaseMenu().
| void DrawPersonnelSourceChoices | ( | short | choice | ) |
Definition at line 430 of file personnel.c.
References DisableMouseCursorDrawing(), DrawFormattedText(), DrawPersonnelSourceChoices(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_3_stDefaultStringContext, g_nMenuSelectedCol, g_nPersonnelMenuHighlight, InitializeTextContextFromFont(), PERSONNEL_KEY_D, PERSONNEL_KEY_W, and SetTextCursor().
Referenced by close_behind(), DrawPersonnelSourceChoices(), and SelectLegacyGameSource().
| void DrawPilotSaveMenuChoices | ( | short | choice | ) |
Definition at line 385 of file personnel.c.
References DisableMouseCursorDrawing(), DrawFormattedText(), DrawPilotSaveMenuChoices(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_3_stDefaultStringContext, g_nMenuSelectedCol, g_nPersonnelMenuHighlight, InitializeTextContextFromFont(), PERSONNEL_KEY_D, PERSONNEL_KEY_L, PERSONNEL_KEY_S, and SetTextCursor().
Referenced by DrawPilotSaveMenuChoices(), DrawTextAt(), and RunPilotSaveLoadMenu().
| void DrawTransferredPilotRow | ( | short | row | ) |
Definition at line 675 of file personnel.c.
References DrawFormattedText(), DrawTransferredPilotRow(), g_3_apszPersonnelImportCaptionsTable, and SetTextCursor().
Referenced by close_behind(), DrawTransferredPilotRow(), HighlightTransferredPilot(), and SelectTransferredPilot().
| unsigned short HasSavedPilotCampaign | ( | void | ) |
Definition at line 276 of file personnel.c.
References g_pCampaignGlobals, g_szPersonnelFileName, HasSavedPilotCampaign(), LoadTemporaryCampaignGlobals(), ReleasePacketSlot(), and CampaignGlobals::wordCount.
Referenced by DosMemmove(), HasSavedPilotCampaign(), and RunTitleScreen().
| void HighlightPersonnelFileSlot | ( | short | choice | ) |
Definition at line 547 of file personnel.c.
References DisableMouseCursorDrawing(), DrawPersonnelFileSlot(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_3_stDefaultStringContext, g_nMenuSelectedCol, g_nPersonnelMenuHighlight, HighlightPersonnelFileSlot(), InitializeTextContextFromFont(), and PERSONNEL_KEY_0.
Referenced by DrawTextAt(), HighlightPersonnelFileSlot(), and SelectPersonnelFileSlot().
| void HighlightTransferredPilot | ( | short | choice | ) |
Definition at line 694 of file personnel.c.
References DisableMouseCursorDrawing(), DrawTransferredPilotRow(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_3_stDefaultStringContext, g_nMenuSelectedCol, g_nPersonnelMenuHighlight, HighlightTransferredPilot(), InitializeTextContextFromFont(), and PERSONNEL_KEY_0.
Referenced by close_behind(), HighlightTransferredPilot(), and SelectTransferredPilot().
| void InitializeCampaignChalkboardScreen | ( | short | cockpitVariant | ) |
Definition at line 115 of file personnel.c.
References AdvanceViewportWipe(), AllocateTaggedMemory(), AllocateViewport(), Viewport::bottom, DisableMouseCursorDrawing(), DrawSpriteDefault(), FetchDiskPacketRetrying(), CampaignGlobals::field_08, CampaignGlobals::field_0a, CampaignGlobals::field_0e, g_101_stScrViewInfo, g_128_nShotHotspotLeft, g_15_nSceneAreaLowestWord, g_1_nCockpitArchiveVariantNumber, g_27_nSceneHotspotTopValue, g_2_stModalSourceWindow, g_8_nSceneRegionRightWord, g_bNewPilotCampaignInitialized, g_bRoomTransitionAnimationEnabled, g_cSecondaryViewBufferColour, g_pCampaignChalkboardShape, g_pCampaignGlobals, g_stSecondaryViewBufferBlock, InitializeCampaignChalkboardScreen(), InitializeGameTextContexts(), InitializeViewportWipe(), Viewport::left, LoadSceneHotspotBoundsForSelection(), Viewport::pixels, RefreshMemoryStatusOverlay(), ReleasePacketHandle(), ReportFatalErrorCode(), Viewport::right, SetPersonnelMousePosition(), and Viewport::top.
Referenced by InitializeCampaignChalkboardScreen(), RunCampaignChalkboardMenu(), and RunCampaignGameLoop().
| void InitializeTextContextFromFont | ( | TextContext * | context, |
| short | fontIndex, | ||
| unsigned char | colour, | ||
| signed char | background ) |
| short LoadSelectedPilotCampaign | ( | void | ) |
Definition at line 244 of file personnel.c.
References PilotNameVariables::callsign, PilotProfile::callsign, CampaignGlobals::campaignSlot, CloseDataFile(), PilotNameVariables::firstName, PilotProfile::firstName, g_pCampaignGlobals, g_stCurrentPilotProfile, g_stPilotNameVariables, g_szPersonnelFileName, InitializeCampaignConstellationState(), PilotNameVariables::lastName, PilotProfile::lastName, LoadSelectedPilotCampaign(), LoadTemporaryCampaignGlobals(), OpenDataFileOrDie(), ReadDataFileAtOffset(), ReportFatalErrorCode(), SaveAndFreeTemporaryCampaignGlobals(), SeekDataFile(), and CampaignGlobals::wordCount.
Referenced by close_behind(), LoadSelectedPilotCampaign(), RunCampaignGameLoop(), and RunGameApplication().
| short LocateLegacySaveGame | ( | short | source | ) |
Definition at line 1311 of file personnel.c.
References DisableMouseCursorDrawing(), DrawFormattedText(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_1_szLegacySaveFolder, g_3_stDefaultStringContext, g_apszSaveGameFileNames, g_nLegacySaveSource, g_stSecondaryViewBufferBlock, GetLegacyGameDataPath(), InitializeTextContextFromFont(), LocateLegacySaveGame(), PersonnelDriveHook(), ReadPersonnelTextField(), RefreshMemoryStatusOverlay(), RestorePersonnelMenuBackground(), and SetTextCursor().
Referenced by close_behind(), LocateLegacySaveGame(), and RunPilotDatabaseMenu().
| void OpenDiskDataFile | ( | short | logicalFile | ) |
Definition at line 313 of file personnel.c.
References PilotNameVariables::callsign, PilotProfile::callsign, CloseDataFile(), CreateDataFile(), PilotNameVariables::firstName, PilotProfile::firstName, g_pCampaignGlobals, g_stCurrentPilotProfile, g_stDefaultPilotProfile, g_stPilotNameVariables, g_szPersonnelFileName, g_szSaveSlotSignature, PilotNameVariables::lastName, PilotProfile::lastName, LoadTemporaryCampaignGlobals(), OpenDataFileOrDie(), OpenDiskDataFile(), ReleasePacketSlot(), ReportFatalErrorCode(), SeekDataFile(), CampaignGlobals::wordCount, and WriteDataFileAtOffset().
Referenced by DrawTextAt(), OpenDiskDataFile(), RunCampaignGameLoop(), and RunPilotDatabaseMenu().
Definition at line 61 of file personnel.c.
References g_37_stPersonnelMousePointerState, g_bPersonnelPrimaryInputDown, g_cCurrentKey, g_cPreviousKey, g_sPersonnelPreviousInput, GetNextInputEvent(), IsInputEventQueued(), InputEventState::modifiers, PollPersonnelMenuInput(), ServiceInputDevices(), MouseCursorState::x, and MouseCursorState::y.
Referenced by close_behind(), PollPersonnelMenuInput(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), SelectLegacyGameSource(), SelectPersonnelFileSlot(), and SelectTransferredPilot().
| void RefreshCampaignChalkboardScreen | ( | short | cockpitVariant | ) |
Definition at line 180 of file personnel.c.
References DisableMouseCursorDrawing(), DrawCampaignChalkboardFrame(), CampaignGlobals::field_08, CampaignGlobals::field_0a, g_pCampaignGlobals, RefreshCampaignChalkboardScreen(), and void().
Referenced by RefreshCampaignChalkboardScreen(), and RunCampaignChalkboardMenu().
Definition at line 375 of file personnel.c.
References DrawSpriteDefault(), g_pPersonnelMenuBackdrop, and RestorePersonnelMenuBackground().
Referenced by close_behind(), LocateLegacySaveGame(), RestorePersonnelMenuBackground(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), SelectLegacyGameSource(), SelectTransferredPilot(), and ShowNoTransferablePilots().
| short RunPilotDatabaseMenu | ( | void | ) |
Definition at line 1400 of file personnel.c.
References AllocateTaggedMemory(), AllocateViewport(), Viewport::bottom, PilotNameVariables::callsign, PilotProfile::callsign, PilotRecord::callsign, SaveGameDiskRecord::campaign, SaveGameDiskCampaignState::campaignIndex, ClearViewport(), InputManagerState::cursorShape, SceneResourceTable::data, DisableMouseCursorDrawing(), DrawFormattedText(), DrawPersonnelMenuBackdrop(), DrawPersonnelMenuChoices(), DrawSpriteDefault(), EnableMouseCursorDrawing(), FetchDiskPacketRetrying(), PilotProfile::field_41, PilotProfile::field_43, PilotNameVariables::firstName, PilotProfile::firstName, FlushInputEvents(), free_viewport(), FreePacketAndClear(), g_101_stScrViewInfo, g_10_nMenuDarkColour, g_18_pEventManager, g_1_nCockpitArchiveVariantNumber, g_1_szLegacySaveFolder, g_37_stPersonnelMousePointerState, g_3_apszPersonnelImportCaptionsTable, g_3_stDefaultStringContext, g_6_szDefaultTextBufferText, g_apszShortPilotRankNames, g_bPersonnelMenuDrawing, g_bPrimaryViewBufferColour, g_cCurrentKey, g_cSecondaryViewBufferColour, g_nMenuSelectedCol, g_nPersonnelMenuHighlight, g_pActiveScenePacket, g_pPersonnelMenuBackdrop, g_stCurrentPilotProfile, g_stPilotNameVariables, g_stSceneTextList, g_stSceneZoneTable, g_stSecondaryViewBufferBlock, InitializeTextContextFromFont(), PilotRecord::kills, PilotNameVariables::lastName, PilotProfile::lastName, Viewport::left, LoadStartingCampaignGlobals(), LocateLegacySaveGame(), PilotRecord::missions, PilotRecord::name, SaveGameDiskRecord::occupied, OpenDiskDataFile(), PERSONNEL_KEY_C, PERSONNEL_KEY_ENTER, PERSONNEL_KEY_SPACE, PERSONNEL_KEY_T, PersonnelDriveHook(), SaveGameDiskRecord::pilots, PollPersonnelMenuInput(), PilotProfile::rank, PilotRecord::rank, ReadPersonnelTextField(), RefreshMemoryStatusOverlay(), ReleasePacketHandle(), ReleasePacketSlot(), ReportFatalErrorCode(), RestorePersonnelMenuBackground(), Viewport::right, RunPilotDatabaseMenu(), SaveAndFreeTemporaryCampaignGlobals(), SelectLegacyGameSource(), SelectTransferredPilot(), SetInputViewport(), SetMenuInputPump(), SetMouseCursorShape(), SetPersonnelMousePosition(), SetTextContext(), SetTextCursor(), ShowNoTransferablePilots(), TextContext::text, Viewport::top, TextContext::viewport, MouseCursorState::x, and MouseCursorState::y.
Referenced by close_behind(), RunGameApplication(), and RunPilotDatabaseMenu().
Definition at line 827 of file personnel.c.
References AllocateTaggedMemory(), PilotNameVariables::callsign, PilotProfile::callsign, ClearViewport(), CopyHugeMemoryOverlapSafe(), InputManagerState::cursorShape, SceneResourceTable::data, PersonnelFileSlot::description, DisableMouseCursorDrawing(), DrawFormattedText(), DrawPersonnelMenuBackdrop(), DrawPilotSaveMenuChoices(), DrawSpriteDefault(), EnableMouseCursorDrawing(), FetchDiskPacketRetrying(), PilotProfile::field_41, PilotProfile::field_43, PilotNameVariables::firstName, PilotProfile::firstName, FreePacketAndClear(), g_101_stScrViewInfo, g_10_nMenuDarkColour, g_18_pEventManager, g_1_nCockpitArchiveVariantNumber, g_37_stPersonnelMousePointerState, g_3_nOptionMessageColour, g_3_stDefaultStringContext, g_6_szDefaultTextBufferText, g_apPersonnelFileSlots, g_apPersonnelPilotProfiles, g_bPersonnelMenuDrawing, g_cCurrentKey, g_nMenuSelectedCol, g_nOriginDevUnlock, g_nPersonnelMenuHighlight, g_pActiveScenePacket, g_pCampaignGlobals, g_pPersonnelCampaignSnapshot, g_pPersonnelMenuBackdrop, g_stCurrentPilotProfile, g_stDefaultPilotProfile, g_stPilotNameVariables, g_stSceneTextList, g_stSceneZoneTable, g_stSecondaryViewBufferBlock, g_szPersonnelFileName, g_szSaveSlotSignature, InitializeTextContextFromFont(), PilotNameVariables::lastName, PilotProfile::lastName, PersonnelFileSlot::occupied, PERSONNEL_KEY_D, PERSONNEL_KEY_ENTER, PERSONNEL_KEY_L, PERSONNEL_KEY_S, PERSONNEL_KEY_SPACE, PollPersonnelMenuInput(), PilotProfile::rank, ReadPersonnelTextField(), RefreshMemoryStatusOverlay(), ReleasePacketHandle(), ReleasePacketSlot(), ReportFatalErrorCode(), RestorePersonnelMenuBackground(), RunPilotSaveLoadMenu(), SelectPersonnelFileSlot(), ServiceSoundSystem(), SetInputViewport(), SetMouseCursorShape(), SetPersonnelMousePosition(), SetTextContext(), SetTextCursor(), TextContext::text, TextContext::viewport, WaitForQueuedInputPress(), CampaignGlobals::wordCount, MouseCursorState::x, and MouseCursorState::y.
Referenced by DrawTextAt(), RunCampaignChalkboardMenu(), and RunPilotSaveLoadMenu().
| short SelectLegacyGameSource | ( | void | ) |
Definition at line 1217 of file personnel.c.
References InputManagerState::cursorShape, DisableMouseCursorDrawing(), DrawFormattedText(), DrawPersonnelMenuBackdrop(), DrawPersonnelSourceChoices(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_18_pEventManager, g_37_stPersonnelMousePointerState, g_3_stDefaultStringContext, g_bPersonnelMenuDrawing, g_cCurrentKey, g_nLegacySaveSource, g_nPersonnelMenuHighlight, g_pPersonnelMenuBackdrop, g_stSecondaryViewBufferBlock, InitializeTextContextFromFont(), PERSONNEL_KEY_D, PERSONNEL_KEY_ENTER, PERSONNEL_KEY_SPACE, PERSONNEL_KEY_W, PollPersonnelMenuInput(), RefreshMemoryStatusOverlay(), RestorePersonnelMenuBackground(), SelectLegacyGameSource(), SetMouseCursorShape(), SetPersonnelMousePosition(), SetTextCursor(), MouseCursorState::x, and MouseCursorState::y.
Referenced by close_behind(), RunPilotDatabaseMenu(), and SelectLegacyGameSource().
| short SelectPersonnelFileSlot | ( | void | ) |
Definition at line 581 of file personnel.c.
References InputManagerState::cursorShape, DisableMouseCursorDrawing(), DrawPersonnelFileSlot(), DrawPersonnelMenuBackdrop(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_18_pEventManager, g_37_stPersonnelMousePointerState, g_3_stDefaultStringContext, g_bPersonnelMenuDrawing, g_cCurrentKey, g_nPersonnelMenuHighlight, g_pPersonnelMenuBackdrop, HighlightPersonnelFileSlot(), InitializeTextContextFromFont(), PERSONNEL_KEY_ENTER, PERSONNEL_KEY_SPACE, PollPersonnelMenuInput(), RefreshMemoryStatusOverlay(), SelectPersonnelFileSlot(), SetMouseCursorShape(), SetPersonnelMousePosition(), MouseCursorState::x, and MouseCursorState::y.
Referenced by DrawTextAt(), RunPilotSaveLoadMenu(), and SelectPersonnelFileSlot().
| short SelectTransferredPilot | ( | short | count | ) |
Definition at line 728 of file personnel.c.
References InputManagerState::cursorShape, DisableMouseCursorDrawing(), DrawFormattedText(), DrawPersonnelMenuBackdrop(), DrawTransferredPilotRow(), EnableMouseCursorDrawing(), g_10_nMenuDarkColour, g_18_pEventManager, g_37_stPersonnelMousePointerState, g_3_stDefaultStringContext, g_bPersonnelMenuDrawing, g_cCurrentKey, g_nPersonnelMenuHighlight, g_pPersonnelMenuBackdrop, g_stSecondaryViewBufferBlock, HighlightTransferredPilot(), InitializeTextContextFromFont(), PERSONNEL_KEY_ENTER, PERSONNEL_KEY_SPACE, PollPersonnelMenuInput(), RefreshMemoryStatusOverlay(), RestorePersonnelMenuBackground(), SelectTransferredPilot(), SetMouseCursorShape(), SetPersonnelMousePosition(), SetTextCursor(), MouseCursorState::x, and MouseCursorState::y.
Referenced by close_behind(), RunPilotDatabaseMenu(), and SelectTransferredPilot().
| void SetTextCursor | ( | unsigned short | a, |
| unsigned short | b ) |
Definition at line 172 of file eventmgr.c.
Definition at line 1389 of file personnel.c.
References DrawFormattedText(), g_cCurrentKey, g_stSecondaryViewBufferBlock, RefreshMemoryStatusOverlay(), RestorePersonnelMenuBackground(), SetTextCursor(), ShowNoTransferablePilots(), and WaitForAnyInputPress().
Referenced by close_behind(), RunPilotDatabaseMenu(), and ShowNoTransferablePilots().
| unsigned char* g_apCockpitVduOverlayShapes[2] = { 0 } |
Definition at line 9 of file personnel.c.
Referenced by free_cockpit(), InitializeCockpitResources(), ToggleTargetCameraOverlay(), and vdu_polygon().
| PersonnelFileSlot* g_apPersonnelFileSlots[8] = { 0 } |
Definition at line 32 of file personnel.c.
Referenced by DrawPersonnelFileSlot(), and RunPilotSaveLoadMenu().
| PilotProfile* g_apPersonnelPilotProfiles[8] = { 0 } |
Definition at line 33 of file personnel.c.
Referenced by DrawPersonnelFileSlot(), and RunPilotSaveLoadMenu().
| const char* g_apszPilotRankNames[5] |
Definition at line 11 of file personnel.c.
Referenced by DrawPersonnelFileSlot(), and ExpandCommMessageTokens().
| const char* g_apszSaveGameFileNames[3] |
Definition at line 40 of file personnel.c.
Referenced by LocateLegacySaveGame().
| const char* g_apszShortPilotRankNames[5] |
Definition at line 18 of file personnel.c.
Referenced by DrawPersonnelFileSlot(), and RunPilotDatabaseMenu().
| short g_bPersonnelMenuDrawing = 1 |
Definition at line 39 of file personnel.c.
Referenced by PollSceneHotspotInput(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), SelectLegacyGameSource(), SelectPersonnelFileSlot(), and SelectTransferredPilot().
| signed char g_bPersonnelPrimaryInputDown = 0 |
Definition at line 45 of file personnel.c.
Referenced by PollPersonnelMenuInput().
| int g_nLegacySaveSource = 0 |
Definition at line 10 of file personnel.c.
Referenced by LocateLegacySaveGame(), and SelectLegacyGameSource().
| short g_nPersonnelMenuHighlight = -1 |
Definition at line 34 of file personnel.c.
Referenced by DrawPersonnelMenuChoices(), DrawPersonnelSourceChoices(), DrawPilotSaveMenuChoices(), HighlightPersonnelFileSlot(), HighlightTransferredPilot(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), SelectLegacyGameSource(), SelectPersonnelFileSlot(), and SelectTransferredPilot().
| unsigned char* g_pCockpitBackgroundPacket = 0 |
Definition at line 8 of file personnel.c.
Referenced by free_cockpit(), initialize_cockpit(), InitializeCockpitResources(), and set_up_screen_viewport().
| void* g_pPersonnelCampaignSnapshot = 0 |
Definition at line 35 of file personnel.c.
Referenced by RunPilotSaveLoadMenu().
| unsigned char* g_pPersonnelMenuBackdrop = 0 |
Definition at line 37 of file personnel.c.
Referenced by DrawPersonnelMenuBackdrop(), RestorePersonnelMenuBackground(), RunPilotDatabaseMenu(), RunPilotSaveLoadMenu(), SelectLegacyGameSource(), SelectPersonnelFileSlot(), and SelectTransferredPilot().
| short g_sPersonnelPreviousInput = -128 |
Definition at line 38 of file personnel.c.
Referenced by PollPersonnelMenuInput().
|
static |
Definition at line 36 of file personnel.c.
Referenced by HasSavedPilotCampaign(), LoadSelectedPilotCampaign(), OpenDiskDataFile(), and RunPilotSaveLoadMenu().
|
static |
Definition at line 29 of file personnel.c.
Referenced by OpenDiskDataFile(), and RunPilotSaveLoadMenu().