mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Rename CEntity::FUNC_1009EF20(...)
to CEntity::GetBoundRect(...)
This commit is contained in:
parent
a3d33b0847
commit
89573e770f
@ -29,6 +29,10 @@ typedef struct _VECTOR2D {
|
||||
float X,Y;
|
||||
} VECTOR2D, *PVECTOR2D;
|
||||
|
||||
typedef struct _FRECT {
|
||||
float l,t,r,b;
|
||||
} FRECT, *PFRECT;
|
||||
|
||||
typedef struct _MATRIX4X4 {
|
||||
VECTOR right;
|
||||
DWORD flags;
|
||||
|
@ -179,12 +179,12 @@ void CEntity::GetBoundCentre(PVECTOR Vector)
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CEntity::FUNC_1009EF20(int a2)
|
||||
void CEntity::GetBoundRect(PFRECT Rect)
|
||||
{
|
||||
DWORD dwEnt = (DWORD)m_pEntity;
|
||||
if(!dwEnt) return;
|
||||
|
||||
_asm push a2
|
||||
_asm push Rect
|
||||
_asm mov ecx, dwEnt
|
||||
_asm mov edx, 0x534120
|
||||
_asm call edx
|
||||
|
@ -19,10 +19,10 @@ public:
|
||||
void FUNC_1009ED40(float fX, float fY, float fZ); // unused
|
||||
void GetTurnSpeedVector(PVECTOR Vector);
|
||||
void SetTurnSpeedVector(VECTOR Vector);
|
||||
void FUNC_1009EF20(int a2); // unused
|
||||
void ApplyTurnSpeed(); // unused
|
||||
float GetDistanceFromCentreOfMassToBaseOfModel(); // unused
|
||||
void GetBoundCentre(PVECTOR Vector);
|
||||
void GetBoundRect(PFRECT Rect); // unused
|
||||
UINT GetModelIndex();
|
||||
void TeleportTo(float x, float y, float z);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user