Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11271) get_food_trade_shields isn't good
Home

[Freeciv-Dev] (PR#11271) get_food_trade_shields isn't good

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11271) get_food_trade_shields isn't good
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 12:32:07 -0800
Reply-to: rt@xxxxxxxxxxx

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

What is the purpose of the get_food_trade_shields() function?

This function should be moved out of city.c and into aicity.c.  It's 
only purpose AFAICT is to do a "quick" estimation of output in place of 
generic_city_refresh.  In fact I think it's buggy because the caller 
(city_want) doesn't account for specialists, and neither does 
get_food_trade_shields().

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11271) get_food_trade_shields isn't good, Jason Short <=