The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Variables
mt_rng.cpp File Reference
#include "mt_rng.hpp"
#include "seed_rng.hpp"
#include "config.hpp"
#include "formatter.hpp"
#include "log.hpp"
#include <sstream>
#include <iomanip>
Include dependency graph for mt_rng.cpp:

Go to the source code of this file.

Namespaces

 rand_rng
 

Macros

#define DBG_RND   LOG_STREAM(debug, log_random)
 
#define LOG_RND   LOG_STREAM(info, log_random)
 
#define WRN_RND   LOG_STREAM(warn, log_random)
 
#define ERR_RND   LOG_STREAM(err, log_random)
 

Variables

static lg::log_domain log_random ("random")
 

Macro Definition Documentation

#define DBG_RND   LOG_STREAM(debug, log_random)

Definition at line 23 of file mt_rng.cpp.

Referenced by rand_rng::mt_rng::get_next_random(), and rand_rng::mt_rng::seed_random().

#define ERR_RND   LOG_STREAM(err, log_random)

Definition at line 26 of file mt_rng.cpp.

#define LOG_RND   LOG_STREAM(info, log_random)

Definition at line 24 of file mt_rng.cpp.

#define WRN_RND   LOG_STREAM(warn, log_random)

Definition at line 25 of file mt_rng.cpp.

Variable Documentation

lg::log_domain log_random("random")
static