Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99
Home

[Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99
From: "Daniel Markstedt" <himasaram@xxxxxxxx>
Date: Sat, 24 Dec 2005 23:16:18 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14874 >


On 2005-12-25, at 01.15, Jason Short wrote:

>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14874 >
>
> Daniel Markstedt wrote:
>
>> Is it possible to let the _unit_ tile size decide the panel size: i.e.
>> the largest common tile size of all "u.xxx" sprites? Then we could use
>> the Trident unit spec directly and offset the unit sprites 
>> accordingly.
>> I did this in the attached screen with the offset of x=1 y=59.
>
> You should be using the trident unit spec directly...that's what
> isotrident and isophex do.  However the unit_offset values in the
> tileset aren't enough to determine the panel size.  What's needed is
> either to determine this at runtime (by clipping all units) or to let
> the tileset specify it separately (unit_rectangle_x/y/w/h, perhaps).
> Determining it at runtime is what's done in the citydlg; however this
> isn't very good since it's hard to take sprites other than the base 
> unit
> sprite (i.e., flags, activity sprites, etc.) into account.
>
> -jason
>
>

New version of the tileset. Trident units are used directly and the 
duplicates in items.png are removed to save space. Plus added 
selection.png that is a resized version of the one used by isotrident: 
See attached image.

Can we commit this now and resolve the quirks as we move on?

-Daniel

PNG image

Attachment: hex2t.tgz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]