www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/06/20:40:04

From: Todorovic <todorus AT eunet DOT yu>
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: <b9qr9skm0rmi277ukgi6rlu284it1448f2@4ax.com>
References: <s9moo2f4dh97 AT corp DOT supernews DOT com>
NNTP-Posting-Host: p-4.111.eunet.yu
Mime-Version: 1.0
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" <wjurban AT tca DOT net> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019