Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject



Subject: Re: True Color
To: crossfire@ifi.uio.no
Date: Mon, 16 Aug 93 10:33:20 EST
From: Fred the Wonder Worm <ftww@orthanc.cs.su.oz.au>
In-Reply-To: <199308152040.AA24911@cc.lut.fi>; from "Petri Heinil{" at Aug 15, 93 11:40 pm
X-Face: 
	)\c`u_%V|7EQUD<y["P?.*a6X>Ut%5v'IJ?=@^Wf^<#,~CjzL`/2q0=-O6XW/Z8A2j.kgg:|
	7|YZPSxy}rIuw8qD|/cQZ9^6kb:1XLleXhOl-U>(c~d`bC)%7FItZOUEw?=<V,Q563/\u<WN
	A[.E4~G]5>x%TBQ~NFJ,U|3wi[jzXd5-bMC
Reply-To: ftww@cs.su.oz.au
X-Mailer: ELM [version 2.2 PL0]


> From: Petri Heinila <Petri.Heinila@lut.fi>
> > ...
> >From: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
> > ...
> >Sounds like good idea to add support for TrueColor if nothing more is
> >needed :-) If it works for you, it will probably work for others. Are
> >there anyone here with access to a DirectColor display? Does anyone
> >know what that means?
> 
> I have no access :( ,but isn`t it that there is direct RGB mapping to
> screen. In 24-bit display there is 8-bits to each component mapped
> straigth to dummy lookup-table to screen.

Yes.  In DirectColor, there is a lookup table for each component
(red/green/blue) whereas PseudoColor only has a lookup table for the actual
pixel value.

Looking at the code, changing it to '>= PseudoColor' shouldn't cause any
problems.  At worst it will bail out to monochrome again.  In fact, it might
be an idea to change it to '>= StaticColor', as the same applies to that too.
(Anybody got a StaticColor display?)

Cheers,
Geoff.

-------------------------------------------------------------------------------
Geoff Bailey (Fred the Wonder Worm)   |   Programmer by trade --
ftww@cs.su.oz.au                      |       Gameplayer by vocation.
-------------------------------------------------------------------------------