mirror of
https://github.com/halpz/re3.git
synced 2025-05-10 18:36:38 +03:00
Default native resolution mode and small camera fixes
This commit is contained in:
parent
378f1d180d
commit
d455cd8a62
6 changed files with 60 additions and 6 deletions
|
@ -240,8 +240,13 @@ DoFade(void)
|
|||
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
|
||||
}else{
|
||||
rect.left = 0.0f;
|
||||
rect.right = SCREEN_WIDTH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue