sources/SpriteWorldUtils.c
int GetRandom( int min, int max )
{
	int num;
  
  // 0xfede: NOTE: RAND_MAX+1 overflows. Did this work with a previous version of RAND_MAX where the last nibble was less than 7?
	num = ((float)rand() / (float)(RAND_MAX)) * (max - min + 1);
	num = num + min;
	
	return num;
}
///--------------------------------------------------------------------------------------
//	GetRandom - generates pseudo random number. min and max are inclusive
///--------------------------------------------------------------------------------------
generates pseudo random number. min and max are inclusive
generates pseudo random number . min and max are inclusive
int GetRandom( int min, int max )
{
	int num;
	num = ((float)rand() / (float)(RAND_MAX)) * (max - min + 1);
	num = num + min;
	return num;
}
int GetRandom ( int min , int max ) { int num ; num = ( ( float ) rand ( ) / ( float ) ( RAND_MAX ) ) * ( max - min + 1 ) ; num = num + min ; return num ; }
GetRandom - generates pseudo random number.
GetRandom - generates pseudo random number .
// 0xfede: NOTE: RAND_MAX+1 overflows. Did this work with a previous version of RAND_MAX where the last nibble was less than 7?