Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2004:
[freeciv-ai] (PR#9615) AI-specific functions in citytools.c
Home

[freeciv-ai] (PR#9615) AI-specific functions in citytools.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxxx
Subject: [freeciv-ai] (PR#9615) AI-specific functions in citytools.c
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 5 Aug 2004 19:13:49 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9615 >

> [glip - Thu Aug 05 20:04:08 2004]:
> 
> Many functions in server/citytools.c are only used by the AI and are not
> especially tied to the server.  Here is a list (probably incomplete):
> 1. is_worked_here (not used)
> 2. food_weighting
> 3. city_tile_value
> 4. worst_worker_tile_value
> 5. best_worker_tile_value
> 6. built_elsewhere
> 7. is_building_other_wonder
> 
> In the attached patch I move the more obvious 6 and 7 and remove 1.

Great, except that you didn't actually remove 1.

jason



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