[Freeciv-Dev] Re: (PR#4543) scaling overview map
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 11 Jul 2003, Jason Short wrote:
> > This patch allows scaling of the overview map, like in Civ2.
> > It also sets a decent scale to the overview map when
> > starting a new game, to handle very large/small maps.
> > Comments?
>
> Clever. Only problem is the resizing of the pane does not go smoothly: the
> pane "snaps" to a certain size to fit the size of the overview, and often
> this is not a size the user would want.
Ok. Do you have any suggestions about how to do it?
> Another question: should OVERVIEW_TILE_HEIGHT==OVERVIEW_TILE_WIDTH? In
> general I think the ratio of the two should be comparable to the ratio of
> NORMAL_TILE_HEIGHT an NORMAL_TILE_WIDTH.
>
> OVERVIEW_TILE_HEIGHT = (OVERVIEW_TILE_WIDTH * NORMAL_TILE_HEIGHT)
> / NORMAL_TILE_WIDTH;
>
Will this be correct for isometric tiles also? (they are rotated)
Andreas Røsdal
Message not available
|
|