mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-24 01:59:15 +01:00
sync with upstream
This commit is contained in:
parent
3cc20d7962
commit
d5d2f6a822
@ -1458,13 +1458,3 @@ CPacManPickups::ResetPowerPillsCarriedByPlayer()
|
|||||||
FindPlayerVehicle()->m_fForceMultiplier = 1.0f;
|
FindPlayerVehicle()->m_fForceMultiplier = 1.0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
|
||||||
CPickups::TestForPickupsInBubble(CVector pos, float radius)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < NUMPICKUPS; i++) {
|
|
||||||
if ((pos - aPickUps[i].m_vecPos).Magnitude() < radius)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
@ -94,8 +94,6 @@ public:
|
|||||||
static void Load(uint8 *buf, uint32 size);
|
static void Load(uint8 *buf, uint32 size);
|
||||||
static void Save(uint8 *buf, uint32 *size);
|
static void Save(uint8 *buf, uint32 *size);
|
||||||
|
|
||||||
static bool TestForPickupsInBubble(CVector pos, float radius);
|
|
||||||
|
|
||||||
static CPickup aPickUps[NUMPICKUPS];
|
static CPickup aPickUps[NUMPICKUPS];
|
||||||
|
|
||||||
// unused
|
// unused
|
||||||
|
@ -867,7 +867,6 @@ public:
|
|||||||
|
|
||||||
void SetNewAttraction(CPedAttractor* pAttractor, const CVector& pos, float, float, int);
|
void SetNewAttraction(CPedAttractor* pAttractor, const CVector& pos, float, float, int);
|
||||||
void ClearWaitState(void);
|
void ClearWaitState(void);
|
||||||
void CreateDeadPedPickupCoors(float* x, float* y, float* z);
|
|
||||||
|
|
||||||
bool HasWeaponSlot(uint8 slot) { return m_weapons[slot].m_eWeaponType != WEAPONTYPE_UNARMED; }
|
bool HasWeaponSlot(uint8 slot) { return m_weapons[slot].m_eWeaponType != WEAPONTYPE_UNARMED; }
|
||||||
CWeapon& GetWeapon(uint8 slot) { return m_weapons[slot]; }
|
CWeapon& GetWeapon(uint8 slot) { return m_weapons[slot]; }
|
||||||
|
Loading…
Reference in New Issue
Block a user