summaryrefslogtreecommitdiffstats
path: root/src/render/Draw.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-12-29 18:24:16 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2020-12-29 18:24:16 +0100
commit224e805fe4e7a4d5366b228072834674f77fa0ba (patch)
treee28b27bea8a0b8c5d78b1a67231713c58f430e9f /src/render/Draw.h
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.gz
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.bz2
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.lz
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.xz
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.zst
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.zip
Diffstat (limited to 'src/render/Draw.h')
-rw-r--r--src/render/Draw.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/render/Draw.h b/src/render/Draw.h
index 5c4f95b1..9b98ca17 100644
--- a/src/render/Draw.h
+++ b/src/render/Draw.h
@@ -5,9 +5,21 @@ enum eAspectRatio
// Make sure these work the same as FrontEndMenuManager.m_PrefsUseWideScreen
// without widescreen support
AR_4_3,
+ AR_5_4,
+ AR_16_10,
AR_16_9,
+ AR_21_9,
AR_AUTO,
+
+ AR_MAX,
+};
+
+enum eSpriteScalingMode
+{
+ SCL_PC,
+ SCL_PS2,
+ SCL_AUTO,
};
class CDraw
@@ -52,4 +64,8 @@ public:
#else
static float GetAspectRatio(void) { return FindAspectRatio(); }
#endif
+
+#ifdef ASPECT_RATIO_SCALE
+ static float ScaleY(float y);
+#endif
};