[Freeciv-Dev] Re: (PR#2484) Xaw client colour allocation patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Dec 03, 2002 at 03:17:33PM -0800, Vasco Alexandre Da Silva Costa via RT
wrote:
>
>
> Hello,
>
> This patch moves some colour allocation code used for PNG loading in
> graphics.c to colors.c. It also replaces the old colour allocation code.
> As a bonus this code should allow the Xaw client to run on grayscale and
> monochrome displays. This will require removing get_visual().
> It should also now startup on 16 colour displays.
> One thing it does differently is it no longer tries to use a private
> colormap on pseudo-color displays when it runs out of entries in the
> colormap. But I always found that very annoying.
I have to test this. I think Freeciv must continue to support running
in 8 bit mode. This is important on older hardware that doesn't support
high resolutions in >8 bit mode. The switch to PNG threatens to kill
this altogether.
Another thing that would be nice is better color allocation for nations,
e.g. the scheme used on civserver.freeciv.org.
--
Reinier
|
|