Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
nav.c File Reference

Navigation map, objective labels and the in-flight computer. More...

#include "wc1.h"
#include <dos.h>
#include <float.h>

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)

Variables

short nNavMapCoordinateScaling = 0
short nNavMapScale = 1
static NavMapObjectiveStyle aNavMapObjectiveStyles [10]
static struct Shape * pNavMapShape = 0
static short nNavMapLabelCount = 0
static short nNavMapReservedAreaCount = 0
static char szCampaignSector [16] = "Vega XR-231.3"
static char * apszShipMissionTypeNames [11]
int bInflightComputerActive = 0
static NavMapLabel aNavMapLabels [20]
static ShortRect aNavMapExclusionRects [21]
short nNavMapCenterPositionY
TextContext stMapNavigationLabelTextContext
short nCurrentActiveInputDevice
int nJoystickVertDeadZoneValue
int nJoystickHorizontalDeadZone
int nJoystickUpScale
int nCurrentJoystickLeftScale
int nStickMaxX
int nStickMaxY
int nStickMinimumPositionX
int nStickMinimumPositionY
int nCurrentJoystickRawCoordX
int nCurrentJoystickRawCoordY
int nJoystickVerticalRange
int nJoystickHorizontalRangeValue
int nJoystickRightScale
int nJoystickDownScaleValue
int nJoystickCentreY
int nJoystickCentreX
int nCurrentJoystickFailureValue
InputDeviceSample aInputDevSamples [2]

Detailed Description

Navigation map, objective labels and the in-flight computer.

Address range 40d090-40e88f.

Definition in file nav.c.

Function Documentation

◆ achieved()

short achieved ( short objective)

Definition at line 1042 of file cockpt.c.

◆ AddFixedVectors()

void AddFixedVectors ( const FixedVector * left,
const FixedVector * right,
FixedVector * sum )

Definition at line 296 of file geom.c.

◆ AddUniqueObjectiveNavLabel()

void AddUniqueObjectiveNavLabel ( short x,
short y,
unsigned short colour,
const char * text,
short objective,
short missionShip )

◆ AllocateViewport()

unsigned short __stdcall AllocateViewport ( Viewport * viewport,
short clearColour,
short flags )

Definition at line 758 of file view.c.

◆ BriefingMap_DisplayMap()

◆ BriefingMap_LoadShapes()

◆ BuildMap()

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().

◆ CentreMouseOnCurrentNavObjective()

◆ ClearViewport()

void ClearViewport ( Viewport * viewport,
short colour )

Definition at line 963 of file gr.c.

◆ CopyViewportContents()

void CopyViewportContents ( Viewport * source,
Viewport * destination )

Definition at line 945 of file gr.c.

◆ DrawFormattedText()

void DrawFormattedText ( const char * format,
... )

Definition at line 197 of file cockpt.c.

◆ DrawNavCrossMarker()

void DrawNavCrossMarker ( short x,
short y,
short size,
short shadow,
unsigned short colour,
short reserve )

◆ DrawNavHazardMarker()

void DrawNavHazardMarker ( FixedVector navPosition,
FixedVector offset,
short size,
unsigned short markerColour,
unsigned short textColour,
const char * text )

◆ DrawNavLocationReadout()

◆ DrawNavMapLabels()

void DrawNavMapLabels ( void )

Definition at line 303 of file nav.c.

References aNavMapLabels, DrawFormattedText(), DrawNavMapLabels(), and nNavMapLabelCount.

Referenced by BuildMap(), and DrawNavMapLabels().

◆ DrawNavMapLegend()

◆ DrawNavPlayerMarker()

◆ DrawNavRectangleMarker()

void DrawNavRectangleMarker ( short x,
short y,
short size,
short shadow,
unsigned short colour,
short reserve )

◆ DrawNavSquareMarker()

void DrawNavSquareMarker ( short x,
short y,
short size,
short shadow,
short colour,
short reserve )

◆ DrawNavSquareOutline()

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().

◆ DrawNavTextLine()

