From: David Huelves Ramos Newsgroups: comp.os.msdos.djgpp Subject: Re: raycasting Date: Mon, 19 May 1997 11:49:00 +0200 Organization: Universitat Politecnica de Catalunya Lines: 37 Message-ID: <3380220C.3423@si.ct.upc.es> References: <337778C4 DOT 77C8 AT icgroup DOT net> <3377acd4 DOT 14762590 AT news DOT cis DOT yale DOT edu> NNTP-Posting-Host: tr10-32.upc.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk jon wrote: > > On Mon, 12 May 1997 16:08:36 -0400, lab wrote: > > >Does anybody know where I can get some sample code for doing > >raycasting using djgpp and allegro, written in c.I have been working in > >Borland for about 6 mo. and switching over to djgpp and allegro has got > >me lost.I am used to calling far pointers in Borland - char far *screen > >=(char far *) MK_FP(0xa000,0).Most of what I have learned came from > >"Gardens of Imagination" & "Tricks - - game programming gurus".I > >understand this code well but porting it to djgpp/allegro has me.I want > >to use as much of allegro as possible. > > I read up on sys/fptr but that just didn't help..I don't have > >enough hair left on my head to pull out. > > > > HELP ME PLEASE............. LAB > > For raycasting info: > http://franz24.psych.ucla.edu/fp/raycast/raycidx.html > > For DJGPP-specific code: > ftp://x2ftp.oulu.fi/pub/msdos/programming/djgpp2/hgtf_1-0.zip YOU CAN TRY ALSO (AN OLD ONE). http://teeri.oulu.fi/pub/msdos/programming/djgpp2/draycast.arj > Sorry, the latter isn't allegro- it uses Jlib, which is also at the > above site. Allegro is great, and Jlib is great- and both free. One > nice feature of Jlib is that it is portable to X-windows, Linux, > Watcom (DOS), and, of course, DJGPP. ------------------------------------ David Huelves Ramos mailto:huelves AT si DOT ct DOT upc DOT es C/Numancia 47-49 6 2¦ (Barcelona 08029) ------------------------------------