mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement and match FloatDifference(...)
This commit is contained in:
parent
282a3c88f6
commit
4643d1ff97
@ -1489,6 +1489,13 @@ BOOL __stdcall IsATrainPart(ENTITY_TYPE *pEntity)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
float FloatDifference(float f1, float f2)
|
||||
{
|
||||
return f1 - f2;
|
||||
}
|
||||
|
||||
float DegToRad(float fDegrees)
|
||||
{
|
||||
if (fDegrees > 360.0f || fDegrees < 0.0f) return 0.0f;
|
||||
|
@ -6,6 +6,8 @@ void ProcessLineOfSight(VECTOR *vecOrigin, VECTOR *vecLine, VECTOR *colPoint,
|
||||
int bCheckObjects, int bCheckDummies, int bSeeThroughStuff,
|
||||
int bIgnoreSomeObjectsForCamera, int bUnk1);
|
||||
|
||||
float FloatDifference(float f1, float f2);
|
||||
|
||||
void __stdcall SetRadarColor(int nIndex,DWORD dwColor);
|
||||
|
||||
void __stdcall WorldRemoveEntity(DWORD *dwEnt);
|
||||
|
Loading…
Reference in New Issue
Block a user