Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#9537) Re: ftwl: supporting 8bpp mode
Home

[Freeciv-Dev] (PR#9537) Re: ftwl: supporting 8bpp mode

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9537) Re: ftwl: supporting 8bpp mode
From: "Raimar Falke" <hawk@xxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jul 2004 19:57:36 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9537 >

On Wed, Jul 28, 2004 at 11:49:02PM +0000, Per Inge Mathisen wrote:
> The problem here is that themes and other graphics resources may not be in
> 8bpp, or at least not in the same palette.
> 
> I basically see three ways to do this:
>   1 - Use a standard palette with a good spread of colours, then match as
> best as we can dynamically.
>   2 - Compile a palette from the colours used, provided that this number
> does not exceed 256. If it does not, this is the optimal solution.
>   3 - Demand that 8bpp mode uses an 8bpp theme that supplies its own
> palette, and it is the theme writer's responsibility to ensure that this
> palette works for the other graphics resources used.

1) is too rigid. 2) may be hard to achieve because you don't know all the
graphics. 3) is the easiest for us to implement and gives the control to the
theme author.

So I planned to use 3).

        Raimar




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9537) Re: ftwl: supporting 8bpp mode, Raimar Falke <=