MCPcopy 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

NativeRandom2Function · 0.80

Calls 1

Random2Function · 0.85

Tested by

no test coverage detected