Complete.Org: Mailing Lists: Archives: freeciv-ai: December 2002:
[freeciv-ai] bigger settlers.c cleanup
Home

[freeciv-ai] bigger settlers.c cleanup

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] bigger settlers.c cleanup
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 4 Dec 2002 14:33:12 +0000 (GMT)

This includes the previuosly posted removal of is_already_assigned().
Other than that, I did some cleanup of the city map iterations used, and
also imported some changes from massiveai patch.

Changes:
 - Remove is_already_assigned()
 - Remove the settlers.c-specific goto wrapper
 - Use citymap iterators instead of square iterators
 - Style fixes
 - Use handle_unit_activity_request() instead of set_unit_activity()

Please review && commit.

  - Per

Attachment: settlersc2.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] bigger settlers.c cleanup, Per I. Mathisen <=