delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/13/20:05:07

From: quacci AT vera DOT com (jon)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: raycasting
Date: Mon, 12 May 1997 23:57:20 GMT
Organization: Yale University
Lines: 24
Message-ID: <3377acd4.14762590@news.cis.yale.edu>
References: <337778C4 DOT 77C8 AT icgroup DOT net>
NNTP-Posting-Host: slip-ppp-node-02.cs.yale.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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
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. 

- Raw text -


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