[freeciv-ai] Re: uploaded new versions of teams and massive AI patches
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 16 Oct 2002, Per I. Mathisen wrote:
> On Wed, 16 Oct 2002, Gregory Berkolaiko wrote:
> > Oh...I am not sure I can do it easily. I'll try to find the change I
> > made though, it might be easier...
>
> Please do.
Attached is a patch of my server/aigoto.c against your server/aigoto.c
(I preserved the changes introduced by you which were making functions
static). Since I went into big hacking mode, they include:
* One bugfix (reported by Christian Knoke).
* Various changes requested (maybe implicitly) by Mike:
- Removed "inline"
- Made vars lowercase
- Made refuel point list dynamically allocated, in a way (the list memory
is never freed, recycled and extended on demand)
- Made wrappers for access to listed refuel points
- Store refuel points in the priority queue by their index in the list,
not by the pointer -- this is necessary so that priority queue can be
separated (not yet done, but easy change) and reused in path_finding.
Tested, seems to work. Must run now.
G.
air_update2.diff
Description: Text document
- [freeciv-ai] uploaded new versions of teams and massive AI patches, Per I. Mathisen, 2002/10/15
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Gregory Berkolaiko, 2002/10/16
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Per I. Mathisen, 2002/10/16
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Gregory Berkolaiko, 2002/10/16
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Per I. Mathisen, 2002/10/16
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Raimar Falke, 2002/10/16
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Per I. Mathisen, 2002/10/16
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Gregory Berkolaiko, 2002/10/17
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches,
Gregory Berkolaiko <=
- Message not available
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Ross W. Wetmore, 2002/10/20
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Per I. Mathisen, 2002/10/21
- Message not available
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Ross W. Wetmore, 2002/10/25
- [freeciv-ai] Re: uploaded new versions of teams and massive AI patches, Raimar Falke, 2002/10/16
|
|