Complete.Org: Mailing Lists: Archives: freeciv-dev: May 1999:
[Freeciv-Dev] Code Cleanups.
Home

[Freeciv-Dev] Code Cleanups.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Code Cleanups.
From: Tony Stuckey <stuckey@xxxxxxxxxxxxxxxxx>
Date: Mon, 3 May 1999 11:51:58 -0500

        best_tile, best_food_tile, ai_calc_city_buy, city_get_defenders,
and city_get_buildings are all functions that could be #ifdef'd out.  They
are either called from code that is already ifdef'd out or are marked as
obsolete.  Someone check me on this.

        trade_between_cities and establish_trade_route use very different
formulas for calculating trade route values.  They should be rationalized
and most likely, establish_trade_route should simply call
trade_between_cities to get the value.
--
Anthony J. Stuckey                              stuckey@xxxxxxxxxxxxxxxxx
"When I was young, the sky was filled with stars.
 I watched them burn out one by one."  -Warren Zevon

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Code Cleanups., Tony Stuckey <=