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: nikodimka <nikodimka@xxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: simple historian agent
From: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sun, 28 Mar 2004 10:16:10 +0200

On Sat, Mar 27, 2004 at 03:38:04PM -0800, nikodimka wrote:
> 
> --- 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?

Yes.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Only one human captain has ever survived battle with the Minbari
  fleet. He is behind me. You are in front of me. If you value your 
  lives, be somewhere else."
    -- Ambassador Delenn, "Severed Dreams," Babylon 5


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