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

[Freeciv-Dev] (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] (PR#4543) scaling overview map
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Jul 2003 18:10:55 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[andrearo@xxxxxxxxxxxx - Sat Jul 12 00:44:45 2003]:

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

I think the logic is a little flawed, actually.  The basic packhand.c
changes are nice, but

(1) At 1x1, the overview is _very_ small.  If you have a 200x100 map
you'll end up with this resolution by default, and it's hard to see
anything.

(2) If map.xsize==40 then you end up with 4x4 tiles.  But if ysize==100
this is a problem.  The resolution should be capped, probably at
something like 240/map.ysize+1.

Another alternative now is to make these client options, so that users
could edit them in the "local options" menu.  In fact this would work
even along with your other suggestions...

I'm not sure what's best to do at this point.  But I think most of the
possibilities are improvements, especially for very large or small maps.

jason



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