Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Re: (PR#14269) Better Control of World Size
Home

[Freeciv-Dev] Re: (PR#14269) Better Control of World Size

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#14269) Better Control of World Size
From: "Benedict Adamson" <badamson@xxxxxxxxxxx>
Date: Tue, 11 Oct 2005 17:01:37 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14269 >

Jason Short wrote:
...
> Personally, I'd like to be able to set specific really small tile sizes 
> for testing.  200-tile worlds, for instance.

If you choose the size per nation and the number of nations, you in 
effect do that.

> There is an absolute minimum and an absolute maximum for the map size. 
> The minimum is uncertain but certainly at least 5x5.  The maximum is 
> limited by variable sizes: the size (in tiles) may not exceed 2 bytes 
> and each individual dimension may not exceed one byte.

I've set a minimum of 100 tiles per nation in my patch, giving a minimum 
map size of 10x10.

...
> - If the interface lets the player specify size per nation, then we have 
> to worry more about the minimum and maximum constraints.  We'd end up 
> having to clip the final size after doing the calculation.
...

I've clipped the maximum number of tiles at 1000 * MAP_MAX_SIZE (= 
29000) in my patch.





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