1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 11:40:00 +00:00

cVehicleParams ctor

This commit is contained in:
Sergeanur 2020-12-25 20:27:37 +02:00
parent 977a1a08e9
commit 783d1edaf1

View file

@ -149,16 +149,27 @@ public:
class cVehicleParams class cVehicleParams
{ {
public: public:
uint8 m_VehicleType; int32 m_VehicleType;
bool m_bDistanceCalculated; bool m_bDistanceCalculated;
float m_fDistance; float m_fDistance;
CVehicle *m_pVehicle; CVehicle *m_pVehicle;
cTransmission *m_pTransmission; cTransmission *m_pTransmission;
int32 m_nIndex; int32 m_nIndex;
float m_fVelocityChange; float m_fVelocityChange;
cVehicleParams()
{
m_VehicleType = -1;
m_bDistanceCalculated = false;
m_fDistance = 0.0f;
m_pVehicle = 0;
m_pTransmission = nil;
m_nIndex = 0;
m_fVelocityChange = 0.0f;
}
}; };
VALIDATE_SIZE(cVehicleParams, 0x18); VALIDATE_SIZE(cVehicleParams, 0x1C);
enum { enum {
REFLECTION_NORTH = 0, REFLECTION_NORTH = 0,