2019-06-02 15:13:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Ped.h"
|
|
|
|
|
|
|
|
class CCivilianPed : public CPed
|
|
|
|
{
|
2020-09-23 20:29:56 +00:00
|
|
|
bool m_bLookForVacantCars;
|
|
|
|
uint32 m_nLookForVacantCarsCounter;
|
|
|
|
bool m_bStealCarEvenIfThereIsSomeoneInIt; // unused
|
|
|
|
bool m_bJustStoleACar;
|
|
|
|
uint32 m_nStealWishList[16];
|
2020-05-14 10:46:11 +00:00
|
|
|
bool m_bAttractorUnk;
|
|
|
|
int32 m_nAttractorCycleState;
|
2019-06-02 15:13:56 +00:00
|
|
|
public:
|
2020-02-16 02:15:58 +00:00
|
|
|
CCivilianPed(ePedType, uint32);
|
2019-07-08 06:46:42 +00:00
|
|
|
~CCivilianPed(void) { }
|
2019-06-30 21:50:40 +00:00
|
|
|
|
2019-11-25 02:25:10 +00:00
|
|
|
void CivilianAI(void);
|
2019-07-08 06:46:42 +00:00
|
|
|
void ProcessControl(void);
|
2020-05-14 10:46:11 +00:00
|
|
|
void UseNearbyAttractors(void);
|
2020-05-16 07:53:20 +00:00
|
|
|
void FindNearbyAttractorsSectorList(CPtrList&, float&, C2dEffect*&, CEntity*&);
|
2020-05-14 10:46:11 +00:00
|
|
|
bool IsAttractedTo(int8);
|
2020-09-23 20:29:56 +00:00
|
|
|
void EnterVacantNearbyCars(void);
|
|
|
|
bool IsOnStealWishList(int32);
|
2019-06-02 15:13:56 +00:00
|
|
|
};
|
2020-12-18 16:27:18 +00:00
|
|
|
//VALIDATE_SIZE(CCivilianPed, 0x53C);
|