1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-18 06:17:45 +00:00
re3/src/objects/ObjectData.h

28 lines
556 B
C
Raw Normal View History

2019-06-18 07:50:26 +00:00
#pragma once
2019-06-19 16:35:51 +00:00
class CObject;
class CObjectInfo
{
public:
float m_fMass;
float m_fTurnMass;
float m_fAirResistance;
float m_fElasticity;
float m_fBuoyancy;
float m_fUprootLimit;
float m_fCollisionDamageMultiplier;
uint8 m_nCollisionDamageEffect;
uint8 m_nSpecialCollisionResponseCases;
bool m_bCameraToAvoidThisObject;
};
VALIDATE_SIZE(CObjectInfo, 0x20);
2019-06-19 16:35:51 +00:00
2019-06-18 07:50:26 +00:00
class CObjectData
{
2019-06-19 16:35:51 +00:00
static CObjectInfo ms_aObjectInfo[NUMOBJECTINFO];
2019-06-18 07:50:26 +00:00
public:
static void Initialise(const char *filename);
2019-06-19 16:35:51 +00:00
static void SetObjectData(int32 modelId, CObject &object);
2019-06-18 07:50:26 +00:00
};