Mail Archives: djgpp/1996/08/29/00:30:08
fame1 AT ix DOT netcom DOT com (Matt) wrote:
>I am writing a 3D first person game with djgpp 2 and allegro 2.1, It
>works great, but I am very limited by 256 colors. Now Allegro
>supports a great deal of modes that I know have more colors, but do I
>have to do the pallete stuff manually? Any help on using more than
>256 colors (with djgpp) would truly be appreaciated.
Pallete? Spelt Palette, I thought, BTW! Anyway, there's no palette in
65k modes. A 65k colour is split up like thus:
Bits 0..4: Blue
Bits 5..10: Green
Bits 11.15: Red
Or perhaps in the other order. Each field is a linear proportion of
visible primary (in fact with a gamma of around 0.45, but who's
counting :-)
Regards,
ABW
---
COMPUTER: We are in position over the Rebel homeworld.
VADAR: Engage the Death Star primary weapon, let those rebel worms die!
COMPUTER: Sorry, your evaluation version of Battle Computer 3.0 has expired.
Please send 2.6 billion dollars to the address in REGISTER.TXT
Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>
- Raw text -