Complete.Org: Mailing Lists: Archives: freeciv-ai: January 2003:
[freeciv-ai] Re: Kill_something_with does unnecessary calculation.

[freeciv-ai] Re: Kill_something_with does unnecessary calculation.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: Kill_something_with does unnecessary calculation.
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 30 Jan 2003 19:50:04 +0000 (GMT)

On Thu, 2 Jan 2003, Gregory Berkolaiko wrote:
> Attached is the final cleanup patch for kill_something_with.It removes masses
> of unwanted code, moves some of the code into process_attacker_want.
> I am now really bored with this stuff, so this will be the last patch in the
> line.I thought about extracting common components of k_s_w and f_s_t_k, but
> they all operate on masses of variables.I better leave things as they are.

I committed it. The remaining changes between this patch and my chainsaw
massacre for tech restrictions patch for this part of the code is attached
as a separate patch, which I will commit also so that I can make a new
version of the former patch with no spurious AI changes.

But please, Greg, read the attached patch for errors anyway. You know this
code better than I do.

  - Per

Attachment: ksw2.diff
Description: Text document

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