Classes | Namespaces | Functions

random.hpp File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rand_rng::set_random_generator

Namespaces

namespace  rand_rng

Functions

int get_random ()
int get_random_nocheck ()
const configget_random_results ()
void set_random_results (const config &cfg)

Detailed Description

Definition in file random.hpp.


Function Documentation

int get_random (  ) 

Definition at line 66 of file random.cpp.

Referenced by attack::perform_hit(), and mp::connect::start_game().

Here is the caller graph for this function:

int get_random_nocheck (  ) 

Definition at line 73 of file random.cpp.

Referenced by generate_gender(), unit::generate_traits(), and markov_generate_name().

Here is the caller graph for this function:

const config* get_random_results (  ) 

Definition at line 80 of file random.cpp.

Referenced by attack::perform_hit(), and place_recruit().

Here is the caller graph for this function:

void set_random_results ( const config cfg  ) 

Definition at line 87 of file random.cpp.

Referenced by attack::perform_hit(), and place_recruit().

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:46 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs