Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Changing interface for generate_warmap (PR#1108)
Home

[Freeciv-Dev] Re: Changing interface for generate_warmap (PR#1108)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Changing interface for generate_warmap (PR#1108)
From: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Date: Sat, 15 Dec 2001 16:23:20 +0000 (GMT)

 --- Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx> wrote: 
> 
> To make reviewing easier I can split the patch into parts:
> 1. Introduction of "access functions".  Making default warmap local.
> 2. Introduction of allocation/destruction methods.
> 3. Change generate_warmap -> cost_map_generate
> 
> Then, possibly:
> 1. Introduction of struct path_map.  Conversion of find_path/direction
> to use path_map.
> 2. Relocation of the cost_map code into separate file.

Alternatively, I can just make a separate file and _then_ redirect all
calls to the new methods.  Unfortunately, the "priority queue" methods
have to be duplicated, I wouldn't want to use genlist for that for
performance reasons (although what do I know).

G.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


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