3 #include "../Viewscreen/Viewscreen.h" 6 Instrument(prmX, prmY, prmXScale, prmYScale, prmBus, prmLogger, prmDevice, prmFonts)
14 cityMap =
new Sprite(
logger,
pDevice,
"Textures/Instruments/citymap.dds", prmX, prmY, 0.0f, 0, 0, 2048, 2048, 0xFFFFFFFF);
15 airplane =
new Sprite(
logger,
pDevice,
"Textures/Instruments/icon-vehicle.png", prmX + static_cast<int>(
width * 0.5f - 3.5f), prmY + static_cast<int>(
height * 0.5f - 3.5f), 0.1f, 0, 0, 7, 15, 0xFFFFFFFF);
16 navTarget =
new Sprite(
logger,
pDevice,
"Textures/Instruments/navtarget.png", prmX, prmY, 0.2f, 0, 0, 7, 7, 0xFFFFFFFF);
55 else if (result.x >
width - 5)
59 else if (result.y >
height - 4)
void SetLocation(int absoluteX, int absoluteY)
void SetRectangle(int top, int left, int right, int bottom)
void Draw(D3DXCOLOR prmColor)
float MapScaleInnerRingKm
#define depthFloorResolutionC
StreetView(int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font *> prmFonts)
void AddToCallStack(const char *msg)
void FrameMove(float fElapsed) override