[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]
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/
killdesire.patch
Description: Text document
- [Freeciv-Dev] [PATCH] [1.1] move some common AI equations to kill_desire() (PR#1279),
Petr Baudis <=
- [Freeciv-Dev] Re: [PATCH] [1.1] move some common AI equations to kill_desire() (PR#1279), Raimar Falke, 2002/02/24
- [Freeciv-Dev] Re: [PATCH] [1.1] move some common AI equations to kill_desire() (PR#1279), Raahul Kumar, 2002/02/25
- [Freeciv-Dev] Re: [PATCH] [1.2] move some common AI equations to kill_desire() (PR#1279), Petr Baudis, 2002/02/25
- [Freeciv-Dev] Re: [PATCH] [1.2] move some common AI equations to kill_desire() (PR#1279), Raahul Kumar, 2002/02/25
- [Freeciv-Dev] Re: [PATCH] [1.2] move some common AI equations to kill_desire() (PR#1279), Petr Baudis, 2002/02/25
- [Freeciv-Dev] Re: [PATCH] [1.2] move some common AI equations to kill_desire() (PR#1279), Raahul Kumar, 2002/02/25
- [Freeciv-Dev] Re: [PATCH] [1.2] move some common AI equations to kill_desire() (PR#1279), Petr Baudis, 2002/02/25
- [Freeciv-Dev] Re: [PATCH] [1.2] move some common AI equations to kill_desire() (PR#1279), Raahul Kumar, 2002/02/25
- [Freeciv-Dev] Re: [PATCH] [1.2] move some common AI equations to kill_desire() (PR#1279), Petr Baudis, 2002/02/25
|
|