From: fdschnap AT acs DOT ucalgary DOT ca (Paul Szuch) Newsgroups: comp.os.msdos.djgpp Subject: Re: Any Allegro users want to help? Date: Mon, 30 Dec 1996 22:19:45 GMT Organization: The University of Calgary Lines: 19 Message-ID: <32c83f77.1314949@news.ucalgary.ca> References: <01bbf45d$777df560$932449c2 AT default> <32C74003 DOT 36FC AT avalon DOT net> NNTP-Posting-Host: dearl AT ts2-port-12 DOT acs DOT ucalgary DOT ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Sun, 29 Dec 1996 20:07:31 -0800, Kevin Ivarsen wrote: SNIP! >I hope this helps. Feel free to mail me with any more Allegro questions. It's hard to >get used to, but it's a WONDERFUL library - incredibly fast, VERY usefull functions, >etc. BTW - have you checked out the demo game yet? :) > >-Kevin Ivarsen As you volunteered... what does the heck does d do in do_line? void do_line(BITMAP *bmp, int x1, y1, x2, y2, int d, void (*proc)()); Calculates all the points along a line from point (x1, y1) to (x2,y2), calling the supplied function for each one. This will be passed a copy of the bmp parameter, the x and y position, and a copy of the d parameter, so it is suitable for use with putpixel().