The Battle for Wesnoth  1.19.0-dev
Classes | Variables
randomness Namespace Reference

Classes

class  mt_rng
 
class  rng
 this class does not give synced random results derived classes might do. More...
 
class  rng_deterministic
 This rng is used when the normal synced rng is not available this is currently only he case at the very start of the scenario (random generation of starting units traits). More...
 
class  set_random_determinstic
 RAII class to use rng_deterministic in the current scope. More...
 
class  synced_rng
 

Variables

rnggenerator = &rng::default_instance()
 This generator is automatically synced during synced context. More...
 

Variable Documentation

◆ generator

rng * randomness::generator = &rng::default_instance()