From: "Kertis A. Henderson" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro - Lit sprites Date: Mon, 18 May 1998 00:01:59 -0400 Organization: Penn State University, Center for Academic Computing Lines: 28 Message-ID: <355FB2B7.9FE64798@frozenwave.com> References: <355E2581 DOT 451C12CA AT frozenwave DOT com> NNTP-Posting-Host: access-mkts1p12.mk.psu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Andrew R. Gillett wrote: > > In article <355E2581 DOT 451C12CA AT frozenwave DOT com>, Kertis A. Henderson > (kertis AT frozenwave DOT com) wrote: > > Andrew R. Gillett wrote: > > > > > > Is it possible to draw a lit sprite which doesn't tint the sprite's black > > > background? I am trying to do a scrolltext where each character can be a > > > different colour, but it always tints the background of each character. > > > > Couldn't you use text_mode(-1); and not even draw the background? > > Makes no difference - the background always seems to be tinted. What I > need is a 'draw_masked_lit_sprite', or something like that. Although all > the other sprite functions already skip the transparent areas, so I don't > understand why draw_lit_sprite doesn't as well. > > Btw, my program is in 16-bit colour mode, in case that's any help. Then, are your fonts in the correct format for 16-bit color mode? If you set the background to black instead of the 16-bit reserved background color, the background would be lit! -- Kertis Henderson kertis AT frozenwave DOT com