RE: [AD] No more video/system bitmaps

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


On Thu, 2005-06-16 at 10:48 -0700, Dustin Dettmer wrote:
> 
> I say let AUTO be the default.  Make the function
> AL_BITMAP *create_al_bitmap(int width, int height,
> AL_DISPLAY *env);  If a user wants more control on
> where the bitmap goes, there could be another
> function, create_hinted_al_bitmap(int width, int
> height, int hint, AL_DISPLAY *env);
> 
> I could see noobs and experianced programmers alike
> having to sit and think "Now what kind of bitmap is
> this going to be?"  I say make it easy for those who
> don't care, yet leave the optimized option open.

Yes, that's just what I meant. You should be able to give hints, but not
required to.

> A question I had about this whole thing, is what does
> the flip function do?  I couldn't tell from this
> description, and I think new users will have the same
> problem.  If its a function to replace the current
> request_video_bitmap / show_video_bitmap functions,
> then maybe it should be named someting less vague like
> set_al_display(AL_DISPLAY *env, AL_BITMAP *bmp).

I find "flip" describes it very good. I guess it would be:

al_flip_display



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