SA-MP/saco/game/entity.h

37 lines
912 B
C
Raw Normal View History

2024-02-07 23:40:39 +08:00
#pragma once
//----------------------------------------------------------
class CEntity
{
public:
CEntity() {
memset(field_4, 0, sizeof(field_4));
};
virtual ~CEntity() {};
void GetMatrix(PMATRIX4X4 Matrix);
void SetMatrix(MATRIX4X4 Matrix);
2024-07-24 17:01:39 +08:00
void FUNC_1009EC80();
void GetMoveSpeedVector(PVECTOR Vector);
void SetMoveSpeedVector(VECTOR Vector);
2024-07-24 17:01:39 +08:00
void FUNC_1009ED40(float fX, float fY, float fZ); // unused
void GetTurnSpeedVector(PVECTOR Vector);
void SetTurnSpeedVector(VECTOR Vector);
2024-07-24 17:01:39 +08:00
void FUNC_1009EF20(int a2); // unused
void ApplyTurnSpeed(); // unused
float GetDistanceFromCentreOfMassToBaseOfModel(); // unused
void GetBoundCentre(PVECTOR Vector);
UINT GetModelIndex();
void TeleportTo(float x, float y, float z);
2024-07-24 17:01:39 +08:00
BOOL FUNC_1009FDE0();
VECTOR field_4[5];
ENTITY_TYPE *m_pEntity;
2024-02-15 22:23:36 +08:00
DWORD m_dwGTAId;
2024-02-07 23:40:39 +08:00
};
//----------------------------------------------------------