Crossfire Server, Trunk
|
#include <random>
Go to the source code of this file.
Functions | |
uint32_t | cf_random (void) |
void | cf_srandom (unsigned long seed) |
Variables | |
static std::mt19937 | generator |
uint32_t cf_random | ( | void | ) |
Definition at line 5 of file cf_random.cpp.
References generator.
Referenced by check_loaded_object(), and test_stand_in_light().
void cf_srandom | ( | unsigned long | seed | ) |
Definition at line 9 of file cf_random.cpp.
References generator.
Referenced by do_magic(), and START_TEST().
|
static |
Definition at line 3 of file cf_random.cpp.
Referenced by cf_random(), and cf_srandom().