MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / leGetRandom

Function leGetRandom

src/SB/Game/zLightEffect.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include <stdlib.h>
7
8static F32 leGetRandom()
9{
10 F32 ret = (U16)rand() / (F32)0xffff;
11 return ret;
12}
13
14void zLightEffectInitStrobe(_zLight* zlight)
15{

Callers 2

EffectFlickerFunction · 0.85
zLightEffectCauldronFunction · 0.85

Calls 1

randFunction · 0.85

Tested by

no test coverage detected