Re: [AD] proposal: draw_sprite_*_ex

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


> > be one of the above mentioned constants. I changed SPRITE_LIT to
> > DRAW_SPRITE_LIT but its still just a define and not an enum. Should it
> > be an enum?
> >
> > I define the constants above as
> > #define DRAW_SPRITE_NO_FLIP 1
> > #define DRAW_SPRITE_H_FLIP 2
> > #define DRAW_SPRITE_V_FLIP 4
>
> DRAW_SPRITE_NO_FLIP | DRAW_SPRITE_H_FLIP Is the only open issue.
> Can't we just have DRAW_SPRITE_HV_FLIP and not allow or-ing?

Isn't NO_FLIP redundant anyway? So just H_FLIP and V_FLIP seems enough.




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