[saco] Implement/match FUNC_100B43D0(...)

This commit is contained in:
RD42
2025-05-04 09:23:50 -07:00
parent 397b09d482
commit bc62b91801
2 changed files with 12 additions and 0 deletions

View File

@ -456,6 +456,17 @@ void __stdcall FUNC_100B4390(BYTE bytePlayer, DWORD a2, DWORD a3, DWORD a4, DWOR
//----------------------------------------------------------- //-----------------------------------------------------------
struc_13 * __stdcall FUNC_100B43D0(BYTE bytePlayer)
{
if(bytePlayer < PLAYER_PED_SLOTS)
{
return &VAR_1026C258[bytePlayer];
}
return NULL;
}
//-----------------------------------------------------------

View File

@ -39,6 +39,7 @@ void __stdcall SetPlayerPedPtrRecord(BYTE bytePlayer, DWORD dwPedPtr);
DWORD __stdcall GetPlayerPedPtrRecord(BYTE bytePlayer); DWORD __stdcall GetPlayerPedPtrRecord(BYTE bytePlayer);
BYTE __stdcall FindPlayerNumFromPedPtr(DWORD dwPedPtr); BYTE __stdcall FindPlayerNumFromPedPtr(DWORD dwPedPtr);
void __stdcall FUNC_100B4390(BYTE bytePlayer, DWORD a2, DWORD a3, DWORD a4, DWORD a5); void __stdcall FUNC_100B4390(BYTE bytePlayer, DWORD a2, DWORD a3, DWORD a4, DWORD a5);
struc_13 * __stdcall FUNC_100B43D0(BYTE bytePlayer);
float __stdcall SquaredDistanceBetweenHorizontalPoints(float x1, float y1, float x2, float y2); float __stdcall SquaredDistanceBetweenHorizontalPoints(float x1, float y1, float x2, float y2);
float DistanceBetweenHorizontalPoints(float x1, float y1, float x2, float y2); float DistanceBetweenHorizontalPoints(float x1, float y1, float x2, float y2);
float DistanceBetweenPoints(float x1, float y1, float z1, float x2, float y2, float z2); float DistanceBetweenPoints(float x1, float y1, float z1, float x2, float y2, float z2);