diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-11 13:50:11 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-11 14:14:02 +0100 |
commit | bbc68ffb1c9cc55844f4130e15af75042a0384eb (patch) | |
tree | 4f082ffb44987135f2400b831f84b605131829b6 /src/core/Accident.h | |
parent | move (diff) | |
download | re3-bbc68ffb1c9cc55844f4130e15af75042a0384eb.tar re3-bbc68ffb1c9cc55844f4130e15af75042a0384eb.tar.gz re3-bbc68ffb1c9cc55844f4130e15af75042a0384eb.tar.bz2 re3-bbc68ffb1c9cc55844f4130e15af75042a0384eb.tar.lz re3-bbc68ffb1c9cc55844f4130e15af75042a0384eb.tar.xz re3-bbc68ffb1c9cc55844f4130e15af75042a0384eb.tar.zst re3-bbc68ffb1c9cc55844f4130e15af75042a0384eb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Accident.h | 7 |
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 |