[Freeciv-Dev] (PR#9871) autosize parameter for mapgen
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9871 >
Mapgen creates xsize and ysize from the server's "size" variable.
But civworld uses mapgen, and should be able to let the user set the
sizes directly. Adding a paramter to mapgen makes this easy.
Note to Mike: letting the user set xsize/ysize directly is dangerous.
xsize and ysize don't do what you'd expect them to do in hex and iso
topologies. You might be better off letting the user set an integer (or
floating-point) width and height, then dividing the width by sqrt(2) and
multiplying the height by sqrt(2) (TF_HEX or TF_ISO). Then they'll
probably get about what they expect.
|[Prev in Thread]
||[Next in Thread]|
- [Freeciv-Dev] (PR#9871) autosize parameter for mapgen,
Jason Short <=