re3-mirror/src/peds/CopPed.h

42 lines
708 B
C
Raw Permalink Normal View History

2019-06-02 16:13:56 +01:00
#pragma once
#include "Ped.h"
2019-06-26 22:31:12 +01:00
enum eCopType
{
COP_STREET = 0,
COP_FBI = 1,
COP_SWAT = 2,
COP_ARMY = 3,
};
2019-06-02 16:13:56 +01:00
class CCopPed : public CPed
{
public:
int16 m_nRoadblockNode;
2019-06-26 22:31:12 +01:00
float m_fDistanceToTarget;
2020-04-18 09:31:53 +01:00
bool m_bIsInPursuit;
bool m_bIsDisabledCop;
2019-06-26 22:31:12 +01:00
int8 field_1350;
2020-03-25 14:13:06 +00:00
bool m_bBeatingSuspect;
2020-04-18 09:31:53 +01:00
bool m_bStopAndShootDisabledZone;
bool m_bZoneDisabled;
float m_fAbseilPos; // VC leftover, unused
2019-06-26 22:31:12 +01:00
eCopType m_nCopType;
int8 field_1364;
2019-07-14 10:49:03 +01:00
CCopPed(eCopType);
~CCopPed();
void ClearPursuit(void);
2019-07-14 13:00:36 +01:00
void ProcessControl(void);
2019-09-06 23:27:07 +01:00
void SetArrestPlayer(CPed*);
2020-03-07 19:22:43 +00:00
void SetPursuit(bool);
void ArrestPlayer(void);
void ScanForCrimes(void);
2020-03-25 14:13:06 +00:00
void CopAI(void);
2019-06-02 16:13:56 +01:00
};
2019-06-26 22:31:12 +01:00
#ifndef PED_SKIN
VALIDATE_SIZE(CCopPed, 0x558);
#endif