Code: Select all

```
struct damage_kick_definition damage_kick_definitions[NUMBER_OF_DAMAGE_TYPES] =
{
{0, 1, true}, // _damage_explosion,
{0, 3, true}, // _damage_electrical_staff,
{0, 1, false}, // _damage_projectile,
{0, 1, false}, // _damage_absorbed,
{0, 1, false}, // _damage_flame,
{0, 1, false}, // _damage_hound_claws,
{0, 1, false}, // _damage_alien_projectile,
{0, 1, false}, // _damage_hulk_slap,
{0, 3, true}, // _damage_compiler_bolt,
{0, 0, false}, // _damage_fusion_bolt,
{0, 1, false}, // _damage_hunter_bolt,
{0, 1, false}, // _damage_fist,
{250, 0, false}, // _damage_teleporter,
{0, 1, false}, // _damage_defender,
{0, 3, true}, // _damage_yeti_claws,
{0, 1, false}, // _damage_yeti_projectile,
{0, 1, false}, // _damage_crushing,
{0, 1, false}, // _damage_lava,
{0, 1, false}, // _damage_suffocation,
{0, 1, false}, // _damage_goo,
{0, 1, false}, // _damage_energy_drain,
{0, 1, false}, // _damage_oxygen_drain,
{0, 1, false}, // _damage_hummer_bolt,
{0, 0, true} // _damage_shotgun_projectile,
};
```

From what I can tell its a struct that passes values to an array of functions?

Can some one please explain this to me I am definitely interested in how that works I don't even know if I was anywhere in the ballpark on this one.