diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 20:17:00 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 20:17:00 +0200 |
commit | be260b49b1e5421a96f78ae2f0512220d5805274 (patch) | |
tree | 16f21f6f45c749120e3853a4369fe39348344102 /src/weapons/Explosion.h | |
parent | record init (diff) | |
parent | disabling the code that freezes gang members (diff) | |
download | re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.gz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.bz2 re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.lz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.xz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.zst re3-be260b49b1e5421a96f78ae2f0512220d5805274.zip |
Diffstat (limited to 'src/weapons/Explosion.h')
-rw-r--r-- | src/weapons/Explosion.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/weapons/Explosion.h b/src/weapons/Explosion.h index e6ef9496..45e2d5bb 100644 --- a/src/weapons/Explosion.h +++ b/src/weapons/Explosion.h @@ -26,25 +26,24 @@ class CExplosion CEntity *m_pCreatorEntity; CEntity *m_pVictimEntity; float m_fStopTime; - bool m_bActive; - int8 m_bActiveCounter; - int32 m_nStartTime; + uint8 m_nIteration; + uint8 m_nActiveCounter; + float m_fStartTime; uint32 m_nParticlesExpireTime; float m_fPower; - int32 field_34; - int32 field_38; + bool m_bIsBoat; + float m_fZshift; public: static void Initialise(); static void Shutdown(); - static void AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionType type, - const CVector &pos, uint32); - static int8 GetExplosionActiveCounter(uint8 id); - static CVector *GetExplosionPosition(uint8 id); - static uint8 GetExplosionType(uint8 id); static void ResetExplosionActiveCounter(uint8 id); - static void RemoveAllExplosionsInArea(CVector, float); - static bool TestForExplosionInArea(eExplosionType, float, float, float, float, float, float); + static uint8 GetExplosionType(uint8 id); + static CVector *GetExplosionPosition(uint8 id); + static bool AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionType type, const CVector &pos, uint32 lifetime); + static void Update(); + static bool TestForExplosionInArea(eExplosionType type, float x1, float x2, float y1, float y2, float z1, float z2); + static void RemoveAllExplosionsInArea(CVector pos, float radius); }; -extern CExplosion (&gaExplosion)[48];
\ No newline at end of file +extern CExplosion (&gaExplosion)[NUM_EXPLOSIONS];
\ No newline at end of file |