pixelcity/Random.h

6 lines
165 B
C
Raw Normal View History

2009-05-03 12:05:03 +01:00
#define COIN_FLIP (RandomVal (2) == 0)
unsigned long RandomVal (int range);
unsigned long RandomVal (void);
void RandomInit (unsigned long seed);