summaryrefslogtreecommitdiffstats
path: root/src/weapons/Explosion.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-12 17:26:47 +0100
committerSergeanur <s.anureev@yandex.ua>2020-03-16 23:22:43 +0100
commite57ad65d051bd44af3ea7b050e7c37144453bc75 (patch)
tree2b069501205fcc3f9811c8538f887e963e276bf6 /src/weapons/Explosion.h
parentMerge pull request #344 from erorcun/erorcun (diff)
downloadre3-e57ad65d051bd44af3ea7b050e7c37144453bc75.tar
re3-e57ad65d051bd44af3ea7b050e7c37144453bc75.tar.gz
re3-e57ad65d051bd44af3ea7b050e7c37144453bc75.tar.bz2
re3-e57ad65d051bd44af3ea7b050e7c37144453bc75.tar.lz
re3-e57ad65d051bd44af3ea7b050e7c37144453bc75.tar.xz
re3-e57ad65d051bd44af3ea7b050e7c37144453bc75.tar.zst
re3-e57ad65d051bd44af3ea7b050e7c37144453bc75.zip
Diffstat (limited to '')
-rw-r--r--src/weapons/Explosion.h (renamed from src/core/Explosion.h)18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/Explosion.h b/src/weapons/Explosion.h
index e85f7892..e6ef9496 100644
--- a/src/core/Explosion.h
+++ b/src/weapons/Explosion.h
@@ -19,7 +19,23 @@ enum eExplosionType
class CExplosion
{
+ eExplosionType m_ExplosionType;
+ CVector m_vecPosition;
+ float m_fRadius;
+ float m_fPropagationRate;
+ CEntity *m_pCreatorEntity;
+ CEntity *m_pVictimEntity;
+ float m_fStopTime;
+ bool m_bActive;
+ int8 m_bActiveCounter;
+ int32 m_nStartTime;
+ uint32 m_nParticlesExpireTime;
+ float m_fPower;
+ int32 field_34;
+ int32 field_38;
public:
+ static void Initialise();
+ static void Shutdown();
static void AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionType type,
const CVector &pos, uint32);
@@ -30,3 +46,5 @@ public:
static void RemoveAllExplosionsInArea(CVector, float);
static bool TestForExplosionInArea(eExplosionType, float, float, float, float, float, float);
};
+
+extern CExplosion (&gaExplosion)[48]; \ No newline at end of file