void DrawNavTextLine ( unsigned char alignment,
unsigned short colour,
const char * format,
... )

Definition at line 1001 of file mission.c.

◆ DrawNavTriangleMarker()

void DrawNavTriangleMarker ( short x,
short y,
short size,
short shadow,
unsigned short colour,
short reserve )

◆ DrawNavTriangleOutline()

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().

◆ DrawSelectedNavLegendEntry()

void DrawSelectedNavLegendEntry ( const char * text,
short navPoint )

◆ DrawSpriteDefault()

void DrawSpriteDefault ( Viewport * viewport,
short x,
short y,
struct Shape * shape,
short frame )

Definition at line 660 of file gr.c.

◆ DrawViewportBorder()

void DrawViewportBorder ( Viewport * viewport,
short left,
short top,
short right,
short bottom,
short colour )

Definition at line 1052 of file gr.c.

◆ DrawViewportEllipse()

void DrawViewportEllipse ( Viewport * viewport,
short x,
short y,
short verticalRadius,
short horizontalRadius,
short colour )

Definition at line 1075 of file gr.c.

◆ DrawViewportEllipseShadow()

void DrawViewportEllipseShadow ( Viewport * viewport,
short x,
short y,
short verticalRadius,
short horizontalRadius,
short colour )

Definition at line 1099 of file gr.c.

◆ DrawViewportLine()

void DrawViewportLine ( Viewport * viewport,
short x1,
short y1,
short x2,
short y2,
short colour )

Definition at line 995 of file gr.c.

◆ DrawViewportPixel()

void DrawViewportPixel ( Viewport * viewport,
short x,
short y,
short colour )

Definition at line 976 of file gr.c.

◆ FetchDiskPacketRetrying()

void * FetchDiskPacketRetrying ( short logicalFile,
short section,
short flags )

Definition at line 126 of file disk.c.

◆ FindNavMapLabelAtPoint()

short FindNavMapLabelAtPoint ( short x,
short y )

Definition at line 290 of file nav.c.

References FindNavMapLabelAtPoint(), IsPointInNavMapLabel(), and nNavMapLabelCount.

Referenced by FindNavMapLabelAtPoint().

◆ force_view()

unsigned int force_view ( int view,
short obj )

Definition at line 464 of file spc.c.

◆ FormatNavCoordinates()

void FormatNavCoordinates ( unsigned char * out)

Definition at line 621 of file nav.c.

References FormatNavCoordinates(), and SplitGameClockTicks().

Referenced by FormatNavCoordinates(), and InflightComputer().

◆ free_viewport()

void __stdcall free_viewport ( Viewport * viewport)

Definition at line 420 of file gameflow.c.

◆ hidden_objective()

short hidden_objective ( short objective)

Definition at line 1098 of file cockpt.c.

◆ InflightComputer()

void InflightComputer ( void )

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().

◆ InitializeTextContextFromFont()

unsigned int InitializeTextContextFromFont ( TextContext * context,
short fontIndex,
unsigned char colour,
signed char background )

Definition at line 192 of file disk.c.

◆ IsPointInNavMapLabel()

short IsPointInNavMapLabel ( short labelIndex,
short x,
short y )

◆ LocateMobileObjective()

short LocateMobileObjective ( short objective)

Definition at line 1204 of file cockpt.c.

◆ mobile_objective()

short mobile_objective ( short objective)

Definition at line 1433 of file cockpt.c.

◆ MoveMenuPointerFromKeyboard()

void MoveMenuPointerFromKeyboard ( InputEventState * event)

Definition at line 551 of file disk.c.

◆ nav_getxy()

void nav_getxy ( short * x,
short * y,
int worldX,
int worldZ )

Definition at line 1039 of file mission.c.

◆ nav_note()

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().

◆ NavMapLabelFits()

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().

◆ NavMapLabelPositionAvailable()

short NavMapLabelPositionAvailable ( short x,
short y,
short width,
short height )

◆ NavMapPointInsideReservedArea()

