[saco] Rename CEntity::FUNC_1009EF20(...) to CEntity::GetBoundRect(...)

This commit is contained in:
RD42 2024-08-06 18:57:57 +08:00
parent a3d33b0847
commit 89573e770f
3 changed files with 7 additions and 3 deletions

View File

@ -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;

View File

@ -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

View File

@ -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);