1 #include "../Instrument.h" 34 if (temp < 0.0f) temp += 0.5f;
35 if (temp > 0.5f) temp -= 0.5f;
46 swprintf_s(msg, 99, L
"%3.0f", wholealt);
47 DrawTextW(msg,
x + 15,
y + 150, DT_NOCLIP, D3DXCOLOR(0.0f, 1.0f, 0.0f, 1.0f), 1,
"AltitudeReadout?");
50 swprintf_s(msg, 99, L
"%03.0f", floorf(fractalt));
51 DrawTextW(msg,
x + 55,
y + 155, DT_NOCLIP, D3DXCOLOR(0.0f, 1.0f, 0.0f, 1.0f), 0,
"AltitudeReadout?");
virtual void Initialize(Bus *prmBus, Logger *prmLogger, DEVICE_OBJECT *prmDevice, int prmScreenWidth, int prmScreenHeight, std::vector< Font > *prmFonts, bool prmFlip)
AltitudeTape(int prmX, int prmY, int prmWidth, int prmHeight, std::string prmTextureFile, float prmModulateKm)
D3D10_TEXTURE2D_DESC desc
Abstract base class for instrumentation By definition, instruments don't do any of the work (they don...
std::string pathAndFilename
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
void Initialize(Logger *prmLogger, Bus *prmBus, DEVICE_OBJECT *prmpDevice, int prmScreenHeight, int prmElementX, int prmElementY, bool prmFlip)