[Freeciv-Dev] (PR#9803) PATCH rm map.grasssize parameter
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9803 >
> [jdorje - Wed Aug 25 08:08:04 2004]:
>
> Mateusz Stefek wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=9803 >
> >
> >>[mburda - Wed Aug 25 06:51:13 2004]:
> >>
> >>Not used and useless parameter deleted
> >>
> >>Marcelo
> >>
> >
> > int polar = 5; /* FIXME: convert to a server option */
> >
> > - total = map.mountains + map.deserts + map.forestsize + map.swampsize
> > - + map.grasssize;
> > + total = map.mountains + map.deserts + map.forestsize + map.swampsize;
> >
> > Are you sure that it doesn't change the behavior ?
> > Maybe map.grassize really means "the rest".
>
> That's exactly what it means. The values are intended to be percentages
> so they can only be changed one at a time. Thus they're really only
> ratios that have value by comparison to each other. Grassland could be
> scaled just like the others but it's safer to just subtract to avoid
> off-by-one errors. This code was written by Karen - try cvs annotate to
I think that these values should always be percentages or always
relative amounts.
In this patch there's no difference beetwen:
mountains = 20 deserts = 20 forestsize = 20 swampsize = 20 grass = 20
and
mountains = 20 deserts = 20 forestsize = 20 swampsize = 20 grass = 80
this is unnatural
--
mateusz
- [Freeciv-Dev] Re: (PR#9803) PATCH rm map.grasssize parameter, Jason Short, 2004/08/25
- [Freeciv-Dev] (PR#9803) PATCH rm map.grasssize parameter,
Mateusz Stefek <=
- [Freeciv-Dev] (PR#9803) PATCH rm map.grasssize parameter, Mateusz Stefek, 2004/08/25
- [Freeciv-Dev] Re: (PR#9803) PATCH rm map.grasssize parameter, Marcelo Burda, 2004/08/25
- [Freeciv-Dev] Re: (PR#9803) PATCH rm map.grasssize parameter, Marcelo Burda, 2004/08/25
- [Freeciv-Dev] (PR#9803) PATCH rm map.grasssize parameter, Mateusz Stefek, 2004/08/25
- [Freeciv-Dev] (PR#9803) PATCH rm map.grasssize parameter, Mateusz Stefek, 2004/08/25
- [Freeciv-Dev] Re: (PR#9803) PATCH rm map.grasssize parameter, Marcelo Burda, 2004/08/25
- [Freeciv-Dev] Re: (PR#9803) PATCH rm map.grasssize parameter, Gregory Berkolaiko, 2004/08/26
- [Freeciv-Dev] Re: (PR#9803) PATCH rm map.grasssize parameter, Jason Short, 2004/08/26
|
|