Complete.Org: Mailing Lists: Archives: freeciv-ai: April 2003:
[freeciv-ai] (PR#4035) Separate stack_cost and move into aitools
Home

[freeciv-ai] (PR#4035) Separate stack_cost and move into aitools

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [freeciv-ai] (PR#4035) Separate stack_cost and move into aitools
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Sat, 19 Apr 2003 12:26:29 -0700
Reply-to: rt@xxxxxxxxxxxxxx

This patch separates a function which calculate the cost of our target
including the units which will die in a successful attack and places it
into aitools.c.  Until now it has been a part of the aiair.c code.

Idea space:  is_stack_vulnerable should be made part of the common code
(after all it's the game-rules) and kill_unit should make use of it.

I feel it's a separate patch though...

G.

Attachment: stack_cost.diff
Description: stack_cost.diff


[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] (PR#4035) Separate stack_cost and move into aitools, Gregory Berkolaiko <=