Man, I lost so much of my childhood to that game :)
There was a thread on this mailing list ages ago about this. Try
searching the archives for "mersenne twister", as i know that was mentioned.
alex:)
Graeme Cowie wrote:
> Hi gbadev forum,
>
> Rather than re-invent the wheel trying to write an ARM random number
> gernerator function, i thought i'd ask if anyone has done this before or
> if there is an easy fast way to achieve random numbers.
>
> I'm thinking of doing a GBA conversion of the classic Atari 8bit version
> of River Raid, which generates terrain and enemies randomly.
>
> Cheers,
>
> McGeezer
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
>
<http://rd.yahoo.com/SIG=12ckv5dmt/M=267637.4116730.5333196.1261774/D=egroupweb/\
S=1705055196:HM/EXP=1071087444/A=1853618/R=0/*http://www.netflix.com/Default?mqs\
o=60178338&partid=4116730>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/>.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________