The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

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