Re: [AD] proposal: draw_sprite_*_ex |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] proposal: draw_sprite_*_ex
- From: "Elias Pschernig" <allefant@xxxxxxxxxx>
- Date: Tue, 9 Oct 2007 14:03:34 +0200
> > 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.