From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: a midi question and a transparent sprite question Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <3949C9F4 DOT 20EC703B AT nycap DOT rr DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 X-Trace: /Kp2lq7ypC9+5Ktq7suIfMPnmJFHtHXmmmL/qIDQo3TMJmbWdnY3pcLCN9IgcVjsiIczfaRohYzU!nicvsdF/EF35xKMKv/tT+yvvyQ8Dc3UpwYUQ2Uww3hvh7oecqy7DW8QzCZtSy/pfWyDut4FFiYrt!XZM= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Fri, 16 Jun 2000 20:34:28 GMT Distribution: world Date: Fri, 16 Jun 2000 20:34:29 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 16 Jun 2000 06:33:46 GMT, Kaeru the Frog wrote: >second allegro question: how do you draw transparent sprites in 256 and >true color modes. Depends on what you mean by "transparent sprites." For plain-vanilla binary mask sprites, simply use color 0 (8-bit) or hot pink #ff00ff (16- or 24-bit) for the transparent areas. >the help says you need to set up a color mapping table >or a blender map for true color but i dont know how this works. >shot snippits of code would be helpful. .../allegro/examples/ -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/