short NavMapPointInsideReservedArea ( short area,
short x,
short y )

◆ objective_name()

const char * objective_name ( short objective)

Definition at line 1070 of file cockpt.c.

◆ PlaceNavMapLabel()

void PlaceNavMapLabel ( short x,
short y,
unsigned short colour,
const char * text )

◆ PollInputEvent()

short __stdcall PollInputEvent ( InputEventState * event,
short filter )

Definition at line 336 of file eventmgr.c.

◆ ReleasePacketHandle()

void ReleasePacketHandle ( void * handle)

Definition at line 50 of file ending.c.

◆ ReleaseTextFont()

unsigned int ReleaseTextFont ( short fontIndex)

Definition at line 222 of file disk.c.

◆ ReportOutOfMemoryAndExit()

void ReportOutOfMemoryAndExit ( const char * resource)

Definition at line 1277 of file main.c.

◆ ReserveNavMapArea()

◆ ResetNavMapLabels()

void ResetNavMapLabels ( void )

Definition at line 146 of file nav.c.

References nNavMapLabelCount, and ResetNavMapLabels().

Referenced by BuildMap(), and ResetNavMapLabels().

◆ ResetNavMapReservedAreas()

void ResetNavMapReservedAreas ( void )

Definition at line 126 of file nav.c.

References nNavMapReservedAreaCount, and ResetNavMapReservedAreas().

Referenced by BuildMap(), and ResetNavMapReservedAreas().

◆ ScaleNavMapCoordinates()

void ScaleNavMapCoordinates ( short * x,
short * y,
short mapX,
short mapY )

Definition at line 1030 of file mission.c.

◆ ScaleNavMapMarkerSize()

void ScaleNavMapMarkerSize ( short * size)

Definition at line 1024 of file mission.c.

◆ SelectNavObjectiveAtPoint()

◆ set_new_objective()

int set_new_objective ( short pathIndex)

Definition at line 1131 of file cockpt.c.

◆ SetEventManagerPump()

void __stdcall SetEventManagerPump ( void(* pump )(void))

Definition at line 126 of file strdos.c.

◆ SetFrameTimerAndWait()

void __stdcall SetFrameTimerAndWait ( short period)

Definition at line 610 of file eventmgr.c.

◆ SetMouseCursorShape()

void __stdcall SetMouseCursorShape ( struct Shape * shape,
short frame )

Definition at line 562 of file eventmgr.c.

◆ SetRectBounds()

void SetRectBounds ( Viewport * viewport,
unsigned short left,
unsigned short top,
unsigned short right,
unsigned short bottom )

Definition at line 1762 of file cockpt.c.

◆ SetScreenClipRect()

void SetScreenClipRect ( unsigned short a,
unsigned short b,
unsigned short c,
unsigned short d )

◆ SetTextContext()

void __stdcall SetTextContext ( TextContext * context)

Definition at line 152 of file mathfp.c.

◆ SetViewportRect()

void __stdcall SetViewportRect ( Viewport * viewport,
unsigned short left,
unsigned short top,
unsigned short right,
unsigned short bottom )

Definition at line 1560 of file screens.c.

◆ ShowConfedNavScan()

◆ TryPlaceNavMapLabel()

short TryPlaceNavMapLabel ( short x,
short y,
short width,
short force )

◆ UpdateInflightNavText()

◆ visited()

short visited ( short objective)

Definition at line 1036 of file cockpt.c.

◆ WarpMouseTo()

void __stdcall WarpMouseTo ( short x,
short y )

Definition at line 501 of file winmain.c.

Variable Documentation

◆ aInputDevSamples

◆ aNavMapExclusionRects

ShortRect aNavMapExclusionRects[21]
static

Definition at line 56 of file nav.c.

Referenced by NavMapPointInsideReservedArea(), and ReserveNavMapArea().

◆ aNavMapLabels

NavMapLabel aNavMapLabels[20]
static

◆ aNavMapObjectiveStyles

