summaryrefslogtreecommitdiffstats
path: root/src/core/Accident.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Accident.h')
-rw-r--r--src/core/Accident.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/Accident.h b/src/core/Accident.h
index 6a3088e7..69889645 100644
--- a/src/core/Accident.h
+++ b/src/core/Accident.h
@@ -20,10 +20,13 @@ class CAccidentManager
MAX_MEDICS_TO_ATTEND_ACCIDENT = 2
};
public:
+ CAccident *GetNextFreeAccident();
+ void ReportAccident(CPed *ped);
+ void Update();
+ CAccident *FindNearestAccident(CVector vecPos, float *pDistance);
uint16 CountActiveAccidents();
bool UnattendedAccidents();
- CAccident* FindNearestAccident(CVector, float*);
- void Update(void);
+ bool WorkToDoForMedics();
};
extern CAccidentManager& gAccidentManager; \ No newline at end of file