diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-12-29 20:24:16 +0300 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-12-29 20:24:16 +0300 |
commit | 224e805fe4e7a4d5366b228072834674f77fa0ba (patch) | |
tree | e28b27bea8a0b8c5d78b1a67231713c58f430e9f /src/render/Draw.h | |
parent | 40b90618eff1c40e8c5e4fb5a218c681d6d379e0 (diff) |
Sprite Scaling option
Diffstat (limited to 'src/render/Draw.h')
-rw-r--r-- | src/render/Draw.h | 16 |
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 }; |