random_func.cpp File Reference

Implementation of the pseudo random generator. More...

#include "../stdafx.h"
#include "random_func.hpp"
#include "bitmath_func.hpp"

Go to the source code of this file.

Functions

void SetRandomSeed (uint32 seed)

Variables

Randomizer _random
 Random used in the game state calculations.
Randomizer _interactive_random
 Random used every else where is does not (directly) influence the game state.


Detailed Description

Implementation of the pseudo random generator.

Definition in file random_func.cpp.


Generated on Mon Feb 16 23:12:14 2009 for openttd by  doxygen 1.5.6