[saco] Implement ProcessLineOfSight(...)

This commit is contained in:
RD42 2024-02-21 19:18:21 +08:00
parent aeda9835f3
commit 6929accc69
2 changed files with 16 additions and 0 deletions

View File

@ -1019,6 +1019,17 @@ DWORD dwHudColors[NUM_RADAR_COLORS] = {
DWORD dwUseHudColors[NUM_RADAR_COLORS];
//-----------------------------------------------------------
void ProcessLineOfSight(VECTOR *vecOrigin, VECTOR *vecLine, VECTOR *colPoint,
DWORD *pHitEntity, int bCheckBuildings, int bCheckVehicles, int bCheckPeds,
int bCheckObjects, int bCheckDummies, int bSeeThroughStuff,
int bIgnoreSomeObjectsForCamera, int bUnk1)
{
_asm mov eax, 0x56BA00
_asm jmp eax
}
//-----------------------------------------------------------
// Return the PED_TYPE * of the local player actor.

View File

@ -1,6 +1,11 @@
#pragma once
void ProcessLineOfSight(VECTOR *vecOrigin, VECTOR *vecLine, VECTOR *colPoint,
DWORD *pHitEntity, int bCheckBuildings, int bCheckVehicles, int bCheckPeds,
int bCheckObjects, int bCheckDummies, int bSeeThroughStuff,
int bIgnoreSomeObjectsForCamera, int bUnk1);
void __stdcall SetRadarColor(int nIndex,DWORD dwColor);
PED_TYPE * __stdcall GamePool_FindPlayerPed();