From: Michal Mertl 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: References: <01bce75f$670ac640$4b3e64c2 AT default> NNTP-Posting-Host: manes.vse.cz Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <01bce75f$670ac640$4b3e64c2@default> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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