summaryrefslogtreecommitdiff
path: root/src/peds/CopPed.h
diff options
context:
space:
mode:
authorclaude-bot <[email protected]>2026-07-13 12:27:07 +0000
committerclaude-bot <[email protected]>2026-07-13 12:27:07 +0000
commit9f61c9e6ac6b1ac5692cf6352d2ebbd47a31a686 (patch)
treea84756b82513739a2672db3a1f0ec579db6d18ff /src/peds/CopPed.h
downloadre3-miami.tar.gz
re3-miami.zip
Import Cai1Hsu/re3 @ miami (reVC / GTA:VC decompilation)HEADmiami
Snapshot import (no upstream history) into git.ancap.in.ua/claude, per @lzcnt. Source: https://github.com/Cai1Hsu/re3 branch miami.
Diffstat (limited to 'src/peds/CopPed.h')
-rw-r--r--src/peds/CopPed.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/peds/CopPed.h b/src/peds/CopPed.h
new file mode 100644
index 0000000..3f5ae06
--- /dev/null
+++ b/src/peds/CopPed.h
@@ -0,0 +1,51 @@
+#pragma once
+#include "Ped.h"
+
+enum eCopType
+{
+ COP_STREET = 0,
+ COP_FBI = 1,
+ COP_SWAT = 2,
+ COP_HELI_SWAT = 3,
+ COP_ARMY = 4,
+ COP_MIAMIVICE = 5
+};
+
+class CCopPed : public CPed
+{
+public:
+ CVehicle* m_nRoadblockVeh;
+ float m_fDistanceToTarget;
+ bool m_bIsInPursuit;
+ bool m_bIsDisabledCop;
+ int8 field_5FE;
+ bool m_bBeatingSuspect;
+ bool m_bStopAndShootDisabledZone;
+ bool m_bDragsPlayerFromCar;
+ bool m_bZoneDisabled;
+ float m_fAbseilPos;
+ eCopType m_nCopType;
+ bool m_bThrowsSpikeTrap;
+ CEntity *m_pRopeEntity; // CHeli or 1
+ uintptr m_nRopeID;
+ uint32 m_nHassleTimer;
+ uint32 field_61C;
+ class CStinger *m_pStinger;
+ int32 field_624;
+ int8 field_628;
+
+ CCopPed(eCopType, int32 modifier = 0);
+ ~CCopPed();
+
+ void ClearPursuit(void);
+ void ProcessControl(void);
+ void SetArrestPlayer(CPed*);
+ void SetPursuit(bool);
+ void ArrestPlayer(void);
+ void ScanForCrimes(void);
+ void CopAI(void);
+ void ProcessHeliSwat(void);
+ void ProcessStingerCop(void);
+};
+
+VALIDATE_SIZE(CCopPed, 0x62C);