[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]
<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
- [Freeciv-Dev] Re: (PR#14874) AutoReply: hex2t tileset for 2.0.99, Daniel Markstedt, 2005/12/23
- [Freeciv-Dev] (PR#14874) hex2t tileset for 2.0.99, Jason Short, 2005/12/23
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Jason Short, 2005/12/23
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Daniel Markstedt, 2005/12/24
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Daniel Markstedt, 2005/12/24
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99,
Jason Short <=
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Jason Short, 2005/12/24
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Daniel Markstedt, 2005/12/25
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Daniel Markstedt, 2005/12/25
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Jason Short, 2005/12/25
- [Freeciv-Dev] (PR#14874) hex2t tileset for 2.0.99, Daniel Markstedt, 2005/12/26
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Daniel Markstedt, 2005/12/26
- [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99, Daniel Markstedt, 2005/12/28
|
|