Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] [PATCH] [1.1] move some common AI equations to kill_desire
Home

[Freeciv-Dev] [PATCH] [1.1] move some common AI equations to kill_desire

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [PATCH] [1.1] move some common AI equations to kill_desire() (PR#1279)
From: Petr Baudis <pasky@xxxxxxxxxxx>
Date: Sun, 24 Feb 2002 13:41:43 -0800 (PST)

Hello,

  attached patch introduces kill_desire() function, where it moves another
common equation used in AI military functions.  Behaviour is not changed
(autogames are same). Oh, yes, and it seems to me that it compiles.

  I think it's ready to actually go in, altough I'm open to objections and
ideas how to extend/correct it even more. The patch is pretty obvious and tiny
and I want to keep it so - no more cleanups in this round. It unfortunately
removes much less common code than I expected first, but anyway, it won't hurt,
and I may move more redundant code to common functions in the future. I however
hope that it'll get commited fast :).

  Ah, note that this patch is obviously only fifh in very long line. And as I'm
modifying more files at once now, I'm counting revisions of the patch from 1.1.

  Happy reviewing ;),

-- 

                                Petr "Pasky" Baudis

* elinks maintainer                * IPv6 guy (XS26 co-coordinator)
* IRCnet operator                  * FreeCiv AI hacker
.
No one can feel as helpless as the owner of a sick goldfish.
.
Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/

Attachment: killdesire.patch
Description: Text document


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