[freeciv-ai] Re: [Freeciv-Dev] [Patch] [RFC] Path finding version 14
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, Aug 15, 2002 at 09:59:18AM +0200, Raimar Falke wrote:
>
> Changes to the interface
> - remove PF_IGNORE_COST
> - add enum tile_behavior
> - add get_TB
> - add ignore_enemy and omniscience flags
>
> The first three should be obvious. I will explain the last one latter.
>
> Changes to the implementation:
> - add bucket list heap (activate with USE_HEAP2)
> - add some inlining (activate with USE_INLINE) This is a moderate
> inline which brings the path finding in the same area as
> really_generate_warmap. The 8 small helper function are all moved
> into plain_get_next_position and so plain_get_next_position and
> really_generate_warmap are now the big functions.
> - support for the get_TB, ignore_enemy and omniscience
> - added a missing heap_destroy call
And a new version. Changes:
- remove the testing path finding user from gotohand.c
- add some documentation and license headers
There were no comments on the last version. So I would think that this
version can be applied next week if there are no comments/objections.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"The BeOS takes the best features from the major operating systems.
It's got the power and flexibility of Unix, the interface and ease
of use of the MacOS, and Minesweeper from Windows."
path_finding16.diff.gz
Description: application/gunzip
- [freeciv-ai] Re: [Freeciv-Dev] [Patch] [RFC] Path finding version 14,
Raimar Falke <=
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Gregory Berkolaiko, 2002/09/13
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Ross W. Wetmore, 2002/09/13
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Raimar Falke, 2002/09/13
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Per I. Mathisen, 2002/09/13
- Message not available
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Ross W. Wetmore, 2002/09/14
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Raimar Falke, 2002/09/14
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Gregory Berkolaiko, 2002/09/14
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Raimar Falke, 2002/09/14
- [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14, Gregory Berkolaiko, 2002/09/14
|
|