RE: [AD] 2 patches

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> #define draw_bitmap_off(bmp,x,y,tx,ty,w,h) \
>      draw_bitmap(bmp, x, y, tx + bmp->xcrp, ty + bmp->ycrp, w, h)
You'd end up typing as much :) And this would require adding xcrp
and ycrp as BITMAP fields. This wouldn't be a good idea, as they're
just properties like any other.

> I don't remember the format for draw bitmap offhand right now. =)
That's normal, there's no such thing as draw_bitmap :)
This is draw_sprite.

-- 
Lyrian 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/