delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/10/20:21:43

From: Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro and random numbers.
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <enr5assmagdrd6u5i93ugel0425kkc1qhe@4ax.com>
References: <38A020E4 DOT 9D28E963 AT tiscalinet DOT it> <Pine DOT SUN DOT 3 DOT 91 DOT 1000209091129 DOT 9816Q-100000 AT is>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 16
X-Trace: /wzbxdgnB3DnemU7ZdKF7zZXchJQdW81p6FKmE5oMHrsBd//fl1dCuLMW4AeKxD0KWwQ+kDkzhPp!bujaQ712HqdFnOqWbc4dwwwEPFNuF7ffLHgsRAr3aoSKZG1cQqDQ1ut2t4MX8etCJZIVdaSTHRuz!DXxrzNA=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 10 Feb 2000 17:06:56 GMT
Distribution: world
Date: Thu, 10 Feb 2000 17:06:56 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 9 Feb 2000 09:14:15 +0200 (IST), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:

>For comparison, `rand' has a period of at least 2^31, and `random' has 
>much larger period.

But will these PRNGs have the same sequence on all platforms? I need
to play a game (a Tetris(R) clone perhaps) on Linux (using curses or
Allegro if it matters), record user input, recompile in DJGPP, play
back the user input, and keep the system in sync.

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019