Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: [Patch] Tech cleanup
Home

[Freeciv-Dev] Re: [Patch] Tech cleanup

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] Tech cleanup
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Dec 2001 17:09:24 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Tue, Dec 18, 2001 at 10:34:49PM +0100, Raimar Falke wrote:
> If this patch is applied to CVS I will update the cost style patch and
> make another pass over it.

Here it is. In addition to the introduction of various methods to
calculate the cost of a tech it also does more changes:
 - move total_bulbs_required from game.c to tech.c
 - expansion of the player_research struct to include cached values
 - remove a similar cache (num_unknown_techs) from the the ai player
 struct
 - remove TECH_MARKED
 - introduce found_new_future_tech
 - a lot of other changes in tech.c

Please test and review.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  What's nice about GUI is that you see what you manipulate.
  What's bad about GUI is that you can only manipulate what you see.

Attachment: tech_cost_style17.diff.gz
Description: GNU Zip compressed data


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