Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
static F32 leGetRandom()
9
{
10
F32 ret = (U16)rand() / (F32)0xffff;
11
return ret;
12
}
13
14
void zLightEffectInitStrobe(_zLight* zlight)
15
{
Callers
2
EffectFlicker
Function · 0.85
zLightEffectCauldron
Function · 0.85
Calls
1
rand
Function · 0.85
Tested by
no test coverage detected