2019-06-30 12:59:55 +02:00
|
|
|
#pragma once
|
2019-07-09 18:50:35 +02:00
|
|
|
|
|
|
|
class CEntity;
|
2019-06-30 12:59:55 +02:00
|
|
|
|
|
|
|
class CFire
|
|
|
|
{
|
2019-07-09 18:50:35 +02:00
|
|
|
bool m_bIsOngoing;
|
|
|
|
bool m_bExists;
|
|
|
|
bool m_bPropogationFlag;
|
|
|
|
bool m_bAudioSet;
|
2019-06-30 12:59:55 +02:00
|
|
|
CVector m_vecPos;
|
|
|
|
CEntity *m_pEntity;
|
|
|
|
CEntity *m_pSource;
|
|
|
|
int m_nExtinguishTime;
|
|
|
|
int m_nStartTime;
|
|
|
|
int field_20;
|
|
|
|
int field_24;
|
|
|
|
int field_28;
|
|
|
|
float field_2C;
|
|
|
|
|
|
|
|
public:
|
|
|
|
void Extinguish(void);
|
2019-07-09 18:50:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class CFireManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void StartFire(CEntity *entityOnFire, CEntity *culprit, float, uint32);
|
|
|
|
};
|
|
|
|
extern CFireManager &gFireManager;
|