Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] [PATCH] advdomestic.c cleanup (PR#1149)
Home

[Freeciv-Dev] [PATCH] advdomestic.c cleanup (PR#1149)

[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] advdomestic.c cleanup (PR#1149)
From: Petr Baudis <pasky@xxxxxxxxxxx>
Date: Wed, 19 Dec 2001 14:25:26 -0800 (PST)

Hello,

  attached patch cleans the code utility functions for Domestic Advisor in AI.
Behaviour is not changed (autogames should remain same), it was only heavily
commented and variable names were expanded to something meaningful. Oh, yes,
and it seems to me that it compiles.

  Contrary to old version (reviewed by Ross and Raahul), this one makes
consistent changes in code (I hope), tries to use understandable english in
comments and explains some functions correctly :). Changes are just mainly
based on their suggestions.

  I think it's ready to actually go in. If someone has some objections, he
should speak now or stay silent forever ;).

  Note that this patch is obviously only first in very long line and if you
will really want, I can break it even more, but I think it's reasonably short
for now.

-- 

                                Petr "Pasky" Baudis

UN*X programmer, UN*X administrator, hobbies = IPv6, IRC, FreeCiv hacking
.
  "A common mistake that people make, when trying to design
   something completely foolproof is to underestimate the
   ingenuity of complete fools."
     -- Douglas Adams in Mostly Harmless
.
Public PGP key, geekcode and stuff: http://pasky.ji.cz/~pasky/

Attachment: advdomestic.c.diff
Description: Text document


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