![]() |
TrinityCore
|
#include "Random.h"
#include "Common.h"
#include "Errors.h"
#include "SFMT.h"
#include <boost/thread/tss.hpp>
Functions | |
static SFMTRand * | GetRng () |
int32 | irand (int32 min, int32 max) |
uint32 | urand (uint32 min, uint32 max) |
uint32 | urandms (uint32 min, uint32 max) |
float | frand (float min, float max) |
uint32 | rand32 () |
double | rand_norm () |
double | rand_chance () |
Variables | |
static boost::thread_specific_ptr < SFMTRand > | sfmtRand |
float frand | ( | float | min, |
float | max | ||
) |
|
static |
uint32 rand32 | ( | ) |
double rand_chance | ( | ) |
double rand_norm | ( | ) |
|
static |