![]() |
Avionics
Dropship Simulator
|
#include <Instrument.h>
Public Member Functions | |
| Diagnostics (int prmX, int prmY, float prmXScale, float prmYScale) | |
| void | Render (float fElapsed) override |
Public Member Functions inherited from Instrument | |
| Instrument (int prmX, int prmY, float prmXScale, float prmYScale) | |
| virtual void | Initialize (Bus *prmBus, Logger *prmLogger, DEVICE_OBJECT *prmDevice, int prmScreenWidth, int prmScreenHeight, std::vector< Font > *prmFonts, bool prmFlip) |
| void | DrawText (const WCHAR *str, int x, int y, int flags, D3DXCOLOR color, int font, std::string elementName) |
| virtual | ~Instrument () |
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 |
Definition at line 196 of file Instrument.h.
| Diagnostics::Diagnostics | ( | int | prmX, |
| int | prmY, | ||
| float | prmXScale, | ||
| float | prmYScale | ||
| ) |
Definition at line 4 of file Diagnostics.cpp.
|
overridevirtual |
until we have the flight control synoptic page
just until we have visual graph indication
until we have the EICAS pitch trim instrument
AOA is to be a bug on the PFD? Display will always need to be here or on a synoptic page
desired yaw is based on bank angle? 0.15737 * TAS (knots) gives us bank angle for 3 deg/s turn http://aviation.stackexchange.com/questions/2871/how-to-calculate-angular-velocity-and-radius-of-a-turn
Implements Instrument.
Definition at line 8 of file Diagnostics.cpp.