delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/21/11:00:26

From: "Paul Bibbings" <paul DOT bibbings AT tesco DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro - masked_blit();
Date: Thu, 20 Jan 2000 23:58:21 -0000
Organization: Tesco ISP
Lines: 25
Message-ID: <869uds$3aj$1@barcode.tesco.net>
References: <867egt$dpf$1 AT barcode DOT tesco DOT net> <u7le8sc4s8s1hvf2r8pkmjoscm0ra0hd1p AT 4ax DOT com>
NNTP-Posting-Host: 212.140.69.152
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM> wrote in message
news:u7le8sc4s8s1hvf2r8pkmjoscm0ra0hd1p AT 4ax DOT com...
> "Paul Bibbings" <paul DOT bibbings AT tesco DOT net> wrote

> >The question is, what do I need to do so that the masked_blit()
> >interprets the background as transparent, hence allowing the board to be
> >seen behind the pieces.
>
> Get a paint program (NeoPaint, GIMP, etc.) that lets you see the
> indexed palette (no MS Paint). Then fill the space between pieces with
> color 0.

Thanks a packet, Damian.
    It's working fine now and I can move on to the next hurdle. I even found
one of the programs I already had - Paint Shop Pro - indexes the palette in
256 colour mode.

again, thanks

Paul




- Raw text -


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