Complete.Org: Mailing Lists: Archives: freeciv-ai: October 2002:
[freeciv-ai] Re: better easy mode
Home

[freeciv-ai] Re: better easy mode

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>, freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: better easy mode
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 31 Oct 2002 08:18:42 +0100

On Wed, Oct 30, 2002 at 10:40:33PM +0000, Per I. Mathisen wrote:
> On Wed, 30 Oct 2002, Raimar Falke wrote:
> > > 2. Wrapping each change of ai.ai_role and if it changes from
> > > AIUNIT_BUILD_CITY, tidy up the minimap (better IMO).
> >
> > Patch attached. It also fixes a bug in server_unit_remove.
> >
> > Please test.
> 
> There is already ai_unit_new_role() in aitools.c... it doesn't do all
> cases comprehensively yet - that is done in massive ai patch.

And what about
ai/aiunit.c:1500:      ai_unit_set_role(punit, AIUNIT_ESCORT, -1, -1);  /* do 
not use ai_unit_new_role() */
?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Are you saying that you actually used the Classpath Java AWT classes in 
  addition to the GTK peers and got them to display something?
  Wow.  That's way better than I did and I wrote the code!"
    -- Aaron M. Renn in the classpath mailing list


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