Re: [AD] proposal: draw_sprite_*_ex

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


On 2007-04-23, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On 2007-04-23, Doug Eleveld <djeleveld@xxxxxxxxxx> wrote:
> > Does it make sense to define DRAW_SPRITE_NO_FLIP?  You
> > just know someone is going to use something like
> > DRAW_SPRITE_NO_FLIP | DRAW_SPRITE_H_FLIP and end up
> > confused as to what should happen.
> 
> It's a good point.  I suggested NO_FLIP because I'd rather read code
> with meaningful constants than "0".

OTOH we might want to extend the flags with non-flipping related options
so NO_FLIP should be renamed to something better, if it stays.

Peter





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