Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#10456) map.huts value is absolute?
Home

[Freeciv-Dev] (PR#10456) map.huts value is absolute?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10456) map.huts value is absolute?
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Thu, 7 Oct 2004 13:44:16 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10456 >

> [jdorje - Jeu. Oct. 07 02:18:08 2004]: 
>  
> map.huts appears to be the exact number of huts that appears on the 
map. 
>  
> In mapgen.c there is a comparison: 
>  
>    while (number * map_num_tiles() >= 2000 && ...) { 
>  
> where "number" is initialized to map.huts and is reduced by 1 for 
each  
> placed hut.  However since map_num_tiles returns a value like 4000 
this  
> logic is pretty meaningless. 
>  
> It would be better to change map.huts to be a percent or permille. 
>  
> jason 
>  
>  
>  
I think the huts has to still a absolute value (the number of players! 
too ;-) ) 
 
Marcelo 


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