Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2003:
[freeciv-ai] crude measurement code
Home

[freeciv-ai] crude measurement code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] crude measurement code
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 10 May 2003 19:06:10 +0000 (GMT)

Here is some crude measurement code that I created for settlers. I'd like
to commit some version of this eventually, but I am not sure if the
present approach is a good one.

To use, delete srv_main.o and recompile with
        make CFLAGS="-DAI_MEASUREMENT_MODE"
or
        make CFLAGS="-DAI_MEASUREMENT_MODE -DAI_END_GAME=81"

Only 'experimental' players will be affected. If measurement mode is
activated, then each 10th turn, it will print this for each such player:

        a stats: 5 cities, 5 citizens, 20 food, 10 production,
        9 trade, 2 settlers, 1 other units.

  - Per

Attachment: measureai1.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] crude measurement code, Per I. Mathisen <=