Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: [PATCH] get_map_area() (PR#1050)

[Freeciv-Dev] Re: [PATCH] get_map_area() (PR#1050)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] get_map_area() (PR#1050)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Nov 2001 20:30:06 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Thu, Nov 01, 2001 at 08:35:15AM -0800, jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
> The attached patch provides a new topology function, get_map_area(),
> that returns the total area of the active map (equal to the size of the
> normal set).
> Later this can be optimized away; when the topology is initialized
> map.area can be set up along with map.xsize and map.ysize.  For now,
> this is a necessary step toward maps where normal!=regular.
> This patch is tiny, and shouldn't be controversial.  The uses of the
> function in mapgen() aren't strictly necessary, but for the most part
> make the code more readable.  Some could be left out if necessary.

"area" indicates (at least for me) that this is measured in km^2 or
something similar. What about map_num_real_tiles or similar?


 email: rf13@xxxxxxxxxxxxxxxxx
  This customer comes into the computer store. "I'm looking for a mystery
  Adventure Game with lots of graphics. You know, something realy
  challenging". "Well," replied the clerk, "have you tried Windows 98 ?"

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