initial work on vehicles

This commit is contained in:
aap 2021-01-16 19:38:05 +01:00
commit a672860c40
18 changed files with 674 additions and 617 deletions

View file

@ -250,6 +250,7 @@ public:
int8 m_nPacManPickupsCarried;
uint8 m_nRoadblockType;
float m_fHealth; // 1000.0f = full health. 250.0f = fire. 0 -> explode
float m_fEngineEnergy; // TODO(LCS): better name. it adds up acceleration force, so possibly kinetic energy??
uint8 m_nCurrentGear;
float m_fChangeGearTime;
#if (!defined GTA_PS2 || defined FIX_BUGS)
@ -288,6 +289,7 @@ public:
~CVehicle(void);
// from CEntity
void SetModelIndex(uint32 id);
void PreRender(void) {}
bool SetupLighting(void);
void RemoveLighting(bool);
void FlagToDestroyWhenNextProcessed(void) {}