[Freeciv-Dev] (PR#9856) RFC: caravans advisor
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#9856) RFC: caravans advisor |
From: |
"Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx> |
Date: |
Wed, 1 Sep 2004 14:05:01 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9856 >
Here's a tarball that includes two files and a really incredibly nasty patch
for testing.
cd freeciv
gtar xzvf caravan_optimizer.tgz
patch -p0 < caravan_make.diff
for testing only:
patch -p0 < caravan_hack.diff
When running, send signal USR2 to the civclient. It will read
~/fc_caravan_param (an example is in the tarball) to determine
what parameter to use, and optimize based on that parameter
and the current unit in focus (which is ostensibly a caravan, but
I don't check that).
In the current code, the convert_trade option is unimplemented,
so don't use it (I assert against it).
There's a warning that comes out: seems that most of the struct
unit * arguments throughout the code are not constified even when
they should be. Should I remove my holy constness, or should we
live with a warning until everything else gets constified, or do we hate
const?
As per #9901, I can't really test on a recent CVS. The patches apply,
so how could it go wrong?
caravan_optimizer.tgz
Description: GNU Zip compressed data
- [Freeciv-Dev] (PR#9856) RFC: caravans advisor,
Benoit Hudson <=
|
|