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

[freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Cc: Freeciv AI development <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Sat, 14 Sep 2002 19:22:55 +0100 (BST)

On Sat, 14 Sep 2002, Raimar Falke wrote:

> On Sat, Sep 14, 2002 at 06:29:22PM +0100, Gregory Berkolaiko wrote:
> 
> > Would be even nicer with out COP.
> 
> Without COP or without get_COP?

without get_COP of course

> 
> > BTW, how about passing pointer to parameter instead of void * to all
> > functions?  I know it reduces flexibility but not that much, does
> > it?
> 
> And how does these function know about what unit you speak?

You are not seriously speaking about removing things like 
        struct player *owner;
from the parameter.

I thought your questions were rethoric...

Anyway, if we stick with the current parameter, how about passing it 
instead of void * ?  That would get rid of 4 _data fields...
Much better than throwing away owner field :)

G.




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