Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] (PR#3937) replace "2" with OVERVIEW_TILE_WIDTH
Home

[Freeciv-Dev] (PR#3937) replace "2" with OVERVIEW_TILE_WIDTH

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#3937) replace "2" with OVERVIEW_TILE_WIDTH
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Apr 2003 13:37:20 -0800
Reply-to: rt@xxxxxxxxxxxxxx

The attached patch introduces two new variables, OVERVIEW_TILE_WIDTH and
OVERVIEW_TILE_HEIGHT.  These are used in place of "2" when doing all
overview calculations.  This is a minor step toward unifying some of the
overview code, as well as a potential feature in its own right.

They are variables (rather than constants) because gui-sdl already does
some basic recalculation of "optimal" overview tile size.  Eventually
this can be extended to something more general - perhaps even making
these values user options.

The patch is tested under some, but not all, clients.

jason



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