[AD] Question about 256 colors modes

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


Hi everybody,

I guess this is an old topic, but I would like to know
why, in 256 colors mode, do you "have" to have the
"black" (rgb=0,0,0) color at the palette[0] in the
palette table. Is there any reason where it should be
there? I remember some very old video cards required
that...

This makes that, if you have other rgb pattern at
palette[0] rather than (rgb=0,0,0), masked_blit does
not do it's work.

I would suggest to add another function, something
like "set_masked_blit_color" to tell allegro which
color index is to be considered for transparency...
(which would allow to use other color than black as
"transparent").

Thanks for all your support, and sorry if this is at a
FAQ (I didn't found it).

Kind regards,
Hugo Caro
Gaming Software Developer


	


	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 





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