Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZDoom/Raze
/ Random2
Method
Random2
source/common/engine/m_random.h:71–74 ·
view source on GitHub ↗
Returns rand# - rand#
Source
from the content-addressed store, hash-verified
69
70
// Returns rand# - rand#
71
int Random2()
72
{
73
return Random2(255);
74
}
75
76
// Returns (rand# & mask) - (rand# & mask)
77
int Random2(int mask)
Callers
2
NativeRandom2
Function · 0.80
DEFINE_ACTION_FUNCTION_NATIVE
Function · 0.80
Calls
1
Random2
Function · 0.85
Tested by
no test coverage detected