re3-wiiu/src/weapons/ProjectileInfo.cpp

18 lines
675 B
C++
Raw Normal View History

#include "common.h"
#include "patcher.h"
#include "ProjectileInfo.h"
#include "Projectile.h"
2020-01-07 16:26:23 +01:00
CProjectileInfo* gaProjectileInfo = (CProjectileInfo*)0x64ED50;
CProjectile* (&CProjectileInfo::ms_apProjectile)[32] = *(CProjectile*(*)[32])*(uintptr*)0x87C748;
2019-12-02 21:02:32 +01:00
WRAPPER void CProjectileInfo::RemoveAllProjectiles(void) { EAXJMP(0x55BB80); }
2020-01-01 00:35:54 +01:00
WRAPPER bool CProjectileInfo::RemoveIfThisIsAProjectile(CObject *pObject) { EAXJMP(0x55BBD0); }
WRAPPER bool CProjectileInfo::IsProjectileInRange(float x1, float x2, float y1, float y2, float z1, float z2, bool remove) { EAXJMP(0x55BA50); }
2020-01-07 16:26:23 +01:00
CProjectileInfo*
CProjectileInfo::GetProjectileInfo(int32 id)
{
return &gaProjectileInfo[id];
}