Mail Archives: djgpp/1997/12/26/13:00:22
Tony O'Bryan wrote in message <34A32CDB DOT 767B AT nic DOT smsu DOT edu>...
>In 8-bit color modes, Allegro uses the customary color 0 for pixel
>transparency with sprites. Why do the high-color and true-color modes
>use bright pink instead of black (0,0,0)?
It's a matter if what colours are likely to be used. Pictures these days have
more and more black in them. DOOM used the colour cyan (r=0, g=255, b=255) for
transparency.
If you don't like this, edit allegro.h in the allegro directory, change the
definitions, and rebuild the library using:
C:\DJGPP\ALLEGRO>make install
I did change my pictures because I don't have a quality editor and changing all
my artwork background from white to pink was going to be long and annoying...
makecol16(255, 255, 255);
- Raw text -