summaryrefslogblamecommitdiffstats
path: root/src/core/Fire.h
blob: 040e9a254668a188a72c9f4e590b086e60a8fd11 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
            

              


           
       



                                









                              
                              





                                                                               
                                                                              

                                  
#pragma once

class CEntity;

class CFire
{
public:
	bool m_bIsOngoing;
	bool m_bExists;
	bool m_bPropogationFlag;
	bool m_bAudioSet;
	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;

	void Extinguish(void);
};

class CFireManager
{
public:
	void StartFire(CEntity *entityOnFire, CEntity *culprit, float, uint32);
	CFire *FindFurthestFire_NeverMindFireMen(CVector coors, float, float);
};
extern CFireManager &gFireManager;