NavMapObjectiveStyle aNavMapObjectiveStyles[10]
static
Initial value:
= {
{ 2, 3, &cRedColour, &cRedColour,
{ 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 }
}
unsigned char cRedColour
Definition init.c:16
unsigned char cBlackColour
Definition init.c:12
unsigned char cViewportClearColour
Definition init.c:13
unsigned char cMagentaColour
Definition init.c:23
unsigned char cDefaultTextColour
Definition init.c:24
unsigned char cPrimaryTextColour
Definition init.c:18

Definition at line 15 of file nav.c.

Referenced by BuildMap().

◆ apszShipMissionTypeNames

char* apszShipMissionTypeNames[11]
static
Initial value:
= {
"Patrol",
"Escort",
"Strike",
"Defend",
"Wingman",
"Flee",
"Goto Warp",
"err",
"err",
"Rendezvous",
"err"
}

Definition at line 38 of file nav.c.

Referenced by DrawNavLocationReadout().

◆ bInflightComputerActive

int bInflightComputerActive = 0

Definition at line 51 of file nav.c.

Referenced by InflightComputer(), and SetHudMessageText().

◆ nCurrentActiveInputDevice

◆ nCurrentJoystickFailureValue

int nCurrentJoystickFailureValue

◆ nCurrentJoystickLeftScale

int nCurrentJoystickLeftScale

◆ nCurrentJoystickRawCoordX

int nCurrentJoystickRawCoordX

Definition at line 69 of file nav.c.

Referenced by ReadCalibratedJoystick().

◆ nCurrentJoystickRawCoordY

int nCurrentJoystickRawCoordY

Definition at line 70 of file nav.c.

Referenced by ReadCalibratedJoystick().

◆ nJoystickCentreX

int nJoystickCentreX

◆ nJoystickCentreY

int nJoystickCentreY

◆ nJoystickDownScaleValue

int nJoystickDownScaleValue

◆ nJoystickHorizontalDeadZone

int nJoystickHorizontalDeadZone

Definition at line 62 of file nav.c.

Referenced by LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().

◆ nJoystickHorizontalRangeValue

int nJoystickHorizontalRangeValue

Definition at line 72 of file nav.c.

Referenced by CalibrateJoystickInteractive().

◆ nJoystickRightScale

int nJoystickRightScale

◆ nJoystickUpScale

int nJoystickUpScale

◆ nJoystickVertDeadZoneValue

int nJoystickVertDeadZoneValue

Definition at line 61 of file nav.c.

Referenced by LoadJoystickCalibrationFile(), and ReadCalibratedJoystick().

◆ nJoystickVerticalRange

int nJoystickVerticalRange

Definition at line 71 of file nav.c.

Referenced by CalibrateJoystickInteractive().

◆ nNavMapCenterPositionY

short nNavMapCenterPositionY

Definition at line 58 of file nav.c.

Referenced by ScaleNavMapCoordinates(), and SetScale().

◆ nNavMapCoordinateScaling

short nNavMapCoordinateScaling = 0

Definition at line 12 of file nav.c.

Referenced by nav_getxy(), and SetNavMapCoordinateScaling().

◆ nNavMapLabelCount

short nNavMapLabelCount = 0
static

◆ nNavMapReservedAreaCount

short nNavMapReservedAreaCount = 0
static

Definition at line 34 of file nav.c.

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

◆ nNavMapScale

short nNavMapScale = 1

Definition at line 13 of file nav.c.

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

◆ nStickMaxX

int nStickMaxX

◆ nStickMaxY

int nStickMaxY

◆ nStickMinimumPositionX

int nStickMinimumPositionX

◆ nStickMinimumPositionY

int nStickMinimumPositionY

◆ pNavMapShape

struct Shape* pNavMapShape = 0
static

Definition at line 32 of file nav.c.

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

◆ stMapNavigationLabelTextContext

◆ szCampaignSector

char szCampaignSector[16] = "Vega XR-231.3"
static

Definition at line 35 of file nav.c.

Referenced by DrawNavLocationReadout().