Complete.Org: Mailing Lists: Archives: freeciv-ai: December 2002:
[freeciv-ai] Re: patch/rfc: wrap activity

[freeciv-ai] Re: patch/rfc: wrap activity

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: patch/rfc: wrap activity
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sun, 1 Dec 2002 15:51:03 +0000 (GMT)

Ok, here is a patch which cleans up could_unit_move_to_tile() and makes
use of it around the code where applicable (instead of
can_unit_move_to_tile() which will check with current activity instead of

Along with a patch to remove direct setting of activities with
set_unit_activity(), this should be enough low-level change for fortifying
to work. The rest is high-level and will be the subject of another patch.

I intend to commit this very soon, since I want to move on to the other
patches in this series.

  - Per

Attachment: activityfix1.diff
Description: Text document

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