Source

Frontier / Terrain / Random.h

Full commit
1
2
3
4
5
6
#define COIN_FLIP     (RandomVal (2) == 0)

unsigned long RandomVal (int range);
unsigned long RandomVal (void);
void          RandomInit (unsigned long seed);
float         RandomFloat ();