Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ClassiCube/ClassiCube
/ Random_Seed
Function
Random_Seed
src/ExtMath.c:128–130 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
126
}
127
128
void Random_Seed(RNGState* seed, int seedInit) {
129
*seed = (seedInit ^ RND_VALUE) & RND_MASK;
130
}
131
132
int Random_Next(RNGState* seed, int n) {
133
cc_int64 raw;
Callers
4
EnvRenderer_RenderWeather
Function · 0.85
Random_SeedFromCurrentTime
Function · 0.85
Builder_DrawSprite
Function · 0.85
NotchyGen_Prepare
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected