Re: [AD] v/h flip for draw_lit/trans

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


Jon Rafkind wrote:
4.3. I would really love to use draw_lit_h_flip in my game but using temporary bitmaps to accomplish this might prove difficult as I have a lot of sprites so I'm either using up a lot of memory or cpu.

If it's only your game about, there is a trick which you can use to fast hflip a bitmap:
http://allegrogl.svn.sourceforge.net/viewvc/*checkout*/allegrogl/trunk/src/texture.c
line 720.

--
Milan Mimica
http://sparklet.sf.net




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