diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-10-05 02:04:35 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-10-05 02:04:35 +0200 |
commit | 4867d9949d59f46ab661dbd19193f822f7ad6537 (patch) | |
tree | 13fa3d104dfa3f9244e5d9f231f74d1260510958 /src/weapons/Explosion.h | |
parent | Merge pull request #737 from theR4K/miamiDev (diff) | |
download | re3-4867d9949d59f46ab661dbd19193f822f7ad6537.tar re3-4867d9949d59f46ab661dbd19193f822f7ad6537.tar.gz re3-4867d9949d59f46ab661dbd19193f822f7ad6537.tar.bz2 re3-4867d9949d59f46ab661dbd19193f822f7ad6537.tar.lz re3-4867d9949d59f46ab661dbd19193f822f7ad6537.tar.xz re3-4867d9949d59f46ab661dbd19193f822f7ad6537.tar.zst re3-4867d9949d59f46ab661dbd19193f822f7ad6537.zip |
Diffstat (limited to '')
-rw-r--r-- | src/weapons/Explosion.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/weapons/Explosion.h b/src/weapons/Explosion.h index f709012e..66e89a17 100644 --- a/src/weapons/Explosion.h +++ b/src/weapons/Explosion.h @@ -30,10 +30,11 @@ class CExplosion float m_fStopTime; uint8 m_nIteration; uint8 m_nActiveCounter; + bool m_bIsBoat; + bool m_bIsMakeSound; float m_fStartTime; uint32 m_nParticlesExpireTime; float m_fPower; - bool m_bIsBoat; float m_fZshift; public: static void Initialise(); @@ -43,8 +44,8 @@ public: static void ResetExplosionActiveCounter(uint8 id); static uint8 GetExplosionType(uint8 id); static CVector *GetExplosionPosition(uint8 id); -// TODO(MIAMI): that new parameter - static bool AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionType type, const CVector &pos, uint32 lifetime, bool unk = true); + static bool DoesExplosionMakeSound(uint8 id); //done + static bool AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionType type, const CVector &pos, uint32 lifetime, bool isMakeSound = true); //done(new parametr in android ver is fix for one mission) 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); |