Difference between revisions of "CBreakable (CS)"

From AlliedModders Wiki
Jump to: navigation, search
m
Line 17: Line 17:
 
| style="text-align:center" | 36  
 
| style="text-align:center" | 36  
 
| style="text-align:center" | 41  
 
| style="text-align:center" | 41  
| style="text-align:center" | +5
+
| style="text-align:center" | +4
 
| style="text-align:center" | Materials
 
| style="text-align:center" | Materials
 
| None.
 
| None.
Line 24: Line 24:
 
| style="text-align:center" | 37  
 
| style="text-align:center" | 37  
 
| style="text-align:center" | 42  
 
| style="text-align:center" | 42  
| style="text-align:center" | +5
+
| style="text-align:center" | +4
 
| style="text-align:center" | Explosions
 
| style="text-align:center" | Explosions
 
| None.
 
| None.
Line 31: Line 31:
 
| style="text-align:center" | 38  
 
| style="text-align:center" | 38  
 
| style="text-align:center" | 43  
 
| style="text-align:center" | 43  
| style="text-align:center" | +5
+
| style="text-align:center" | +4
 
| style="text-align:center" | int
 
| style="text-align:center" | int
 
| None.
 
| None.
Line 38: Line 38:
 
| style="text-align:center" | 39
 
| style="text-align:center" | 39
 
| style="text-align:center" | 44  
 
| style="text-align:center" | 44  
| style="text-align:center" | +5
+
| style="text-align:center" | +4
 
| style="text-align:center" | float
 
| style="text-align:center" | float
 
| None.
 
| None.
Line 45: Line 45:
 
| style="text-align:center" | 40  
 
| style="text-align:center" | 40  
 
| style="text-align:center" | 45  
 
| style="text-align:center" | 45  
| style="text-align:center" | +5
+
| style="text-align:center" | +4
 
| style="text-align:center" | int
 
| style="text-align:center" | int
 
| None.
 
| None.
Line 52: Line 52:
 
| style="text-align:center" | 41
 
| style="text-align:center" | 41
 
| style="text-align:center" | 46  
 
| style="text-align:center" | 46  
| style="text-align:center" | +5
+
| style="text-align:center" | +4
 
| style="text-align:center" | int
 
| style="text-align:center" | int
 
| None.
 
| None.

Revision as of 00:59, 13 August 2009



W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_Material 36 41 +4 Materials None.
m_Explosion 37 42 +4 Explosions None.
m_idShard 38 43 +4 int None.
m_angle 39 44 +4 float None.
m_iszGibModel 40 45 +4 int None.
m_iszSpawnObject 41 46 +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;