diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-08 00:01:39 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-08 00:01:39 +0200 |
commit | 5ec46bcdfb06cdb6a2db2ae1f7c588a41d60d675 (patch) | |
tree | e9e741ec4753a91e62dccc136213f32b32ac15ec /src/core/main.cpp | |
parent | more accurate code (diff) | |
parent | CarCtrl fixes (diff) | |
download | re3-5ec46bcdfb06cdb6a2db2ae1f7c588a41d60d675.tar re3-5ec46bcdfb06cdb6a2db2ae1f7c588a41d60d675.tar.gz re3-5ec46bcdfb06cdb6a2db2ae1f7c588a41d60d675.tar.bz2 re3-5ec46bcdfb06cdb6a2db2ae1f7c588a41d60d675.tar.lz re3-5ec46bcdfb06cdb6a2db2ae1f7c588a41d60d675.tar.xz re3-5ec46bcdfb06cdb6a2db2ae1f7c588a41d60d675.tar.zst re3-5ec46bcdfb06cdb6a2db2ae1f7c588a41d60d675.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index 6ffaabf6..2ea15589 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -234,18 +234,13 @@ DoFade(void) fadeColor.a = alpha; } + // This is CCamera::GetScreenRect in VC if(TheCamera.m_WideScreenOn){ - // what's this? float y = SCREEN_HEIGHT/2 * TheCamera.m_ScreenReductionPercentage/100.0f; rect.left = 0.0f; rect.right = SCREEN_WIDTH; -#ifdef FIX_BUGS - rect.top = y - SCREEN_SCALE_Y(8.0f); - rect.bottom = SCREEN_HEIGHT - y - SCREEN_SCALE_Y(8.0f); -#else - rect.top = y - 8.0f; - rect.bottom = SCREEN_HEIGHT - y - 8.0f; -#endif // FIX_BUGS + rect.top = y - SCREEN_SCALE_Y(22.0f); + rect.bottom = SCREEN_HEIGHT - y - SCREEN_SCALE_Y(14.0f); }else{ rect.left = 0.0f; rect.right = SCREEN_WIDTH; |