#include "SDL_types.h"
Go to the source code of this file.
Classes | |
class | rng |
struct | set_random_generator |
class | simple_rng |
Functions | |
int | get_random () |
const config * | get_random_results () |
void | set_random_results (const config &cfg) |
Definition in file random.hpp.
int get_random | ( | ) |
Definition at line 113 of file random.cpp.
References rng::get_random(), and random_generator.
Referenced by unit_map::add(), attack::attack(), unit::generate_gender(), unit::generate_traits(), markov_generate_name(), and unit::set_underlying_id().
const config* get_random_results | ( | ) |
Definition at line 119 of file random.cpp.
References rng::get_random_results(), and random_generator.
Referenced by attack::attack(), and recruit_unit().
void set_random_results | ( | const config & | cfg | ) |
Definition at line 125 of file random.cpp.
References random_generator, and rng::set_random_results().
Referenced by attack::attack(), and recruit_unit().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |