summaryrefslogtreecommitdiff
path: root/src/core/Accident.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-11 14:50:11 +0200
committerSergeanur <s.anureev@yandex.ua>2020-01-11 15:14:02 +0200
commitbbc68ffb1c9cc55844f4130e15af75042a0384eb (patch)
tree4f082ffb44987135f2400b831f84b605131829b6 /src/core/Accident.h
parent8fab6842832d3141942e551a5d1597ed67d30db9 (diff)
AccidentManager
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