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: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Changing interface for generate_warmap (PR#1108)
From: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Date: Thu, 13 Dec 2001 16:47:17 +0000 (GMT)

 --- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote: 
> On Sun, Dec 09, 2001 at 03:28:17AM -0800, Gregory Berkolaiko wrote:
> 
> [ the attachment is broken ]

doesn't unzip or doesn't apply?

in any case, try the attached patch, it's against today's CVS.

> > This is a patch which changes interface of generate_warmap to:
> > 1. Remove direct calls to really_generate_warmap
> 
> > 2. Provide the possibility of having a local warmap
> 
> Very nice.
> 
> > 3. Make recycling of the old warmap more transparent (I hope)
> 
> I have to see the code for this.

Half of the patch is just changing the direct access to the warmap.
The relevant parts are in gotohand.c

Preemptive request: could you have a look at the general interface before
asking me to split the patch?  I know I should have done it in two parts,
but it's such a raw patch, I don't want to do unnecessary work now :)

Thanks,
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]