Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#4543) scaling overview map
Home

[Freeciv-Dev] Re: (PR#4543) scaling overview map

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: andrearo@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4543) scaling overview map
From: "Jason Short" <jshort@xxxxxxxxxxxxxx>
Date: Sat, 12 Jul 2003 16:34:26 -0700
Reply-to: rt@xxxxxxxxxxxxxx

--On Saturday, July 12, 2003 04:50:42 -0700 "andrearo@xxxxxxxxxxxx" 
<andrearo@xxxxxxxxxxxx> wrote:

> 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?

Not a clue.  Vasco may have some suggestions, though.

>> 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)

Yes, I forgot about that.  So this scaling should only be done if 
!is_isometric.  And it seems a bit pointless since most non-iso tilesets 
are square...

jason




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