Mail Archives: djgpp/1996/12/30/19:36:06
On Sun, 29 Dec 1996 20:07:31 -0800, Kevin Ivarsen
<ivarneli AT avalon DOT net> 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().
- Raw text -