srand(int seed); [ 1.5+ ]
Change the random seed. You can use this function to improve randomness by giving a value based on when the player press start first for example.