[Freeciv-Dev] Re: (PR#5431) Unecessary Global Variable in mapgen.c
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 29 Aug 2003 iquin@xxxxxxxxxx wrote:
> I am fairly certain it was:
>
> if(game.nplayers % 2) makeisland(210*totalmass/(game.nplayers*100), 3); else
> i++;
> while(--i) makeisland(140*totalmass/(game.nplayers*100), 2);
> for(i=game.nplayers;i;i--) makeisland(20*totalmass/(game.nplayers*100), 0);
> for(i=game.nplayers;i;i--) makeisland(10*totalmass/(game.nplayers*100), 0);
>
> No bigweight, no totalweight, no nothing.
But bigweight is not a constant.
And, when game.nplayers == 1, we get one island 2.1 times bigger then the
totalmass we are trying to achieve.
And the obvious formatting should be done too ;)
G.
|
|