[Freeciv-Dev] Re: (PR#2690) [PATCH] Show unit location in its descriptio
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Jan 03, 2003 at 03:02:15AM -0800, Jason Short via RT wrote:
> Looping over every city to find the one closest to the unit is OK given
> the current users of unit_description. But since the function is in
> common/ the server might be tempted to use it, and that would be bad.
The server already has his function:
server/unittools.c:get_location_str(). The question is now: it is
possible to merge/unify/whatever this function and
ai/aitools.c:dist_nearest_city and the new functions in
client/climisc.c?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"These download files are in Microsoft Word 6.0 format. After
unzipping, these files can be viewed in any text editor, including
all versions of Microsoft Word, WordPad, and Microsoft Word Viewer."
-- http://www.microsoft.com/hwdev/pc99.htm
|
|