delorie.com/archives/browse.cgi | search |
From: | Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Allegro - Lit sprites |
Date: | Wed, 20 May 1998 20:38:49 +0100 |
Organization: | None |
Message-ID: | <HOYmZKAJFzY1Ew8H@talula.demon.co.uk> |
References: | <MPG DOT fc806799d66481998969b AT news DOT virgin DOT net> |
<355E2581 DOT 451C12CA AT frozenwave DOT com> | |
<MPG DOT fc84ef840c8c3a998969d AT news DOT virgin DOT net> | |
<355FB2B7 DOT 9FE64798 AT frozenwave DOT com> | |
<MPG DOT fcb4230e72950be98969e AT news DOT virgin DOT net> | |
<Mzh0GEAsNeY1Ewvt AT talula DOT demon DOT co DOT uk> | |
<MPG DOT fcc1d545511970e9896a5 AT news DOT virgin DOT net> | |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |