MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / InteractiveRandom

Function InteractiveRandom

src/core/random_func.hpp:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93inline uint32_t InteractiveRandom()
94{
95 return _interactive_random.Next();
96}
97
98inline uint32_t InteractiveRandomRange(uint32_t limit)
99{

Callers 10

openttd_mainFunction · 0.85
OnClickMethod · 0.85
OnPlaceObjectMethod · 0.85
_ShowGenerateLandscapeFunction · 0.85
GenerateWorldFunction · 0.85
PlaceTreeGroupAroundTileFunction · 0.85
ShuffleMethod · 0.85
PlaylistAddMethod · 0.85
RandomBytesWithFallbackFunction · 0.85
TickMethod · 0.85

Calls 1

NextMethod · 0.45

Tested by

no test coverage detected