|
Wing Commander
Reconstructed Win32 source (1996)
|
Navigation map, objective labels and the in-flight computer. More...
Go to the source code of this file.
Functions | |
| short | NavMapPointInsideReservedArea (short area, short x, short y) |
| short | NavMapLabelFits (short x, short y, short width, short height) |
| short | NavMapLabelPositionAvailable (short x, short y, short width, short height) |
| void | ResetNavMapReservedAreas (void) |
| void | ReserveNavMapArea (short x, short y, short width, short height) |
| void | ResetNavMapLabels (void) |
| short | TryPlaceNavMapLabel (short x, short y, short width, short force) |
| void | PlaceNavMapLabel (short x, short y, unsigned short colour, const char *text) |
| void | AddUniqueObjectiveNavLabel (short x, short y, unsigned short colour, const char *text, short objective, short missionShip) |
| void | DrawFormattedText (const char *format,...) |
| void | DrawViewportEllipse (Viewport *viewport, short x, short y, short verticalRadius, short horizontalRadius, short colour) |
| void | DrawViewportEllipseShadow (Viewport *viewport, short x, short y, short verticalRadius, short horizontalRadius, short colour) |
| void | DrawViewportBorder (Viewport *viewport, short left, short top, short right, short bottom, short colour) |
| void | DrawViewportLine (Viewport *viewport, short x1, short y1, short x2, short y2, short colour) |
| short | achieved (short objective) |
| short | hidden_objective (short objective) |
| short | visited (short objective) |
| const char * | objective_name (short objective) |
| void | DrawNavTextLine (unsigned char alignment, unsigned short colour, const char *format,...) |
| void | ClearViewport (Viewport *viewport, short colour) |
| void | CopyViewportContents (Viewport *source, Viewport *destination) |
| unsigned short __stdcall | AllocateViewport (Viewport *viewport, short clearColour, short flags) |
| void * | FetchDiskPacketRetrying (short logicalFile, short section, short flags) |
| void | ReportOutOfMemoryAndExit (const char *resource) |
| short | LocateMobileObjective (short objective) |
| void __stdcall | free_viewport (Viewport *viewport) |
| void | ReleasePacketHandle (void *handle) |
| unsigned int | ReleaseTextFont (short fontIndex) |
| int | set_new_objective (short pathIndex) |
| void __stdcall | WarpMouseTo (short x, short y) |
| void __stdcall | SetEventManagerPump (void(*pump)(void)) |
| void __stdcall | SetFrameTimerAndWait (short period) |
| void | DrawViewportPixel (Viewport *viewport, short x, short y, short colour) |
| void | MoveMenuPointerFromKeyboard (InputEventState *event) |
| unsigned int | force_view (int view, short obj) |
| void __stdcall | SetViewportRect (Viewport *viewport, unsigned short left, unsigned short top, unsigned short right, unsigned short bottom) |
| short | IsPointInNavMapLabel (short labelIndex, short x, short y) |
| short | FindNavMapLabelAtPoint (short x, short y) |
| void | DrawNavMapLabels (void) |
| void | DrawNavRectangleMarker (short x, short y, short size, short shadow, unsigned short colour, short reserve) |
| void | SetRectBounds (Viewport *viewport, unsigned short left, unsigned short top, unsigned short right, unsigned short bottom) |
| void | DrawNavSquareOutline (Viewport *viewport, short x, short y, unsigned short size, signed char colour) |
| void | AddFixedVectors (const FixedVector *left, const FixedVector *right, FixedVector *sum) |
| void | DrawNavSquareMarker (short x, short y, short size, short shadow, short colour, short reserve) |
| void | DrawNavTriangleOutline (Viewport *viewport, short x, short y, short size, signed char colour) |
| void | DrawNavTriangleMarker (short x, short y, short size, short shadow, unsigned short colour, short reserve) |
| void __stdcall | SetMouseCursorShape (struct Shape *shape, short frame) |
| short __stdcall | PollInputEvent (InputEventState *event, short filter) |
| void | ScaleNavMapCoordinates (short *x, short *y, short mapX, short mapY) |
| void | ScaleNavMapMarkerSize (short *size) |
| void | nav_getxy (short *x, short *y, int worldX, int worldZ) |
| void | DrawSpriteDefault (Viewport *viewport, short x, short y, struct Shape *shape, short frame) |
| unsigned int | InitializeTextContextFromFont (TextContext *context, short fontIndex, unsigned char colour, signed char background) |
| void __stdcall | SetTextContext (TextContext *context) |
| short | mobile_objective (short objective) |
| void | DrawNavCrossMarker (short x, short y, short size, short shadow, unsigned short colour, short reserve) |
| void | SetScreenClipRect (unsigned short a, unsigned short b, unsigned short c, unsigned short d) |
| void | DrawNavHazardMarker (FixedVector navPosition, FixedVector offset, short size, unsigned short markerColour, unsigned short textColour, const char *text) |
| void | DrawNavPlayerMarker (short colour, short reserve) |
| void | BuildMap (short showPlayer) |
| void | UpdateInflightNavText (short showColon) |
| void | FormatNavCoordinates (unsigned char *out) |
| void | DrawSelectedNavLegendEntry (const char *text, short navPoint) |
| void | DrawNavMapLegend (void) |
| char * | nav_note (short objective) |
| void | DrawNavLocationReadout (const char *title, short showFlightData) |
| void | BriefingMap_LoadShapes (void) |
| void | BriefingMap_DisplayMap (void) |
| short | SelectNavObjectiveAtPoint (short mouseX, short mouseY) |
| void | CentreMouseOnCurrentNavObjective (void) |
| void | ShowConfedNavScan (void) |
| void | InflightComputer (void) |
Navigation map, objective labels and the in-flight computer.
Address range 40d090-40e88f.
Definition in file nav.c.
| void AddFixedVectors | ( | const FixedVector * | left, |
| const FixedVector * | right, | ||
| FixedVector * | sum ) |
| void AddUniqueObjectiveNavLabel | ( | short | x, |
| short | y, | ||
| unsigned short | colour, | ||
| const char * | text, | ||
| short | objective, | ||
| short | missionShip ) |
Definition at line 205 of file nav.c.
References AddUniqueObjectiveNavLabel(), aMissionObjectivesArray, and PlaceNavMapLabel().
Referenced by AddUniqueObjectiveNavLabel(), and BuildMap().
| unsigned short __stdcall AllocateViewport | ( | Viewport * | viewport, |
| short | clearColour, | ||
| short | flags ) |
Definition at line 742 of file nav.c.
References AllocateViewport(), BriefingMap_DisplayMap(), BriefingMap_LoadShapes(), cBlackColour, DrawNavLocationReadout(), free_viewport(), pNavMapShape, ReleasePacketHandle(), ReleaseTextFont(), stSceneBuffer, stScreenView, and Viewport::top.
Referenced by BriefingMap_DisplayMap(), and UpdateMap().
Definition at line 726 of file nav.c.
References AllocateViewport(), BriefingMap_LoadShapes(), cBlackColour, cMissionObjectiveCountValue, FetchDiskPacketRetrying(), LocateMobileObjective(), pNavMapShape, ReportOutOfMemoryAndExit(), SetScreenClipRect(), and stSceneBuffer.
Referenced by BriefingMap_DisplayMap(), BriefingMap_LoadShapes(), and InflightComputer().
| void BuildMap | ( | short | showPlayer | ) |
Definition at line 477 of file nav.c.
References achieved(), AddUniqueObjectiveNavLabel(), TextContext::alignment, aMissionNavPoints, aMissionObjectivesArray, aMissionShips, aNavMapObjectiveStyles, aShipPositionsArray, awMapNavObjectiveLabelIndex, BuildMap(), PilotRecord::callsign, cAsteroidColour, cCurrentObjective, cLightGreyColour, cMissionObjectiveCountValue, cPrimaryTextColour, cRedColour, CampaignState::currentPilot, cViewportClearColour, cYellowColour, DrawNavCrossMarker(), DrawNavHazardMarker(), DrawNavMapLabels(), DrawNavPlayerMarker(), DrawNavRectangleMarker(), DrawNavSquareMarker(), DrawNavTriangleMarker(), DrawSpriteDefault(), DrawViewportPixel(), hidden_objective(), InitializeTextContextFromFont(), NavMapObjectiveStyle::labelColour, NavMapObjectiveStyle::markerColour, NavMapObjectiveStyle::markerSize, NavMapObjectiveStyle::markerType, MissionNavPoint::missionShips, mobile_objective(), nav_getxy(), nNavMapLabelCount, OBJECT_TYPE_ASTEROID_FIELD, OBJECT_TYPE_MINE_FIELD, objective_name(), PlaceNavMapLabel(), pNavMapShape, MissionNavPoint::position, MissionShipRecord::position, ResetNavMapLabels(), ResetNavMapReservedAreas(), ScaleNavMapCoordinates(), SetScale(), SetScreenClipRect(), SetTextContext(), MissionShipRecord::speed, stCampaignState, stMapNavigationLabelTextContext, stSceneBuffer, szDefaultTxtBuf, TextContext::text, MissionNavPoint::type, MissionObjective::type, MissionShipRecord::type, NavMapObjectiveStyle::unvisitedColour, TextContext::viewport, and visited().
Referenced by BuildMap(), and DrawNavLocationReadout().
Definition at line 792 of file nav.c.
References abFlightPathList, aMissionObjectivesArray, cCurrentNavPtIdx, CentreMouseOnCurrentNavObjective(), EnterAllocationScope(), LeaveAllocationScope(), ScaleNavMapCoordinates(), and WarpMouseTo().
Referenced by CentreMouseOnCurrentNavObjective(), and InflightComputer().
| void DrawNavCrossMarker | ( | short | x, |
| short | y, | ||
| short | size, | ||
| short | shadow, | ||
| unsigned short | colour, | ||
| short | reserve ) |
Definition at line 421 of file nav.c.
References DrawNavCrossMarker(), DrawViewportLine(), ReserveNavMapArea(), stMapNavigationLabelTextContext, TextContext::viewport, and void().
Referenced by BuildMap(), and DrawNavCrossMarker().
| void DrawNavHazardMarker | ( | FixedVector | navPosition, |
| FixedVector | offset, | ||
| short | size, | ||
| unsigned short | markerColour, | ||
| unsigned short | textColour, | ||
| const char * | text ) |
Definition at line 447 of file nav.c.
References AddFixedVectors(), DrawNavHazardMarker(), DrawNavRectangleMarker(), nav_getxy(), PlaceNavMapLabel(), ScaleNavMapMarkerSize(), FixedVector::x, and FixedVector::z.
Referenced by BuildMap(), and DrawNavHazardMarker().
| void DrawNavLocationReadout | ( | const char * | title, |
| short | showFlightData ) |
Definition at line 669 of file nav.c.
References abMissionAuxData, abSeriesAuxData, TextContext::alignment, aMissionShips, apszShipMissionTypeNames, aShipPositionsArray, BuildMap(), cBlackColour, cCurrentObjective, cDefaultTextColour, ClearViewport(), CopyViewportContents(), cPrimaryTextColour, TextContext::cursorX, TextContext::cursorY, DIBslam(), DIBslamReal(), DrawNavLocationReadout(), DrawNavMapLegend(), DrawNavTextLine(), InitializeTextContextFromFont(), MissionShipRecord::missionType, nav_note(), MissionHeaderDisk::playerMissionShip, SetScreenClipRect(), SetTextContext(), stCurrentMissionHeader, stCurrentNavMapTxtCtx, stSceneBuffer, stScreenView, szCampaignSector, szDefaultTxtBuf, TextContext::text, and TextContext::viewport.
Referenced by BriefingMap_DisplayMap(), DrawNavLocationReadout(), and ShowConfedNavScan().
Definition at line 303 of file nav.c.
References aNavMapLabels, DrawFormattedText(), DrawNavMapLabels(), and nNavMapLabelCount.
Referenced by BuildMap(), and DrawNavMapLabels().
Definition at line 641 of file nav.c.
References cMissionObjectiveCountValue, DrawNavMapLegend(), DrawSelectedNavLegendEntry(), hidden_objective(), Viewport::left, SetTextCursor(), stSceneBuffer, and visited().
Referenced by DrawNavLocationReadout(), and DrawNavMapLegend().
| void DrawNavPlayerMarker | ( | short | colour, |
| short | reserve ) |
Definition at line 462 of file nav.c.
References aShipPositionsArray, DrawNavPlayerMarker(), DrawNavSquareMarker(), DrawViewportPixel(), Viewport::left, nav_getxy(), stMapNavigationLabelTextContext, Viewport::top, and TextContext::viewport.
Referenced by BuildMap(), DrawNavPlayerMarker(), and InflightComputer().
| void DrawNavRectangleMarker | ( | short | x, |
| short | y, | ||
| short | size, | ||
| short | shadow, | ||
| unsigned short | colour, | ||
| short | reserve ) |
Definition at line 317 of file nav.c.
References DrawNavRectangleMarker(), DrawViewportEllipse(), DrawViewportEllipseShadow(), ReserveNavMapArea(), stMapNavigationLabelTextContext, and TextContext::viewport.
Referenced by BuildMap(), DrawNavHazardMarker(), and DrawNavRectangleMarker().
| void DrawNavSquareMarker | ( | short | x, |
| short | y, | ||
| short | size, | ||
| short | shadow, | ||
| short | colour, | ||
| short | reserve ) |
Definition at line 353 of file nav.c.
References DrawNavSquareMarker(), DrawNavSquareOutline(), DrawViewportPixel(), ReserveNavMapArea(), stMapNavigationLabelTextContext, TextContext::viewport, and void().
Referenced by BuildMap(), DrawNavPlayerMarker(), and DrawNavSquareMarker().
| void DrawNavSquareOutline | ( | Viewport * | viewport, |
| short | x, | ||
| short | y, | ||
| unsigned short | size, | ||
| signed char | colour ) |
Definition at line 340 of file nav.c.
References DrawNavSquareOutline(), and DrawViewportBorder().
Referenced by DrawNavSquareMarker(), and DrawNavSquareOutline().
| void DrawNavTextLine | ( | unsigned char | alignment, |
| unsigned short | colour, | ||
| const char * | format, | ||
| ... ) |
| void DrawNavTriangleMarker | ( | short | x, |
| short | y, | ||
| short | size, | ||
| short | shadow, | ||
| unsigned short | colour, | ||
| short | reserve ) |
Definition at line 391 of file nav.c.
References DrawNavTriangleMarker(), DrawNavTriangleOutline(), ReserveNavMapArea(), stMapNavigationLabelTextContext, TextContext::viewport, and void().
Referenced by BuildMap(), and DrawNavTriangleMarker().
| void DrawNavTriangleOutline | ( | Viewport * | viewport, |
| short | x, | ||
| short | y, | ||
| short | size, | ||
| signed char | colour ) |
Definition at line 379 of file nav.c.
References DrawNavTriangleOutline(), and DrawViewportLine().
Referenced by DrawNavTriangleMarker(), and DrawNavTriangleOutline().
| void DrawSelectedNavLegendEntry | ( | const char * | text, |
| short | navPoint ) |
Definition at line 631 of file nav.c.
References cCurrentNavPtIdx, cYellowColour, DrawNavTextLine(), and DrawSelectedNavLegendEntry().
Referenced by DrawNavMapLegend(), and DrawSelectedNavLegendEntry().
| void * FetchDiskPacketRetrying | ( | short | logicalFile, |
| short | section, | ||
| short | flags ) |
| short FindNavMapLabelAtPoint | ( | short | x, |
| short | y ) |
Definition at line 290 of file nav.c.
References FindNavMapLabelAtPoint(), IsPointInNavMapLabel(), and nNavMapLabelCount.
Referenced by FindNavMapLabelAtPoint().
| void FormatNavCoordinates | ( | unsigned char * | out | ) |
Definition at line 621 of file nav.c.
References FormatNavCoordinates(), and SplitGameClockTicks().
Referenced by FormatNavCoordinates(), and InflightComputer().
Definition at line 420 of file gameflow.c.
Definition at line 822 of file nav.c.
References bCockpitlessView, bEscapePressedFlag, bInflightComputerActive, bInputModeState, BriefingMap_LoadShapes(), cBlackColour, cCurrentNavPtIdx, cDarkGreyColour, CentreMouseOnCurrentNavObjective(), ClearViewport(), cMissionObjectiveCountValue, cScreenViewMode, cViewportClearColour, cycle_next_objective(), DIBslam(), DIBslamReal(), DrawNavPlayerMarker(), DrawSpriteDefault(), EndCommMenu(), EnterAllocationScope(), EventManagerHook(), FetchDiskPacketRetrying(), force_view(), FormatNavCoordinates(), free_viewport(), get_player_input(), GetScreenUpdateFlag(), hidden_objective(), InflightComputer(), initialize_view_buffer(), LeaveAllocationScope(), message_showing(), MoveMenuPointerFromKeyboard(), nMenuInputRepeatDelay, nScreenHeight, nScreenWidth, nTickCount60Hz, pElapsedCampaignDatePtr, PlaySfxWaveFileByNumber(), pNavMapShape, PollInputEvent(), PollJoystickButtonEvents(), PollMenuInputDevices(), ReleasePacketHandle(), ResetMouseCursorFrame(), SelectNavObjectiveAtPoint(), set_new_objective(), SetEventManagerPump(), SetFrameTimerAndWait(), SetMouseCursorShape(), SetRectBounds(), SetTextContext(), SetViewportRect(), MouseCursorState::shape, ShowConfedNavScan(), stCurrentNavMapTxtCtx, stDefaultTxtContext, stMapNavigationLabelTextContext, stMouseCursorState, stSceneBuffer, stScreenView, stSpaceBufferViewport, UpdateInflightNavText(), InputEventState::value, MouseCursorState::viewport, TextContext::viewport, WaitForInputKey(), WarpMouseTo(), MouseCursorState::x, and MouseCursorState::y.
Referenced by InflightComputer(), and SelectCockpitVduMode().
| unsigned int InitializeTextContextFromFont | ( | TextContext * | context, |
| short | fontIndex, | ||
| unsigned char | colour, | ||
| signed char | background ) |
| short IsPointInNavMapLabel | ( | short | labelIndex, |
| short | x, | ||
| short | y ) |
Definition at line 271 of file nav.c.
References aNavMapLabels, IsPointInNavMapLabel(), and NavMapLabel::x.
Referenced by FindNavMapLabelAtPoint(), IsPointInNavMapLabel(), and SelectNavObjectiveAtPoint().
| void MoveMenuPointerFromKeyboard | ( | InputEventState * | event | ) |
| void nav_getxy | ( | short * | x, |
| short * | y, | ||
| int | worldX, | ||
| int | worldZ ) |
| char * nav_note | ( | short | objective | ) |
Definition at line 658 of file nav.c.
References aMissionObjectivesArray, MissionObjective::name, and nav_note().
Referenced by DrawNavLocationReadout(), and nav_note().
| short NavMapLabelFits | ( | short | x, |
| short | y, | ||
| short | width, | ||
| short | height ) |
Definition at line 90 of file nav.c.
References NavMapLabelFits().
Referenced by NavMapLabelFits(), NavMapLabelPositionAvailable(), and TryPlaceNavMapLabel().
| short NavMapLabelPositionAvailable | ( | short | x, |
| short | y, | ||
| short | width, | ||
| short | height ) |
Definition at line 96 of file nav.c.
References NavMapLabelFits(), NavMapLabelPositionAvailable(), NavMapPointInsideReservedArea(), and nNavMapReservedAreaCount.
Referenced by NavMapLabelPositionAvailable(), and TryPlaceNavMapLabel().
| short NavMapPointInsideReservedArea | ( | short | area, |
| short | x, | ||
| short | y ) |
Definition at line 81 of file nav.c.
References aNavMapExclusionRects, ShortRect::bottom, ShortRect::left, NavMapPointInsideReservedArea(), ShortRect::right, and ShortRect::top.
Referenced by NavMapLabelPositionAvailable(), and NavMapPointInsideReservedArea().
| void PlaceNavMapLabel | ( | short | x, |
| short | y, | ||
| unsigned short | colour, | ||
| const char * | text ) |
Definition at line 167 of file nav.c.
References aNavMapLabels, NavMapLabel::colour, nNavMapLabelCount, PlaceNavMapLabel(), ReserveNavMapArea(), NavMapLabel::text, and TryPlaceNavMapLabel().
Referenced by AddUniqueObjectiveNavLabel(), BuildMap(), DrawNavHazardMarker(), and PlaceNavMapLabel().
| short __stdcall PollInputEvent | ( | InputEventState * | event, |
| short | filter ) |
Definition at line 336 of file eventmgr.c.
| void ReserveNavMapArea | ( | short | x, |
| short | y, | ||
| short | width, | ||
| short | height ) |
Definition at line 132 of file nav.c.
References aNavMapExclusionRects, ShortRect::bottom, ShortRect::left, nNavMapReservedAreaCount, ReserveNavMapArea(), ShortRect::right, and ShortRect::top.
Referenced by DrawNavCrossMarker(), DrawNavRectangleMarker(), DrawNavSquareMarker(), DrawNavTriangleMarker(), PlaceNavMapLabel(), and ReserveNavMapArea().
Definition at line 146 of file nav.c.
References nNavMapLabelCount, and ResetNavMapLabels().
Referenced by BuildMap(), and ResetNavMapLabels().
Definition at line 126 of file nav.c.
References nNavMapReservedAreaCount, and ResetNavMapReservedAreas().
Referenced by BuildMap(), and ResetNavMapReservedAreas().
| void ScaleNavMapCoordinates | ( | short * | x, |
| short * | y, | ||
| short | mapX, | ||
| short | mapY ) |
| short SelectNavObjectiveAtPoint | ( | short | mouseX, |
| short | mouseY ) |
Definition at line 760 of file nav.c.
References abFlightPathList, aMissionObjectivesArray, awMapNavObjectiveLabelIndex, cCurrentNavPtIdx, hidden_objective(), IsPointInNavMapLabel(), ScaleNavMapCoordinates(), SelectNavObjectiveAtPoint(), and set_new_objective().
Referenced by InflightComputer(), and SelectNavObjectiveAtPoint().
| void __stdcall SetFrameTimerAndWait | ( | short | period | ) |
Definition at line 610 of file eventmgr.c.
Definition at line 562 of file eventmgr.c.
| void SetScreenClipRect | ( | unsigned short | a, |
| unsigned short | b, | ||
| unsigned short | c, | ||
| unsigned short | d ) |
Definition at line 440 of file nav.c.
References SetRectBounds(), SetScreenClipRect(), and stSceneBuffer.
Referenced by BriefingMap_LoadShapes(), BuildMap(), DrawNavLocationReadout(), and SetScreenClipRect().
| void __stdcall SetTextContext | ( | TextContext * | context | ) |
Definition at line 812 of file nav.c.
References DrawNavLocationReadout(), EnterAllocationScope(), LeaveAllocationScope(), SetRectBounds(), ShowConfedNavScan(), and stScreenView.
Referenced by InflightComputer(), and ShowConfedNavScan().
| short TryPlaceNavMapLabel | ( | short | x, |
| short | y, | ||
| short | width, | ||
| short | force ) |
Definition at line 152 of file nav.c.
References aNavMapLabels, NavMapLabelFits(), NavMapLabelPositionAvailable(), nNavMapLabelCount, TryPlaceNavMapLabel(), NavMapLabel::x, and NavMapLabel::y.
Referenced by PlaceNavMapLabel(), and TryPlaceNavMapLabel().
| void UpdateInflightNavText | ( | short | showColon | ) |
Definition at line 590 of file nav.c.
References TextContext::cursorX, DrawFormattedText(), Viewport::left, pElapsedCampaignDatePtr, SetTextContext(), stCurrentNavMapTxtCtx, Viewport::top, UpdateInflightNavText(), and TextContext::viewport.
Referenced by InflightComputer(), and UpdateInflightNavText().
| InputDeviceSample aInputDevSamples[2] |
Definition at line 78 of file nav.c.
Referenced by get_player_input(), PollJoystickButtonEvents(), PollMenuInputDevices(), ReadCalibratedJoystick(), SampleActiveJoystickDevice(), TranslatePolledInputEvent(), UpdateInputDeviceTransitions(), WaitForJoystickButtonPress(), and WaitForJoystickButtonRelease().
|
static |
Definition at line 56 of file nav.c.
Referenced by NavMapPointInsideReservedArea(), and ReserveNavMapArea().
|
static |
Definition at line 54 of file nav.c.
Referenced by DrawNavMapLabels(), IsPointInNavMapLabel(), PlaceNavMapLabel(), and TryPlaceNavMapLabel().
|
static |
Definition at line 15 of file nav.c.
Referenced by BuildMap().
|
static |
Definition at line 38 of file nav.c.
Referenced by DrawNavLocationReadout().
| int bInflightComputerActive = 0 |
Definition at line 51 of file nav.c.
Referenced by InflightComputer(), and SetHudMessageText().
| short nCurrentActiveInputDevice |
Definition at line 60 of file nav.c.
Referenced by CalibrateJoystickInteractive(), get_player_input(), LoadJoystickCalibrationFile(), player_input(), PollJoystickButtonEvents(), PollMenuInputDevices(), ReadCalibratedJoystick(), SampleActiveJoystickDevice(), SampleJoystickDevice(), TranslatePolledInputEvent(), UpdateInputDeviceTransitions(), WaitForJoystickButtonPress(), and WaitForJoystickButtonRelease().
| int nCurrentJoystickFailureValue |
Definition at line 77 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nCurrentJoystickLeftScale |
Definition at line 64 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nCurrentJoystickRawCoordX |
Definition at line 69 of file nav.c.
Referenced by ReadCalibratedJoystick().
| int nCurrentJoystickRawCoordY |
Definition at line 70 of file nav.c.
Referenced by ReadCalibratedJoystick().
| int nJoystickCentreX |
Definition at line 76 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nJoystickCentreY |
Definition at line 75 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nJoystickDownScaleValue |
Definition at line 74 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nJoystickHorizontalDeadZone |
Definition at line 62 of file nav.c.
Referenced by LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nJoystickHorizontalRangeValue |
Definition at line 72 of file nav.c.
Referenced by CalibrateJoystickInteractive().
| int nJoystickRightScale |
Definition at line 73 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nJoystickUpScale |
Definition at line 63 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nJoystickVertDeadZoneValue |
Definition at line 61 of file nav.c.
Referenced by LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nJoystickVerticalRange |
Definition at line 71 of file nav.c.
Referenced by CalibrateJoystickInteractive().
| short nNavMapCenterPositionY |
Definition at line 58 of file nav.c.
Referenced by ScaleNavMapCoordinates(), and SetScale().
| short nNavMapCoordinateScaling = 0 |
Definition at line 12 of file nav.c.
Referenced by nav_getxy(), and SetNavMapCoordinateScaling().
|
static |
Definition at line 33 of file nav.c.
Referenced by BuildMap(), DrawNavMapLabels(), FindNavMapLabelAtPoint(), PlaceNavMapLabel(), ResetNavMapLabels(), and TryPlaceNavMapLabel().
|
static |
Definition at line 34 of file nav.c.
Referenced by NavMapLabelPositionAvailable(), ReserveNavMapArea(), and ResetNavMapReservedAreas().
| short nNavMapScale = 1 |
Definition at line 13 of file nav.c.
Referenced by ScaleNavMapCoordinates(), ScaleNavMapMarkerSize(), and SetScale().
| int nStickMaxX |
Definition at line 65 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nStickMaxY |
Definition at line 66 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nStickMinimumPositionX |
Definition at line 67 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
| int nStickMinimumPositionY |
Definition at line 68 of file nav.c.
Referenced by CalibrateJoystickInteractive(), LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().
|
static |
Definition at line 32 of file nav.c.
Referenced by BriefingMap_DisplayMap(), BriefingMap_LoadShapes(), BuildMap(), and InflightComputer().
| TextContext stMapNavigationLabelTextContext |
Definition at line 59 of file nav.c.
Referenced by BuildMap(), DrawNavCrossMarker(), DrawNavPlayerMarker(), DrawNavRectangleMarker(), DrawNavSquareMarker(), DrawNavTriangleMarker(), and InflightComputer().
|
static |
Definition at line 35 of file nav.c.
Referenced by DrawNavLocationReadout().