Re: [AD] rand() vs random()

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


Hein Zelle wrote:
First, I think as long as allegro only calls rand() and not srand(),
users output shouldn't be affected: as long as you consistently call
the blender functions the same amount of times, your random series
should be reproducable.

But it's conceivable that the number of blender calls depends on the number of skipped frames (so it might work consistently on one machine and break on another with different speed), and the number of rand() calls in the blender depends on screen resolution.

Sven





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