Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Building switches between undamaged/damaged/destroyed states based on damage to regions and destruction If a region is only partially damaged, its damage is stored in a map (m_RegionDamage) that stores index and damage If a region is destroyed, it is stored in a bitmask array (m_RegionMask) If the entire building is destroyed, only a single bool is set (m_bDestroyed) This ensures a minimal amount of data is stored per building to handle destruction
Definition at line 47 of file SCR_DestructibleBuildingEntity.c.