From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro - Lit sprites Date: Wed, 20 May 1998 20:38:49 +0100 Organization: None Message-ID: References: <355E2581 DOT 451C12CA AT frozenwave DOT com> <355FB2B7 DOT 9FE64798 AT frozenwave DOT com> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 16 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Andrew R. Gillett writes: >I used the grabber to create the fonts. I tried changing the PCX file so >that the background of each char was bright pink, but the grabber >couldn't grab the font then. Aha. When you load the bitmaps in as part of an Allegro font object, they will be in an 8 bit format. Such things cannot be drawn directly onto a 16 bit screen by anything other than a few specialised routines: you must convert them into a 16 bit format first. This could be done on the fly by your code, but it would probably be easier to alter the source graphics and then import them as normal bitmap objects. -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ "Miracles are nothing if you've got the wrong intentions" - Mike Keneally