Complete.Org: Mailing Lists: Archives: freeciv-ai: September 2002:
[freeciv-ai] Re: [Freeciv-Dev] [Patch] [RFC] Path finding version 14
Home

[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]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: [Freeciv-Dev] [Patch] [RFC] Path finding version 14
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 12 Sep 2002 20:06:14 +0200

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."

Attachment: path_finding16.diff.gz
Description: application/gunzip


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