Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] (PR#13434) map size not dependant on number of players
Home

[Freeciv-Dev] (PR#13434) map size not dependant on number of players

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13434) map size not dependant on number of players
From: "Peter Schaefer" <peter.schaefer@xxxxxxxxx>
Date: Sat, 9 Jul 2005 11:22:09 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Players frequently end up with maps that are too big, because someone
leaves after launch.

Suggestion:
There should be an option landppl, which if set, determines the number
of land tiles each player has.

map geometry could be calculated as 
map_tiles= landppl/(0.01*server_option_landmass);
rt= sqrt(landmass_in_tiles);
s= sqrt(12);
x= (int)(rt*4.0/s);
y= (int)(rt*3.0/s)+(map_has_poles?4:0);





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13434) map size not dependant on number of players, Peter Schaefer <=