summaryrefslogtreecommitdiffstats
path: root/src/DamageManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DamageManager.h')
-rw-r--r--src/DamageManager.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/DamageManager.h b/src/DamageManager.h
index 4f1fa640..01269a42 100644
--- a/src/DamageManager.h
+++ b/src/DamageManager.h
@@ -5,6 +5,16 @@
class CDamageManager
{
public:
+
+ enum {
+ CAR_DOOR_BONNET = 0,
+ CAR_DOOR_BUMPER,
+ CAR_DOOR_LF,
+ CAR_DOOR_RF,
+ CAR_DOOR_LR,
+ CAR_DOOR_RR
+ };
+
float field_0;
char m_bEngineStatus;
char m_bWheelStatus[4];
@@ -15,4 +25,7 @@ public:
char field_25;
char field_26;
char field_27;
+
+ void SetDoorStatus(int, unsigned int);
+ unsigned int GetDoorStatus(int);
}; \ No newline at end of file