MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / AddToShakeMagnitude

Function AddToShakeMagnitude

Descent3/damage.cpp:1421–1425  ·  view source on GitHub ↗

Adds a bit of shake to the camera

Source from the content-addressed store, hash-verified

1419
1420// Adds a bit of shake to the camera
1421void AddToShakeMagnitude(float delta) {
1422
1423 ASSERT(delta >= 0.0);
1424 Shake_magnitude += delta;
1425}
1426
1427// Sets a definite shake to the camera
1428void SetShakeMagnitude(float delta) {

Callers 5

msafe_CallFunctionFunction · 0.85
DestroyObjectFunction · 0.85
DoExplosionFrameFunction · 0.85
DoPlayerAfterburnControlFunction · 0.85
FireWeaponFromPlayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected