OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
|
Random number generation. More...
#include <chrono>
#include <map>
#include <random>
#include <utility>
#include "global.h"
#include "utils/random.h"
Go to the source code of this file.
Functions | |
int | randomInteger (int max, int min) |
Variables | |
static std::map< int, std::uniform_int_distribution< int > > | distributions |
static std::default_random_engine | engine |
static bool | engineIsSeeded = false |
Random number generation.
Definition in file random.cpp.
int randomInteger | ( | int | max, |
int | min | ||
) |
Definition at line 20 of file random.cpp.
|
static |
Definition at line 16 of file random.cpp.
|
static |
Definition at line 17 of file random.cpp.
|
static |
Definition at line 18 of file random.cpp.