diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 21:30:30 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 21:30:30 +0100 |
commit | 00d23c61d99a0a676de2219da42d576b5c5c0474 (patch) | |
tree | 2a6d74663312bdb01b5ae1fd9abbd1c8fc5d857f /src/render/Draw.h | |
parent | Merge pull request #909 from Fire-Head/master (diff) | |
download | re3-00d23c61d99a0a676de2219da42d576b5c5c0474.tar re3-00d23c61d99a0a676de2219da42d576b5c5c0474.tar.gz re3-00d23c61d99a0a676de2219da42d576b5c5c0474.tar.bz2 re3-00d23c61d99a0a676de2219da42d576b5c5c0474.tar.lz re3-00d23c61d99a0a676de2219da42d576b5c5c0474.tar.xz re3-00d23c61d99a0a676de2219da42d576b5c5c0474.tar.zst re3-00d23c61d99a0a676de2219da42d576b5c5c0474.zip |
Diffstat (limited to 'src/render/Draw.h')
-rw-r--r-- | src/render/Draw.h | 14 |
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 }; |