summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-27 09:45:59 +0200
committerGitHub <noreply@github.com>2019-06-27 09:45:59 +0200
commitf6443ea1083f2eeb5ee781a756e84a5ac91362bf (patch)
tree51f7be43866d53b1bce9278bcb56ab9a956f7fc2 /src/entities
parentyet more CStreaming (diff)
parentReverted Pad.cpp to previous state. (diff)
downloadre3-f6443ea1083f2eeb5ee781a756e84a5ac91362bf.tar
re3-f6443ea1083f2eeb5ee781a756e84a5ac91362bf.tar.gz
re3-f6443ea1083f2eeb5ee781a756e84a5ac91362bf.tar.bz2
re3-f6443ea1083f2eeb5ee781a756e84a5ac91362bf.tar.lz
re3-f6443ea1083f2eeb5ee781a756e84a5ac91362bf.tar.xz
re3-f6443ea1083f2eeb5ee781a756e84a5ac91362bf.tar.zst
re3-f6443ea1083f2eeb5ee781a756e84a5ac91362bf.zip
Diffstat (limited to '')
-rw-r--r--src/entities/CopPed.h63
1 files changed, 60 insertions, 3 deletions
diff --git a/src/entities/CopPed.h b/src/entities/CopPed.h
index 2658a386..d41c2e9e 100644
--- a/src/entities/CopPed.h
+++ b/src/entities/CopPed.h
@@ -1,11 +1,68 @@
#pragma once
-
#include "Ped.h"
+enum eCrimeType
+{
+ CRIME_NONE,
+ CRIME_SHOT_FIRED,
+ CRIME_PED_FIGHT,
+ CRIME_COP_FIGHT,
+ CRIME_DAMAGED_PED,
+ CRIME_DAMAGED_COP,
+ CRIME_CAR_THEFT,
+ CRIME_CRIME7,
+ CRIME_COP_EVASIVE_DIVE,
+ CRIME_COP_EVASIVE_DIVE2,
+ CRIME_PED_RUN_OVER,
+ CRIME_COP_RUN_OVER,
+ CRIME_DESTROYED_HELI,
+ CRIME_PED_BURNED,
+ CRIME_COP_BURNED,
+ CRIME_VEHICLE_BURNED,
+ CRIME_DESTROYED_CESSNA,
+};
+
+enum eCopType
+{
+ COP_STREET = 0,
+ COP_FBI = 1,
+ COP_SWAT = 2,
+ COP_ARMY = 3,
+};
+
+class CCrime
+{
+public:
+ eCrimeType m_eCrimeType;
+ CEntity *m_pVictim;
+ int32 m_nCrimeTime;
+ CVector m_vecCrimePos;
+ int8 m_bReported;
+ int8 m_bMultiplier;
+ int8 pad_20[2];
+};
+
class CCopPed : public CPed
{
public:
- // 0x53C
- uint8 stuff[28];
+ int16 m_wRoadblockNode;
+ int8 field_1342;
+ int8 field_1343;
+ float m_fDistanceToTarget;
+ int8 m_bIsInPursuit;
+ int8 m_bIsDisabledCop;
+ int8 field_1350;
+ int8 field_1351;
+ int8 m_bZoneDisabledButClose;
+ int8 m_bZoneDisabled;
+ int8 field_1354;
+ int8 field_1355;
+ int32 field_1356;
+ eCopType m_nCopType;
+ int8 field_1364;
+ int8 field_1365;
+ int8 field_1366;
+ int8 field_1367;
};
+
static_assert(sizeof(CCopPed) == 0x558, "CCopPed: error");