mirror of
https://github.com/halpz/re3.git
synced 2025-05-10 08:26:39 +03:00
Adding getters and setters for type and status
This commit is contained in:
parent
cf5a404f6b
commit
7d758f3a9f
41 changed files with 256 additions and 249 deletions
|
@ -4683,7 +4683,7 @@ CCam::Process_FollowCar_SA(const CVector& CameraTarget, float TargetOrientation,
|
|||
static float ZmTwoAlphaOffsetLCS[] = { 0.1f, 0.08f, 0.3f, 0.08f, 0.08f };
|
||||
static float ZmThreeAlphaOffsetLCS[] = { 0.065f, 0.05f, 0.15f, 0.06f, 0.08f };
|
||||
|
||||
if (isHeli && car->m_status == STATUS_PLAYER_REMOTE)
|
||||
if (isHeli && car->GetStatus() == STATUS_PLAYER_REMOTE)
|
||||
zoomModeAlphaOffset = ZmTwoAlphaOffsetLCS[alphaArrPos];
|
||||
else {
|
||||
switch ((int)TheCamera.CarZoomIndicator) {
|
||||
|
@ -4712,7 +4712,7 @@ CCam::Process_FollowCar_SA(const CVector& CameraTarget, float TargetOrientation,
|
|||
|
||||
float minDistForThisCar = approxCarLength * CARCAM_SET[camSetArrPos][3];
|
||||
|
||||
if (!isHeli || car->m_status == STATUS_PLAYER_REMOTE) {
|
||||
if (!isHeli || car->GetStatus() == STATUS_PLAYER_REMOTE) {
|
||||
float radiusToStayOutside = colMaxZ * CARCAM_SET[camSetArrPos][0] - CARCAM_SET[camSetArrPos][2];
|
||||
if (radiusToStayOutside > 0.0f) {
|
||||
TargetCoors.z += radiusToStayOutside;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue