Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
GPSReceiver Class Reference
Inheritance diagram for GPSReceiver:

Protected Member Functions

void GPSReceiver ()
void PositionalUpdate ()
override void SetActions ()
override bool IsTurnedOn ()
override void OnWorkStart ()
override void OnWorkStop ()
override void OnWork (float consumed_energy)
void UpdateDisplayState (int animPhase)
void UpdateDisplayPosition ()
void UpdateDisplayElevation ()
int GetHiddenSelection (string selection)
override void OnDebugSpawn ()
void UpdateDisplayState (bool pIsTurnedOn)

Protected Attributes

const string DISPLAY_TEXTURE_PATH_FORMAT = "dz\\gear\\navigation\\data\\GPS_%1_ca.paa"
const string ANIM_PHASE_DISPLAY_HIDE = "DisplayState"
const int PHASE_OFF = 1
const int PHASE_ON = 0
ref set< stringm_DisplayGridSelections
ref set< stringm_DisplayAltSelections
ref map< int, stringm_DisplayNumericSignTextureMap
ref array< intm_OrderedPositionNumbersLast
 cache
ref array< intm_AltitudeNumbersLast
bool m_InitGPS

Detailed Description

Definition at line 1 of file gpsreceiver.c.

Constructor & Destructor Documentation

◆ GPSReceiver()

void GPSReceiver::GPSReceiver ( )
protected

translate numerical -1 to - texture

Definition at line 20 of file gpsreceiver.c.

Member Function Documentation

◆ GetHiddenSelection()

int GPSReceiver::GetHiddenSelection ( string selection)
protected

Definition at line 169 of file gpsreceiver.c.

◆ IsTurnedOn()

override bool GPSReceiver::IsTurnedOn ( )
protected

Definition at line 83 of file gpsreceiver.c.

◆ OnDebugSpawn()

override void GPSReceiver::OnDebugSpawn ( )
protected

Definition at line 187 of file gpsreceiver.c.

◆ OnWork()

override void GPSReceiver::OnWork ( float consumed_energy)
protected

Definition at line 116 of file gpsreceiver.c.

◆ OnWorkStart()

override void GPSReceiver::OnWorkStart ( )
protected

Definition at line 88 of file gpsreceiver.c.

◆ OnWorkStop()

override void GPSReceiver::OnWorkStop ( )
protected

Definition at line 102 of file gpsreceiver.c.

◆ PositionalUpdate()

void GPSReceiver::PositionalUpdate ( )
protected

Definition at line 66 of file gpsreceiver.c.

◆ SetActions()

override void GPSReceiver::SetActions ( )
protected

Definition at line 75 of file gpsreceiver.c.

◆ UpdateDisplayElevation()

void GPSReceiver::UpdateDisplayElevation ( )
protected

Definition at line 149 of file gpsreceiver.c.

◆ UpdateDisplayPosition()

void GPSReceiver::UpdateDisplayPosition ( )
protected

Definition at line 127 of file gpsreceiver.c.

◆ UpdateDisplayState() [1/2]

void GPSReceiver::UpdateDisplayState ( bool pIsTurnedOn)
protected

Definition at line 196 of file gpsreceiver.c.

◆ UpdateDisplayState() [2/2]

void GPSReceiver::UpdateDisplayState ( int animPhase)
protected

Definition at line 121 of file gpsreceiver.c.

Member Data Documentation

◆ ANIM_PHASE_DISPLAY_HIDE

const string GPSReceiver::ANIM_PHASE_DISPLAY_HIDE = "DisplayState"
protected

Definition at line 5 of file gpsreceiver.c.

◆ DISPLAY_TEXTURE_PATH_FORMAT

const string GPSReceiver::DISPLAY_TEXTURE_PATH_FORMAT = "dz\\gear\\navigation\\data\\GPS_%1_ca.paa"
protected

Definition at line 4 of file gpsreceiver.c.

◆ m_AltitudeNumbersLast

ref array<int> GPSReceiver::m_AltitudeNumbersLast
protected

Definition at line 16 of file gpsreceiver.c.

◆ m_DisplayAltSelections

ref set<string> GPSReceiver::m_DisplayAltSelections
protected

Definition at line 11 of file gpsreceiver.c.

◆ m_DisplayGridSelections

ref set<string> GPSReceiver::m_DisplayGridSelections
protected

Definition at line 10 of file gpsreceiver.c.

◆ m_DisplayNumericSignTextureMap

ref map<int, string> GPSReceiver::m_DisplayNumericSignTextureMap
protected

Definition at line 12 of file gpsreceiver.c.

◆ m_InitGPS

bool GPSReceiver::m_InitGPS
protected

Definition at line 18 of file gpsreceiver.c.

◆ m_OrderedPositionNumbersLast

ref array<int> GPSReceiver::m_OrderedPositionNumbersLast
protected

cache

Definition at line 15 of file gpsreceiver.c.

◆ PHASE_OFF

const int GPSReceiver::PHASE_OFF = 1
protected

Definition at line 7 of file gpsreceiver.c.

◆ PHASE_ON

const int GPSReceiver::PHASE_ON = 0
protected

Definition at line 8 of file gpsreceiver.c.


The documentation for this class was generated from the following file: