summaryrefslogtreecommitdiffstats
path: root/src/peds/CivilianPed.h
blob: dcd49a969fa50349ecdd3a6f3677c751047e5bd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include "Ped.h"

class CCivilianPed : public CPed
{
	bool m_bLookForVacantCars;
	uint32 m_nLookForVacantCarsCounter;
	bool m_bStealCarEvenIfThereIsSomeoneInIt; // unused
	bool m_bJustStoleACar;
	uint32 m_nStealWishList[16];
	bool m_bAttractorUnk;
	int32 m_nAttractorCycleState;
public:
	CCivilianPed(ePedType, uint32);
	~CCivilianPed(void) { }

	void CivilianAI(void);
	void ProcessControl(void);
	void UseNearbyAttractors(void);
	void FindNearbyAttractorsSectorList(CPtrList&, float&, C2dEffect*&, CEntity*&);
	bool IsAttractedTo(int8);
	void EnterVacantNearbyCars(void);
	bool IsOnStealWishList(int32);
};
//VALIDATE_SIZE(CCivilianPed, 0x53C);