summaryrefslogtreecommitdiffstats
path: root/src/render/Draw.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 23:01:41 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 23:01:41 +0100
commit7a3ee349da51543f5e273df1a7d932a25602ea2a (patch)
tree89dfabef536de8e7163e4fe1b094957e6d3ac762 /src/render/Draw.h
parentTrain anims in enum (diff)
downloadre3-7a3ee349da51543f5e273df1a7d932a25602ea2a.tar
re3-7a3ee349da51543f5e273df1a7d932a25602ea2a.tar.gz
re3-7a3ee349da51543f5e273df1a7d932a25602ea2a.tar.bz2
re3-7a3ee349da51543f5e273df1a7d932a25602ea2a.tar.lz
re3-7a3ee349da51543f5e273df1a7d932a25602ea2a.tar.xz
re3-7a3ee349da51543f5e273df1a7d932a25602ea2a.tar.zst
re3-7a3ee349da51543f5e273df1a7d932a25602ea2a.zip
Diffstat (limited to '')
-rw-r--r--src/render/Draw.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/render/Draw.h b/src/render/Draw.h
index 2976dc34..1a63c980 100644
--- a/src/render/Draw.h
+++ b/src/render/Draw.h
@@ -30,6 +30,16 @@ public:
static uint8 FadeRed;
static uint8 FadeGreen;
static uint8 FadeBlue;
+
+#ifdef PROPER_SCALING
+ static bool ms_bProperScaling;
+#endif
+#ifdef FIX_RADAR
+ static bool ms_bFixRadar;
+#endif
+#ifdef FIX_SPRITES
+ static bool ms_bFixSprites;
+#endif
static void SetNearClipZ(float nearclip) { ms_fNearClipZ = nearclip; }
static float GetNearClipZ(void) { return ms_fNearClipZ; }
@@ -50,4 +60,7 @@ public:
#endif
static float GetAspectRatio(void) { return ms_fAspectRatio; }
static void SetAspectRatio(float ratio) { ms_fAspectRatio = ratio; }
+#ifdef PROPER_SCALING
+ static float ScaleY(float y);
+#endif
};