mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 05:34:08 +00:00
Menu borders and weapon fixes
This commit is contained in:
parent
5276abb0fb
commit
4870d9a31b
13 changed files with 384 additions and 225 deletions
|
@ -3117,15 +3117,6 @@ CCamera::Fade(float timeout, int16 direction)
|
|||
m_iMusicFadingDirection = direction;
|
||||
m_fTimeToFadeMusic = timeout;
|
||||
m_uiFadeTimeStartedMusic = CTimer::GetTimeInMilliseconds();
|
||||
// Not on PS2
|
||||
if(!m_bJustJumpedOutOf1stPersonBecauseOfTarget && m_iMusicFadingDirection == FADE_OUT){
|
||||
unknown++;
|
||||
if(unknown >= 2){
|
||||
m_bJustJumpedOutOf1stPersonBecauseOfTarget = true;
|
||||
unknown = 0;
|
||||
}else
|
||||
m_bMoveCamToAvoidGeom = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3314,8 +3305,9 @@ CCamera::CalculateDerivedValues(void)
|
|||
// left plane
|
||||
m_vecFrustumNormals[1] = CVector(-c, -s, 0.0f);
|
||||
|
||||
c /= CDraw::FindAspectRatio();
|
||||
s /= CDraw::FindAspectRatio();
|
||||
CDraw::CalculateAspectRatio();
|
||||
c /= SCREEN_ASPECT_RATIO;
|
||||
s /= SCREEN_ASPECT_RATIO;
|
||||
// bottom plane
|
||||
m_vecFrustumNormals[2] = CVector(0.0f, -s, -c);
|
||||
// top plane
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue