random.hpp File Reference

#include "SDL_types.h"

Include dependency graph for random.hpp:

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

Go to the source code of this file.

Classes

class  rng
struct  set_random_generator
class  simple_rng

Functions

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


Detailed Description

Definition in file random.hpp.


Function Documentation

int get_random (  ) 

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