Beispiel #1
0
void
fe_init_dither(int32 seed)
{
    if (seed < 0) {
        E_INFO("You are using the internal mechanism to generate the seed.\n");
#ifdef _WIN32_WCE
        s3_rand_seed(GetTickCount());
#else
        s3_rand_seed((long) time(0));
#endif
    } else {
        E_INFO("You are using %d as the seed.\n", seed);
        s3_rand_seed(seed);
    }
}
Beispiel #2
0
void
fe_init_dither(int32 seed)
{
    E_INFO("Using %d as the seed.\n", seed);
    s3_rand_seed(seed);
}