Re: [AD] srand()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Peter Wang wrote:

> > I still think Allegro should have its own portable allegro_seed() and
> > allegro_random() functions...
> 
> I don't.

Why? (question for both Peter and original author)

Is rand() combined with srand() so unportable that allegro needs it's
own version? If it is, why does Peter not want it? I do think a random
number generator is a vital part of games programming so it would
belong in allegro, but I myself have never had problems using the libc
random generator. I would therefore support Peter that we don't need it.

       Hein Zelle

>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
 Unix is user friendly. It's just very particular about who 
 it's friends are.

 Hein Zelle                     hein@xxxxxxxxxx
	                        http://www.icce.rug.nl/~hein
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/