From: Todorovic Newsgroups: comp.os.msdos.djgpp Subject: Re: Changing transparent color in 256 mode? Date: Mon, 07 Feb 2000 01:50:25 +0100 Organization: Public news server of EUnet Yugoslavia Lines: 17 Message-ID: References: NNTP-Posting-Host: p-4.111.eunet.yu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: SOLAIR2.EUnet.yu 949884627 20784 213.240.4.111 (7 Feb 2000 00:50:27 GMT) X-Complaints-To: abuse AT EUnet DOT yu NNTP-Posting-Date: 7 Feb 2000 00:50:27 GMT X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "William J. Urban II" wrote: >Hello all, > Well I am working on the standard tile based learn how to use Allegro >stuff and I was wondering if there is any way to change the transparent >color from black to something else. Black is pretty useful for drawing the >"ink" lines in characters to give them more depth but then when I >draw_sprite, it puts the background color instead. I looked for something >in the palette information but I couldnt find anything on it. I also tried >using a dark blue and it worked but gave the characters a blue tint to them. >Any ideas? Thanks in advance. Change constant MASK_COLOR_xx in allegro.h, recompile Allegro, and you'll have it. Alexa