Removed refs from weapons/, WeaponEffects moved
This commit is contained in:
parent
b9a8ad9481
commit
f435455bde
@ -19,7 +19,7 @@
|
||||
#include "WaterLevel.h"
|
||||
#include "World.h"
|
||||
|
||||
CExplosion(&gaExplosion)[NUM_EXPLOSIONS] = *(CExplosion(*)[NUM_EXPLOSIONS])*(uintptr*)0x64E208;
|
||||
CExplosion gaExplosion[NUM_EXPLOSIONS];
|
||||
|
||||
// these two were not initialised in original code, I'm really not sure what were they meant to be
|
||||
RwRGBA colMedExpl = { 0, 0, 0, 0 };
|
||||
|
@ -46,4 +46,4 @@ public:
|
||||
static void RemoveAllExplosionsInArea(CVector pos, float radius);
|
||||
};
|
||||
|
||||
extern CExplosion (&gaExplosion)[NUM_EXPLOSIONS];
|
||||
extern CExplosion gaExplosion[NUM_EXPLOSIONS];
|
@ -13,8 +13,8 @@
|
||||
#include "Weapon.h"
|
||||
#include "World.h"
|
||||
|
||||
CProjectileInfo (&gaProjectileInfo)[NUM_PROJECTILES] = *(CProjectileInfo(*)[NUM_PROJECTILES])*(uintptr*)0x64ED50;
|
||||
CProjectile* (&CProjectileInfo::ms_apProjectile)[NUM_PROJECTILES] = *(CProjectile*(*)[NUM_PROJECTILES])*(uintptr*)0x87C748;
|
||||
CProjectileInfo gaProjectileInfo[NUM_PROJECTILES];
|
||||
CProjectile *CProjectileInfo::ms_apProjectile[NUM_PROJECTILES];
|
||||
|
||||
void
|
||||
CProjectileInfo::Initialise()
|
||||
|
@ -9,14 +9,14 @@ class CProjectileInfo
|
||||
{
|
||||
public:
|
||||
eWeaponType m_eWeaponType;
|
||||
CEntity* m_pSource;
|
||||
CEntity *m_pSource;
|
||||
uint32 m_nExplosionTime;
|
||||
bool m_bInUse;
|
||||
CVector m_vecPos;
|
||||
|
||||
public:
|
||||
static CProjectileInfo* GetProjectileInfo(int32 id);
|
||||
static CProjectile* (&ms_apProjectile)[NUM_PROJECTILES];
|
||||
static CProjectileInfo *GetProjectileInfo(int32 id);
|
||||
static CProjectile *ms_apProjectile[NUM_PROJECTILES];
|
||||
|
||||
static void Initialise();
|
||||
static void Shutdown();
|
||||
@ -29,4 +29,4 @@ public:
|
||||
static bool IsProjectileInRange(float x1, float x2, float y1, float y2, float z1, float z2, bool remove);
|
||||
};
|
||||
|
||||
extern CProjectileInfo (&gaProjectileInfo)[NUM_PROJECTILES];
|
||||
extern CProjectileInfo gaProjectileInfo[NUM_PROJECTILES];
|
Loading…
Reference in New Issue
Block a user