19 swprintf_s(str, 99, L
"RTS %i,%i,%i (%i@%i) NODE %.3fkm (%.3f #%zu)",
bus->
DebugType,
bus->
DebugRts.
u,
bus->
DebugRts.
v,
bus->
DebugRtsTexture,
bus->
DebugRtsRotation,
bus->
DebugDistanceToNextNode,
bus->
SpeedometerKPH * 0.006f,
bus->
DebugNextIndex);
41 swprintf_s(str, 99, L
"ACL %.3f f_temp %.3f elev %.3f",
f_ACL,
47 swprintf_s(str, 99, L
"BCL %.3f f_temp %.3f elev %.3f",
f_BCL,
71 swprintf_s(str, 99, L
"POWR %+.1f%% DRAG %+.1f%% FUEL %+.1f%% PLAY %.1f%%", (wear.
thrust - 1.0f) * 100.0f, (wear.
drag - 1.0f) * 100.0f, (wear.
fuelFlow - 1.0f) * 100.0f, wear.
controlPlay * 100.0f);
Diagnostics(int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)
Instrument(int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)