Mail Archives: djgpp/1997/05/20/04:06:41
jon wrote:
>
> On Mon, 12 May 1997 16:08:36 -0400, lab <lab AT icgroup DOT net> 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)
------------------------------------
- Raw text -