summaryrefslogtreecommitdiffstats
path: root/src/control/AccidentManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/AccidentManager.h')
-rw-r--r--src/control/AccidentManager.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/control/AccidentManager.h b/src/control/AccidentManager.h
deleted file mode 100644
index 6a3088e7..00000000
--- a/src/control/AccidentManager.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-#include "common.h"
-#include "config.h"
-
-class CPed;
-
-class CAccident
-{
-public:
- CPed *m_pVictim;
- uint32 m_nMedicsAttending;
- uint32 m_nMedicsPerformingCPR;
- CAccident() : m_pVictim(nil), m_nMedicsAttending(0), m_nMedicsPerformingCPR(0) {}
-};
-
-class CAccidentManager
-{
- CAccident m_aAccidents[NUM_ACCIDENTS];
- enum {
- MAX_MEDICS_TO_ATTEND_ACCIDENT = 2
- };
-public:
- uint16 CountActiveAccidents();
- bool UnattendedAccidents();
- CAccident* FindNearestAccident(CVector, float*);
- void Update(void);
-};
-
-extern CAccidentManager& gAccidentManager; \ No newline at end of file