summaryrefslogtreecommitdiffstats
path: root/src/core/Fire.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-01-07 15:08:51 +0100
committerGitHub <noreply@github.com>2020-01-07 15:08:51 +0100
commit18de44e038c904e4de21f42a12afa188146587d1 (patch)
tree6efdd7adc1648fd63414227dcd9ac13d54ab31b5 /src/core/Fire.h
parentUse CGeneral::faststricmp in CPed::ServiceTalking (diff)
parentfixes (diff)
downloadre3-18de44e038c904e4de21f42a12afa188146587d1.tar
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.gz
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.bz2
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.lz
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.xz
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.zst
re3-18de44e038c904e4de21f42a12afa188146587d1.zip
Diffstat (limited to 'src/core/Fire.h')
-rw-r--r--src/core/Fire.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/Fire.h b/src/core/Fire.h
index e0ad7cdf..9d72179e 100644
--- a/src/core/Fire.h
+++ b/src/core/Fire.h
@@ -31,11 +31,16 @@ class CFireManager
CFire m_aFires[NUM_FIRES];
public:
void StartFire(CEntity *entityOnFire, CEntity *culprit, float, uint32);
+ void StartFire(CVector, float, uint8);
void Update(void);
CFire *FindFurthestFire_NeverMindFireMen(CVector coors, float, float);
CFire *FindNearestFire(CVector, float*);
+ uint32 GetTotalActiveFires() const;
void ExtinguishPoint(CVector, float);
-
- uint32 GetTotalActiveFires() const { return m_nTotalFires; }
+ int32 StartScriptFire(const CVector& pos, CEntity* culprit, float, uint8);
+ bool IsScriptFireExtinguish(int16);
+ void RemoveScriptFire(int16);
+ void RemoveAllScriptFires(void);
+ void SetScriptFireAudio(int16, bool);
};
extern CFireManager &gFireManager;