summaryrefslogtreecommitdiffstats
path: root/src/render/Draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Draw.h')
-rw-r--r--src/render/Draw.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/render/Draw.h b/src/render/Draw.h
index 45f7906f..4f8f523d 100644
--- a/src/render/Draw.h
+++ b/src/render/Draw.h
@@ -34,6 +34,16 @@ public:
static uint8 FadeRed;
static uint8 FadeGreen;
static uint8 FadeBlue;
+
+#ifdef PROPER_SCALING
+ static int32 ms_bProperScaling;
+#endif
+#ifdef FIX_SPRITES
+ static int32 ms_bFixRadar;
+#endif
+#ifdef FIX_RADAR
+ static int32 ms_bFixSprites;
+#endif
static void SetNearClipZ(float nearclip) { ms_fNearClipZ = nearclip; }
static float GetNearClipZ(void) { return ms_fNearClipZ; }
@@ -56,4 +66,8 @@ public:
#else
static float GetAspectRatio(void) { return FindAspectRatio(); }
#endif
+
+#ifdef PROPER_SCALING
+ static float ScaleY(float y);
+#endif
};