45 #include <Orbitersdk.h>
48 #define MoveToExFloat(hdc, x, y, lppoint) MoveToEx(hdc, (int)(x + 0.5), (int)(y + 0.5), lppoint)
49 #define LineToFloat(hdc, x, y) LineTo(hdc, (int)(x + 0.5), (int)(y + 0.5))
50 #define TextOutFloat(hdc, x, y, str, n) TextOut(hdc, (int)(x + 0.5), (int)(y + 0.5), str, n)
57 static void SetScale(
const HUDPAINTSPEC *hps);
60 void DrawCross(MyDC hDC, POINT p,
double bank = 0,
int crosslen = 15);
61 void DrawArrow(MyDC hDC,
double angle,
double triangleAngle = 25 * RAD,
int sideLength = 20);
62 void DrawCircle(MyDC hDC, POINT centre,
double radius);
63 virtual void DrawHUD(
int mode,
const HUDPAINTSPEC *hps, MyDC hDC) = 0;
69 static double pixelsPerDegree;