[Scummvm-devel] Re: RNG & get_msecs()

Torbjorn.E.Andersson at tietoenator.com Torbjorn.E.Andersson at tietoenator.com
Tue Oct 14 01:24:02 CEST 2003


Max Horn wrote:

> We could replace it with time(NULL), that should be portable and be 
> random enough.

Sounds good to me.

Since we use the RandomSource class in several engines, perhaps it should
be done in the RandomSource class instead of in scummvm.cpp? That way we
would get non-deterministic random numbers by default, right?

Torbjörn

-- 
TietoEnator Resource Management AB
Persona
Torbjörn Andersson
http://www.rm.tietoenator.com/
 




More information about the Scummvm-devel mailing list