Complete.Org: Mailing Lists: Archives: freeciv-ai: March 2004:
[freeciv-ai] Re: simple historian agent
Home

[freeciv-ai] Re: simple historian agent

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: simple historian agent
From: nikodimka <nikodimka@xxxxxxxxx>
Date: Sat, 27 Mar 2004 15:38:04 -0800 (PST)

--- Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx> wrote:
> On Thu, Mar 25, 2004 at 04:08:06PM -0800, nikodimka wrote:
> > 
> > > 
> > > IMHO the agents.c should do the callback with x and y and not with
> > > index.
> > 
> > This is because struct call's arg is of int type 
> > so I am not sure if you plan to extend this to something other type 
> > like union of possible arg types. Hence on the basis of Occam's razor 
> > I made it int.
> 
> There is no problem adding the callbacks with x and y.

Then enqueue_call() should be vararg function. Right?

> 


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


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