1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-10 21:39:15 +00:00
re3/src/core/Explosion.h

33 lines
788 B
C
Raw Normal View History

2019-07-09 16:50:35 +00:00
#pragma once
class CEntity;
2019-07-31 15:54:18 +00:00
class CVector;
2019-07-09 16:50:35 +00:00
enum eExplosionType
{
2019-07-25 14:33:37 +00:00
EXPLOSION_GRENADE,
EXPLOSION_MOLOTOV,
EXPLOSION_ROCKET,
EXPLOSION_CAR,
EXPLOSION_CAR_QUICK,
EXPLOSION_HELI,
EXPLOSION_MINE,
EXPLOSION_BARREL,
EXPLOSION_TANK_GRENADE,
EXPLOSION_HELI_BOMB
2019-07-09 16:50:35 +00:00
};
class CExplosion
{
public:
2019-07-31 15:54:18 +00:00
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);
2019-12-02 20:02:32 +00:00
static void RemoveAllExplosionsInArea(CVector, float);
2020-01-03 16:48:13 +00:00
static bool TestForExplosionInArea(eExplosionType, float, float, float, float, float, float);
2019-07-09 16:50:35 +00:00
};