CFire: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
...
Manages a [[CFireSmoke]] entity and handles damage to other [[CFire]] entities simulating the spreading of fire.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/fire.cpp /game/server/fire.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/fire.cpp /game/server/fire.cpp]'''

Revision as of 18:00, 10 August 2022

Overview

Manages a CFireSmoke entity and handles damage to other CFire entities simulating the spreading of fire.

Source location : /game/server/fire.cpp

Linked Entity : env_fire

Class Structure

Entity DataMaps

CFire
Name Type Description
CFireBurnThink
CFireGoOutThink
InputDisable
InputEnable
InputExtinguish
InputExtinguishTemporary
InputStartFire
m_OnExtinguished
m_OnIgnited
m_bDidActivate
m_bEnabled
m_bStartDisabled
m_flAttackTime
m_flDamageScale
m_flDamageTime
m_flFireSize
m_flFuel
m_flHeatAbsorb
m_flHeatLevel
m_flMaxHeat
m_hEffect
m_hOwner
m_lastDamage
m_nFireType