Avionics
Dropship Simulator
|
FMA. More...
#include <Instrument.h>
Public Member Functions | |
FlightModeAnnunciator (int prmX, int prmY, float prmXScale, float prmYScale) | |
void | Initialize (Bus *prmBus, Logger *prmLogger, DEVICE_OBJECT *prmDevice, int prmScreenWidth, int prmScreenHeight, std::vector< Font > *prmFonts, bool prmFlip) override |
void | Render (float fElapsed) override |
Public Member Functions inherited from Instrument | |
Instrument (int prmX, int prmY, float prmXScale, float prmYScale) | |
void | DrawText (const WCHAR *str, int x, int y, int flags, D3DXCOLOR color, int font, std::string elementName) |
virtual | ~Instrument () |
Private Attributes | |
Sprite | pixel |
Bus::Afcs::LateralModes | oldActiveLateralMode = Bus::Afcs::LateralModes::LateralMode_Off |
float | lateralModeTimer = 3.0f |
Bus::Afcs::VerticalModes | oldActiveVerticalMode = Bus::Afcs::VerticalModes::VerticalMode_Off |
float | verticalModeTimer = 3.0f |
bool | oldAutopilotEngaged = false |
float | autopilotModeTimer = 3.0f |
UINT | font = 1 |
Additional Inherited Members | |
Protected Attributes inherited from Instrument | |
Bus * | bus = nullptr |
Logger * | logger = nullptr |
int | screenWidth = 0 |
int | screenHeight = 0 |
DEVICE_OBJECT * | pDevice = nullptr |
std::vector< Font > * | fonts = nullptr |
bool | flip = false |
int | x |
int | y |
int | width = 0 |
int | height = 0 |
float | xScale |
float | yScale |
int | standardWidth = 0 |
int | standardHeight = 0 |
FMA.
Definition at line 162 of file Instrument.h.
FlightModeAnnunciator::FlightModeAnnunciator | ( | int | prmX, |
int | prmY, | ||
float | prmXScale, | ||
float | prmYScale | ||
) |
Definition at line 3 of file FlightModeAnnunciator.cpp.
|
overridevirtual |
Reimplemented from Instrument.
Definition at line 7 of file FlightModeAnnunciator.cpp.
|
overridevirtual |
129 32 82 27
A/P
vsi
spd
alt
hdg
Implements Instrument.
Definition at line 16 of file FlightModeAnnunciator.cpp.
|
private |
Definition at line 171 of file Instrument.h.
|
private |
Definition at line 172 of file Instrument.h.
|
private |
Definition at line 167 of file Instrument.h.
|
private |
Definition at line 166 of file Instrument.h.
|
private |
Definition at line 168 of file Instrument.h.
|
private |
Definition at line 170 of file Instrument.h.
|
private |
Definition at line 165 of file Instrument.h.
|
private |
Definition at line 169 of file Instrument.h.