Re: [AD] Drawing a flipped RLE sprite?

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


> >      draw_sprite_*_flip
> >
> > These do not, but that could easily be added.
> 
> Ah! So you want to add the three variants, which effectively means 6 new
> functions (C and asm). It looks like we've started to slip... :-)

Hehe... actually, I only need one, but the other ones aren't any more work.
Still, I see your point.

> > IMHO, rle-sprites are mainly intended for `static' images, such as
> > character sprites. You don't ordinarily need to do a lot of fancy stuff
> > with those: just draw them, light them or flip them. Following that
> > reasoning, a draw_gouraud_rle_sprite should be a good thing too...
> 
> I agree with your premise: RLE sprites are "static" images. So I think 
the
> line to draw for them is the following one: no support for geometric
> transformations. (The [AD] archives are here again much missed). And I 
agree
> with your last conclusion too: a draw_gouraud_rle_sprite routine would be
> acceptable from this point-of-view (be it technically feasible).

Ok. I'll add the flipping routines I need to my project's code when I get 
round to it. After all, there is no real need to integrate it in Allegro 
itself and no hurry to do so.
Vincent: in what way does your gouraud RLE sprite drawing code differ from 
Allegro?

-- 
Evert Glebbeek
e-mail: eglebbk@xxxxxxxxxx   ICQ: 48210348
www: http://www.science.uva.nl/~eglebbk/ 



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