Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2003:
[freeciv-ai] Re: puppeteer, aiclient

[freeciv-ai] Re: puppeteer, aiclient

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: puppeteer, aiclient
From: nikodimka <nikodimka@xxxxxxxxx>
Date: Tue, 19 Aug 2003 11:26:08 -0700 (PDT)

I have uploaded it to
So any questions, comments etc are very welcome.

note: it needs socket connection so there should be the GUI-dependant part
right now this part is implemented ONLY for gui-gtk
for all other GUIs I think it will not even compile.

My questions in turn are:

1) I have enchanced agents_unit_cahnged to carry the second argument
"the old state of the unit" so an agent doesn't need to keep track of all the 
parameters and can easyly see what have changed. Is it okay?

-void agents_unit_changed(struct unit *punit)
+void agents_unit_changed(struct unit *punit, struct unit *old_punit)
2) In agents.c I have to include puppetter.h, in puppetter.h I need to include 
right now it goes like 
#include "../puppetter/puppeteer.h"
#include "../agents/agents.h"

should these two headers be moved to freeciv/client/include or 
should the be changed ?

--- "Per I. Mathisen" <per@xxxxxxxxxxx> wrote:
> On Mon, 18 Aug 2003, nikodimka wrote:
> > Is the right place to upload patch is
> > ?
> Yes.
>   - Per

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

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