MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / Uint

Function Uint

source/utils/Random.cpp:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95unsigned int Uint(unsigned int min, unsigned int max)
96{
97 if (min > max)
98 {
99 std::swap(min, max);
100 }
101
102 return randuint(min, max);
103}
104
105double gaussianRandomDouble()
106{

Callers 15

shootMethod · 0.85
shootMethod · 0.85
useRoomMethod · 0.85
useRoomMethod · 0.85
doUpkeepMethod · 0.85
useRoomMethod · 0.85
useRoomMethod · 0.85
doUpkeepMethod · 0.85
useRoomMethod · 0.85

Calls 1

randuintFunction · 0.85

Tested by

no test coverage detected