summaryrefslogtreecommitdiffstats
path: root/src/vehicles/DamageManager.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vehicles/DamageManager.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/vehicles/DamageManager.h b/src/vehicles/DamageManager.h
index b815f724..adcd7430 100644
--- a/src/vehicles/DamageManager.h
+++ b/src/vehicles/DamageManager.h
@@ -4,6 +4,11 @@
// TODO: move some of this into Vehicle.h
+enum eEngineStatus
+{
+ ENGINE_STATUS_ON_FIRE = 225
+};
+
enum eDoorStatus
{
DOOR_STATUS_OK,
@@ -23,7 +28,8 @@ enum ePanelStatus
enum eWheelStatus
{
WHEEL_STATUS_OK,
- WHEEL_STATUS_BURST
+ WHEEL_STATUS_BURST,
+ WHEEL_STATUS_MISSING
};
enum tComponent
@@ -65,7 +71,7 @@ class CDamageManager
{
public:
- float field_0;
+ float m_fWheelDamageEffect;
uint8 m_engineStatus;
uint8 m_wheelStatus[4];
uint8 m_doorStatus[6];
@@ -73,6 +79,8 @@ public:
uint32 m_panelStatus;
uint32 field_24;
+ CDamageManager(void);
+
void ResetDamageStatus(void);
void FuckCarCompletely(void);
bool ApplyDamage(tComponent component, float damage, float unused);