mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
Fixed widescreen turning off during cutscenes
This commit is contained in:
parent
545bd3322c
commit
8d4cceb2e4
@ -1357,6 +1357,18 @@ void CCamera::SetCameraDirectlyInFrontForFollowPed_CamOnAString()
|
||||
m_PedOrientForBehindOrInFront = CGeneral::GetATanOfXY(player->GetForward().x, player->GetForward().y);
|
||||
}
|
||||
|
||||
void
|
||||
CCamera::SetWideScreenOn(void)
|
||||
{
|
||||
m_WideScreenOn = true;
|
||||
}
|
||||
|
||||
void
|
||||
CCamera::SetWideScreenOff(void)
|
||||
{
|
||||
m_bWantsToSwitchWidescreenOff = m_WideScreenOn;
|
||||
}
|
||||
|
||||
STARTPATCHES
|
||||
InjectHook(0x42C760, (bool (CCamera::*)(const CVector ¢er, float radius, const CMatrix *mat))&CCamera::IsSphereVisible, PATCH_JUMP);
|
||||
InjectHook(0x46FD00, &CCamera::SetFadeColour, PATCH_JUMP);
|
||||
@ -1367,6 +1379,9 @@ STARTPATCHES
|
||||
|
||||
InjectHook(0x46FC90, &CCamera::SetCameraDirectlyInFrontForFollowPed_CamOnAString, PATCH_JUMP);
|
||||
|
||||
InjectHook(0x46FF00, &CCamera::SetWideScreenOn, PATCH_JUMP);
|
||||
InjectHook(0x46FF10, &CCamera::SetWideScreenOff, PATCH_JUMP);
|
||||
|
||||
InjectHook(0x456F40, WellBufferMe, PATCH_JUMP);
|
||||
InjectHook(0x4582F0, &CCam::GetVectorsReadyForRW, PATCH_JUMP);
|
||||
InjectHook(0x457710, &CCam::DoAverageOnVector, PATCH_JUMP);
|
||||
|
@ -468,8 +468,8 @@ int m_iModeObbeCamIsInForCar;
|
||||
|
||||
void DrawBordersForWideScreen(void);
|
||||
void Restore(void);
|
||||
void SetWideScreenOn(void) { m_WideScreenOn = true; }
|
||||
void SetWideScreenOff(void) { m_WideScreenOn = false; }
|
||||
void SetWideScreenOn(void);
|
||||
void SetWideScreenOff(void);
|
||||
|
||||
float Find3rdPersonQuickAimPitch(void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user