Re: [AD] to prefix or not to prefix (part 2)

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


On 31 Oct 2001, Vincent Penquerc'h <Vincent.Penquerch@xxxxxxxxxx> wrote:
> > In reply to Peter Wang <tjaden@xxxxxxxxxx>:
> > >void al_text_print(BITMAP *bmp, const FONT *fnt, int x, int y, 
> > >               int align, int color, int bgcolor, const char 
> > *string);
> > >
> > >void al_text_printf(BITMAP *bmp, const FONT *fnt, int x, int y,
> > >               int align, int color, int bgcolor, const char 
> > *format, ...);
> > 
> > What's the difference?
> 
> Removing the ability to do printf-like formatted output.

Actually, I had another idea.  If `format' for al_text_printf is NULL,
interpret the following string as plain text (no escaping required).
No, I don't see the point of such ugliness.  Sometimes two functions
are better than one.



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