mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-06 01:23:30 +08:00
f398b9c82c
Implements: * `WorldAddEntity(...)` * `WorldRemoveEntity(...)` * `GameDisableCheatCodes()` * `GamePool_Ped_GetAt(...)` * `GamePool_Ped_GetIndex(...)` * `GamePool_Vehicle_GetAt(...)` * `GamePool_Vehicle_GetIndex(...)` * `GamePool_Object_GetAt(...)` * Updates `InitPlayerPedPtrRecords()`
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
|
|
#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);
|
|
|
|
void __stdcall WorldRemoveEntity(DWORD *dwEnt);
|
|
void __stdcall WorldAddEntity(DWORD *dwEnt);
|
|
|
|
void __stdcall GameDisableCheatCodes();
|
|
|
|
PED_TYPE * __stdcall GamePool_Ped_GetAt(int iID);
|
|
int __stdcall GamePool_Ped_GetIndex(PED_TYPE *pActor);
|
|
VEHICLE_TYPE * __stdcall GamePool_Vehicle_GetAt(int iID);
|
|
DWORD __stdcall GamePool_Vehicle_GetIndex(VEHICLE_TYPE *pVehicle);
|
|
ENTITY_TYPE * __stdcall GamePool_Object_GetAt(int iID);
|
|
PED_TYPE * __stdcall GamePool_FindPlayerPed();
|
|
|
|
DWORD __stdcall TranslateColorCodeToRGBA(int iCode);
|
|
void __stdcall InitPlayerPedPtrRecords();
|
|
void __stdcall SetPlayerPedPtrRecord(BYTE bytePlayer, DWORD dwPedPtr);
|
|
DWORD __stdcall GetPlayerPedPtrRecord(BYTE bytePlayer);
|
|
BYTE __stdcall FindPlayerNumFromPedPtr(DWORD dwPedPtr);
|
|
|
|
void GameResetRadarColors();
|
|
|
|
BOOL IsFileOrDirectoryExists(char * szPath);
|
|
|
|
DWORD unnamed_100B6100(char *szString, int nMaxLen);
|