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

Function GetRandomBillowingExplosion

Descent3/fireball.cpp:2422–2426  ·  view source on GitHub ↗

TODO: MTS: only found in this file.

Source from the content-addressed store, hash-verified

2420}
2421// TODO: MTS: only found in this file.
2422int GetRandomBillowingExplosion() {
2423 int choices[] = {BILLOWING_INDEX, MED_EXPLOSION_INDEX2};
2424 int pick = ps_rand() % 2;
2425 return (choices[pick]);
2426}
2427void DrawSmolderingObject(object *obj) {
2428 vector veca;
2429 angvec angs;

Callers 1

CreateExtraFireballsFunction · 0.85

Calls 1

ps_randFunction · 0.85

Tested by

no test coverage detected