www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/02/15:57:13

From: cs19 AT cityscape DOT co DOT uk (???)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP with Allegro (draw_sprite function)
Date: Mon, 02 Dec 1996 12:00:01 GMT
Organization: IP-GOLD User
Lines: 17
Message-ID: <849528001.792.0@ciscs19.demon.co.uk>
References: <57sbo1$fas AT athena DOT cytanet DOT com DOT cy>
NNTP-Posting-Host: ciscs19.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <57sbo1$fas AT athena DOT cytanet DOT com DOT cy>, Marios Patsias <m DOT patsias AT cytanet DOT com DOT cy> says:
>
>I use the Allegro draw_sprite() function for displaying bitmaps, but 
>the bitmap isn't masked as it should be (according to the documentation),
>and the blank pixel of it owerwrite the background.
>Is there anything that I should know before using this function.
>Note: The bitmap is a memory bitmap defined in a grabber .DAT file.
>
>
>Marios Patsias
>m DOT patsias AT cytanet DOT com DOT cy
>CYPRUS
>
>
the Allegro draw_sprite function masks colour 0, so you need to ensure that
all the bits of the sprite that you don't want displayed on screen (i.e.
the background) is set to colour index 0.

- Raw text -


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