delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/03/17:31:25

From: Michal Mertl <xmerm05 AT manes DOT vse DOT cz>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Changing the transparent color? (Allegro sprites)
Date: Mon, 3 Nov 1997 10:43:18 +0100
Organization: Prague University of Economics
Lines: 19
Message-ID: <Pine.ULT.3.95.971103103902.793A-100000@manes.vse.cz>
References: <01bce75f$670ac640$4b3e64c2 AT default>
NNTP-Posting-Host: manes.vse.cz
Mime-Version: 1.0
In-Reply-To: <01bce75f$670ac640$4b3e64c2@default>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 2 Nov 1997, Laine wrote:
> Hello All!
> 
> Is there a way to change the transparent color 
> (I want it to be 255 instead of 0) in Allegro 
> draw_sprite-function or should I write the routine 
> myself? 
> If there's not, how can I do it? Can I use Allegro 
> bitmaps somehow in my own routine (So that I
> don't have to do any get_bitmap-functions).
There isn't any way how to change the color, 0 is an immediate value hardcoded
in assembly. Are you sure you need to change it? If you are than it would be
pretty easy if you know assembly. Is it Allegro 2.2 or some WIP ? If you
really think you need it I can send you the changed function.

Michal "MiMe" Mertl
  xmerm05 AT vse DOT cz


- Raw text -


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