Mail Archives: djgpp/1997/09/21/05:48:09
Hi,
David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk> wrote:
>In article <3421A620 DOT 11BC AT cam DOT org>, Vic <tudor AT cam DOT org> writes
>Like this.
>
>main loop{
> do all your stuff();
> if (old_mouse_x != mouse_x || old_mouse_y != mouse_y) {
> do all the stuff that happens when the mouse has moved();
> old_mouse_x = mouse_x;
> old_mouse_y = mouse_y;
> }
>}
>
>It isn't that hard, is it??
Well, I had the right concept in mind, but I just wondered if Allegro already had
something built in. Thanks anyways!
Bye!
****************************************************
* Gautam N. Lad *
*--------------------------------------------------*
* *
* E-Mail : gautam AT interlog DOT com *
* Website : http://www.interlog.com/~gautam *
* *
* OS/2, DOS/Windows, Graphics Gallery, Software, *
* Links, Rayzor Editor/2, POV-Ray, TexturEyes, *
* POV-PAK and lots lots lots more!!!!!!! *
****************************************************
- Raw text -