Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "Stdafx.h"
Go to the source code of this file.
Functions | |
void | SRand (udword seed) |
udword | Rand () |
udword | GetRandomIndex (udword max_index) |
Returns a random index so that 0<= index < max_index. More... | |
Variables | |
static BasicRandom | gRandomGenerator (42) |
Returns a random index so that 0<= index < max_index.
Definition at line 30 of file IceRandom.cpp.
References gRandomGenerator, and BasicRandom::Randomize().
udword Rand | ( | ) |
Definition at line 22 of file IceRandom.cpp.
Referenced by UnitRandomFloat().
void SRand | ( | udword | seed) |
Definition at line 17 of file IceRandom.cpp.
|
static |
Referenced by GetRandomIndex().