Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#9496) PATCH: Clean up on set-ratio
Home

[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]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9496) PATCH: Clean up on set-ratio
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 25 Jul 2004 08:36:14 -0700
Reply-to: rt@xxxxxxxxxxx

<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




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