[Freeciv-Dev] Re: (PR#9496) PATCH: Clean up on set-ratio
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9496 >
rwetmore@xxxxxxxxxxxx wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9496 >
>
>
> The original code allowed one to define a FlatEarth scenario map
> with dimensions 3x53 if so desired. This might be used with a
> "try to take city X in 5 turns". I do not see how you can now do
> this and thus the new code is broken.
Scenarios set xsize and ysize directly. The size and topology (=>
ratio) are only converted to an xsize/ysize when a new map is created.
However Marcelo, this may argue that the set_ratio() function should be
moved into mapgen code, while all other code passes around xsize, ysize,
and size directly.
jason
|
|