From bbc68ffb1c9cc55844f4130e15af75042a0384eb Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sat, 11 Jan 2020 14:50:11 +0200 Subject: AccidentManager --- src/core/Accident.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/core/Accident.h') 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 -- cgit v1.2.3