mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-24 16:51:49 +01:00
Ped variables fix
This commit is contained in:
parent
1497dbaa8d
commit
2c24f55333
@ -53,24 +53,27 @@ WRAPPER void CPed::SetRadioStation(void) { EAXJMP(0x4D7BC0); }
|
|||||||
WRAPPER void CPed::MakeTyresMuddySectorList(CPtrList&) { EAXJMP(0x53CFD0); }
|
WRAPPER void CPed::MakeTyresMuddySectorList(CPtrList&) { EAXJMP(0x53CFD0); }
|
||||||
WRAPPER void CPed::ProcessObjective(void) { EAXJMP(0x4D94E0); }
|
WRAPPER void CPed::ProcessObjective(void) { EAXJMP(0x4D94E0); }
|
||||||
|
|
||||||
|
CPed *gapTempPedList[50];
|
||||||
|
uint16 gnNumTempPedList;
|
||||||
|
|
||||||
bool &CPed::bNastyLimbsCheat = *(bool*)0x95CD44;
|
bool &CPed::bNastyLimbsCheat = *(bool*)0x95CD44;
|
||||||
bool &CPed::bPedCheat2 = *(bool*)0x95CD5A;
|
bool &CPed::bPedCheat2 = *(bool*)0x95CD5A;
|
||||||
bool &CPed::bPedCheat3 = *(bool*)0x95CD59;
|
bool &CPed::bPedCheat3 = *(bool*)0x95CD59;
|
||||||
|
|
||||||
CColPoint &CPed::aTempPedColPts = *(CColPoint*)0x62DB14;
|
CColPoint &aTempPedColPts = *(CColPoint*)0x62DB14;
|
||||||
|
|
||||||
// TODO: CommentWaitTime should be hardcoded into exe, and it isn't reversed yet.
|
// TODO: CommentWaitTime should be hardcoded into exe, and it isn't reversed yet.
|
||||||
CPedAudioData (&CPed::CommentWaitTime)[38] = *(CPedAudioData(*)[38]) * (uintptr*)0x5F94C4;
|
CPedAudioData (&CPed::CommentWaitTime)[38] = *(CPedAudioData(*)[38]) * (uintptr*)0x5F94C4;
|
||||||
|
|
||||||
uint16 &CPed::nPlayerInComboMove = *(uint16*)0x95CC58;
|
uint16 nPlayerInComboMove; // 0x95CC58
|
||||||
FightMove (&CPed::tFightMoves)[24] = * (FightMove(*)[24]) * (uintptr*)0x5F9844;
|
FightMove (&tFightMoves)[24] = * (FightMove(*)[24]) * (uintptr*)0x5F9844;
|
||||||
|
|
||||||
uint16 &CPed::nThreatReactionRangeMultiplier = *(uint16*)0x5F8C98;
|
uint16 &CPed::nThreatReactionRangeMultiplier = *(uint16*)0x5F8C98;
|
||||||
|
|
||||||
CVector &CPed::vecPedCarDoorAnimOffset = *(CVector*)0x62E030;
|
CVector &vecPedCarDoorAnimOffset = *(CVector*)0x62E030;
|
||||||
CVector &CPed::vecPedCarDoorLoAnimOffset = *(CVector*)0x62E03C;
|
CVector &vecPedCarDoorLoAnimOffset = *(CVector*)0x62E03C;
|
||||||
CVector &CPed::vecPedVanRearDoorAnimOffset = *(CVector*)0x62E048;
|
CVector &vecPedVanRearDoorAnimOffset = *(CVector*)0x62E048;
|
||||||
CVector &CPed::vecPedQuickDraggedOutCarAnimOffset = *(CVector*)0x62E06C;
|
CVector &vecPedQuickDraggedOutCarAnimOffset = *(CVector*)0x62E06C;
|
||||||
|
|
||||||
CVector2D &CPed::ms_vec2DFleePosition = *(CVector2D*)0x6EDF70;
|
CVector2D &CPed::ms_vec2DFleePosition = *(CVector2D*)0x6EDF70;
|
||||||
|
|
||||||
@ -1994,9 +1997,6 @@ CPed::SortPeds(CPed **list, int min, int max)
|
|||||||
void
|
void
|
||||||
CPed::BuildPedLists(void)
|
CPed::BuildPedLists(void)
|
||||||
{
|
{
|
||||||
static CPed *gapTempPedList[10]; // unsorted
|
|
||||||
static int16 gnNumTempPedList;
|
|
||||||
|
|
||||||
if ((CTimer::GetFrameCounter() + (m_randomSeed % 256)) % 16) {
|
if ((CTimer::GetFrameCounter() + (m_randomSeed % 256)) % 16) {
|
||||||
|
|
||||||
for(int i = 0; i < 10; ) {
|
for(int i = 0; i < 10; ) {
|
||||||
|
@ -676,17 +676,10 @@ public:
|
|||||||
// set by 0482:set_threat_reaction_range_multiplier opcode
|
// set by 0482:set_threat_reaction_range_multiplier opcode
|
||||||
static uint16 &nThreatReactionRangeMultiplier;
|
static uint16 &nThreatReactionRangeMultiplier;
|
||||||
|
|
||||||
static CVector &vecPedCarDoorAnimOffset;
|
|
||||||
static CVector &vecPedCarDoorLoAnimOffset;
|
|
||||||
static CVector &vecPedVanRearDoorAnimOffset;
|
|
||||||
static CVector &vecPedQuickDraggedOutCarAnimOffset;
|
|
||||||
static bool &bNastyLimbsCheat;
|
static bool &bNastyLimbsCheat;
|
||||||
static bool &bPedCheat2;
|
static bool &bPedCheat2;
|
||||||
static bool &bPedCheat3;
|
static bool &bPedCheat3;
|
||||||
static CVector2D &ms_vec2DFleePosition;
|
static CVector2D &ms_vec2DFleePosition;
|
||||||
static CColPoint &aTempPedColPts;
|
|
||||||
static uint16 &nPlayerInComboMove;
|
|
||||||
static FightMove (&tFightMoves)[24];
|
|
||||||
static CPedAudioData (&CommentWaitTime)[38];
|
static CPedAudioData (&CommentWaitTime)[38];
|
||||||
|
|
||||||
#ifndef FINAL
|
#ifndef FINAL
|
||||||
|
Loading…
Reference in New Issue
Block a user