Difference between revisions of "CBreakable (CS)"

From AlliedModders Wiki
Jump to: navigation, search
m
m
Line 16: Line 16:
 
| m_Material
 
| m_Material
 
| style="text-align:center" | 36  
 
| style="text-align:center" | 36  
| style="text-align:center" | 41
+
| style="text-align:center" | 40
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | Materials
 
| style="text-align:center" | Materials
Line 23: Line 23:
 
| m_Explosion
 
| m_Explosion
 
| style="text-align:center" | 37  
 
| style="text-align:center" | 37  
| style="text-align:center" | 42
+
| style="text-align:center" | 41
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | Explosions
 
| style="text-align:center" | Explosions
Line 30: Line 30:
 
| m_idShard
 
| m_idShard
 
| style="text-align:center" | 38  
 
| style="text-align:center" | 38  
| style="text-align:center" | 43
+
| style="text-align:center" | 42
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | int
 
| style="text-align:center" | int
Line 37: Line 37:
 
| m_angle
 
| m_angle
 
| style="text-align:center" | 39
 
| style="text-align:center" | 39
| style="text-align:center" | 44
+
| style="text-align:center" | 43
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | float
 
| style="text-align:center" | float
Line 44: Line 44:
 
| m_iszGibModel
 
| m_iszGibModel
 
| style="text-align:center" | 40  
 
| style="text-align:center" | 40  
| style="text-align:center" | 45
+
| style="text-align:center" | 44
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | int
 
| style="text-align:center" | int
Line 51: Line 51:
 
| m_iszSpawnObject
 
| m_iszSpawnObject
 
| style="text-align:center" | 41
 
| style="text-align:center" | 41
| style="text-align:center" | 46
+
| style="text-align:center" | 45
 
| style="text-align:center" | +4  
 
| style="text-align:center" | +4  
 
| style="text-align:center" | int
 
| style="text-align:center" | int

Revision as of 01:01, 13 August 2009



W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_Material 36 40 +4 Materials None.
m_Explosion 37 41 +4 Explosions None.
m_idShard 38 42 +4 int None.
m_angle 39 43 +4 float None.
m_iszGibModel 40 44 +4 int None.
m_iszSpawnObject 41 45 +4 int None.

Constants

enum Explosions { expRandom, expDirected } 
enum Materials { matGlass = 0, matWood, matMetal, matFlesh, matCinderBlock, matCeilingTile, matComputer, matUnbreakableGlass, matRocks, matNone, matLastMaterial } 
 
#define	NUM_SHARDS 6 // this many shards spawned when breakable objects break;