[Freeciv-Dev] Re: (PR#12362) Re: (PR#12363) gui_rect_iterate doesn't wor
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] Re: (PR#12362) Re: (PR#12363) gui_rect_iterate doesn't work for unaligned tilesets |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Sun, 27 Feb 2005 11:35:11 -0800 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12362 >
Per I. Mathisen wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12362 >
>
> On Sat, 26 Feb 2005, Jason Short wrote:
>
>>The new gui_rect_iterate requires that classic tilesets be a multiple of
>>2 in dimension, and iso/hex/iso-hex tilesets be a multiple of 4 (in both
>>directions).
>
> What do you mean by 'classic tilesets' here? Are there tilesets where this
> requirement does not apply?
Classic tilesets are the non-iso, overhead view, square ones. So all
tilesets must be either a multiple of 2 or of 4 (depending on the
tileset) in each dimension.
To some degree this is just because of integer rounding errors (fixed by
the patch). But to get really pixel-perfect graphics for the corner and
edge sprites you do have to follow it.
-jason
|
|