summaryrefslogtreecommitdiffstats
path: root/src/peds/CopPed.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-07-28 16:05:20 +0200
committerGitHub <noreply@github.com>2020-07-28 16:05:20 +0200
commitef7afe5f2f1949cc4712c0f126edf79fe0a92d8b (patch)
treed6086ec4cd97d717d1b43dbf69be7e085dbab1cc /src/peds/CopPed.h
parentMerge pull request #664 from aap/miami (diff)
parentCCopPed, except spike traps (diff)
downloadre3-ef7afe5f2f1949cc4712c0f126edf79fe0a92d8b.tar
re3-ef7afe5f2f1949cc4712c0f126edf79fe0a92d8b.tar.gz
re3-ef7afe5f2f1949cc4712c0f126edf79fe0a92d8b.tar.bz2
re3-ef7afe5f2f1949cc4712c0f126edf79fe0a92d8b.tar.lz
re3-ef7afe5f2f1949cc4712c0f126edf79fe0a92d8b.tar.xz
re3-ef7afe5f2f1949cc4712c0f126edf79fe0a92d8b.tar.zst
re3-ef7afe5f2f1949cc4712c0f126edf79fe0a92d8b.zip
Diffstat (limited to 'src/peds/CopPed.h')
-rw-r--r--src/peds/CopPed.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/peds/CopPed.h b/src/peds/CopPed.h
index e48984ff..edec145e 100644
--- a/src/peds/CopPed.h
+++ b/src/peds/CopPed.h
@@ -6,7 +6,8 @@ enum eCopType
COP_STREET = 0,
COP_FBI = 1,
COP_SWAT = 2,
- COP_ARMY = 3,
+ COP_HELI_SWAT = 3,
+ COP_ARMY = 4,
COP_MIAMIVICE = 5
};
@@ -18,7 +19,6 @@ public:
bool m_bIsInPursuit;
bool m_bIsDisabledCop;
int8 field_5FE;
- int8 field_5FF;
bool m_bBeatingSuspect;
bool m_bStopAndShootDisabledZone;
bool field_601; // set when police dragging player from car
@@ -28,6 +28,8 @@ public:
bool m_bThrowsSpikeTrap;
CEntity *m_pRopeEntity; // CHeli or 1
uintptr m_nRopeID;
+ uint32 m_nHassleTimer;
+ uint32 field_61C;
int32 field_624;
int8 field_628;
@@ -41,6 +43,7 @@ public:
void ArrestPlayer(void);
void ScanForCrimes(void);
void CopAI(void);
+ void ProcessHeliSwat(void);
};
#ifndef PED_SKIN