first part of CFileLoader

This commit is contained in:
aap
2019-06-17 10:30:02 +02:00
parent fcc6a8bc55
commit b5fba778c4
41 changed files with 1182 additions and 45 deletions

23
src/control/PedStats.h Normal file
View File

@ -0,0 +1,23 @@
#pragma once
struct PedStat
{
uint32 m_id;
char m_name[24];
int32 m_fleeDistance;
int32 m_headingChangeRate;
int8 m_fear;
int8 m_temper;
int8 m_lawfulness;
int8 m_sexiness;
int32 m_attackStrength;
int32 m_defendWeakness;
int16 m_flags;
};
static_assert(sizeof(PedStat) == 0x34, "PedStat: error");
class CPedStats
{
public:
static int32 GetPedStatType(char *type);
};