Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
95
unsigned 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
105
double gaussianRandomDouble()
106
{
Callers
15
getWorkerPreferredActions
Method · 0.85
handleSearchEntityToCarry
Method · 0.85
shoot
Method · 0.85
shoot
Method · 0.85
useRoom
Method · 0.85
useRoom
Method · 0.85
doUpkeep
Method · 0.85
useRoom
Method · 0.85
useRoom
Method · 0.85
notifyActiveSpotCreated
Method · 0.85
doUpkeep
Method · 0.85
useRoom
Method · 0.85
Calls
1
randuint
Function · 0.85
Tested by
no test coverage detected