From: "Tom Morton" Newsgroups: comp.os.msdos.djgpp Subject: Allegro and random numbers. Date: Tue, 31 Aug 1999 23:48:32 +0100 Organization: Yikes Station Ltd. Message-ID: <7qhljj$245$3@news6.svr.pol.co.uk> NNTP-Posting-Host: modem-71.hafnium.dialup.pol.co.uk X-Trace: news6.svr.pol.co.uk 936139187 2181 62.136.35.199 (31 Aug 1999 22:39:47 GMT) NNTP-Posting-Date: 31 Aug 1999 22:39:47 GMT X-Complaints-To: abuse AT theplanet DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello fellow human beings, I'm writing a game with allegro and djgpp and it requires a random number generator that can have it's seed saved and changed. Until now I have been using the rand() and srand() functions but I need to be able to store the state of the random number generator. Anyone know if there are any decent RNGs for djgpp/allegro? BTW allegro is *amazing*. I have been looking for something like it since I moved from Atari ST to IBM PC. -- Yikes Station: Frontier Elite 2 Website http://www.yikesstation.freeserve.co.uk/frontier/yikes.htm Tom 'Moretom' Morton