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: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Cc: Freeciv AI development <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Sat, 14 Sep 2002 21:04:31 +0200

On Sat, Sep 14, 2002 at 07:22:55PM +0100, Gregory Berkolaiko wrote:
> 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

No comment.

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

It is an option. But it has to provide some speed advantage or some
other. And not only be "more flexible".

> 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 :)

I think we had this discussion in the past.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "Heuer's Law: Any feature is a bug unless it can be turned off."


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