mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-25 18:33:44 +00:00
Merge branch 'miami' into lcs
This commit is contained in:
commit
26a9ac91ee
3 changed files with 9 additions and 2 deletions
|
@ -4078,7 +4078,7 @@ CCamera::IsPointVisible(const CVector ¢er, const CMatrix *mat)
|
|||
}
|
||||
|
||||
bool
|
||||
CCamera::IsSphereVisible(const CVector ¢er, float radius, Const CMatrix *mat)
|
||||
CCamera::IsSphereVisible(const CVector ¢er, float radius, const CMatrix *mat)
|
||||
{
|
||||
#ifdef GTA_PS2
|
||||
CVuVector c;
|
||||
|
|
|
@ -632,7 +632,7 @@ public:
|
|||
CVector &GetGameCamPosition(void) { return m_vecGameCamPos; }
|
||||
void CalculateDerivedValues(void);
|
||||
bool IsPointVisible(const CVector ¢er, const CMatrix *mat);
|
||||
bool IsSphereVisible(const CVector ¢er, float radius, Const CMatrix *mat);
|
||||
bool IsSphereVisible(const CVector ¢er, float radius, const CMatrix *mat);
|
||||
bool IsSphereVisible(const CVector ¢er, float radius);
|
||||
bool IsBoxVisible(CVUVECTOR *box, const CMatrix *mat);
|
||||
};
|
||||
|
|
|
@ -1058,9 +1058,11 @@ INITSAVEBUF
|
|||
WriteSaveHeader(buf, 'R', 'D', 'R', '\0', *size - SAVE_HEADER_SIZE);
|
||||
|
||||
#ifdef MAP_ENHANCEMENTS
|
||||
bool bWaypointDeleted = false;
|
||||
if (TargetMarkerId != -1) {
|
||||
ClearBlip(TargetMarkerId);
|
||||
TargetMarkerId = -1;
|
||||
bWaypointDeleted = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1085,6 +1087,11 @@ INITSAVEBUF
|
|||
SkipSaveBuf(buf, sizeof(sRadarTraceSave));
|
||||
}
|
||||
|
||||
#ifdef MAP_ENHANCEMENTS
|
||||
if(bWaypointDeleted)
|
||||
ToggleTargetMarker(TargetMarkerPos.x, TargetMarkerPos.y);
|
||||
#endif
|
||||
|
||||
VALIDATESAVEBUF(*size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue