summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-16 19:38:05 +0100
committeraap <aap@papnet.eu>2021-01-18 10:59:19 +0100
commita672860c401aa1ca179fce42e439c59f8d07f6d8 (patch)
tree50e4189f7b85a1d66c25c459eec40cdd551a5dce /src/vehicles/Vehicle.h
parentremove scriptspath from premake (diff)
downloadre3-a672860c401aa1ca179fce42e439c59f8d07f6d8.tar
re3-a672860c401aa1ca179fce42e439c59f8d07f6d8.tar.gz
re3-a672860c401aa1ca179fce42e439c59f8d07f6d8.tar.bz2
re3-a672860c401aa1ca179fce42e439c59f8d07f6d8.tar.lz
re3-a672860c401aa1ca179fce42e439c59f8d07f6d8.tar.xz
re3-a672860c401aa1ca179fce42e439c59f8d07f6d8.tar.zst
re3-a672860c401aa1ca179fce42e439c59f8d07f6d8.zip
Diffstat (limited to 'src/vehicles/Vehicle.h')
-rw-r--r--src/vehicles/Vehicle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index 795161bf..29a4eea1 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -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) {}