Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#4718) topology cleanup for client autocenter code
Home

[Freeciv-Dev] (PR#4718) topology cleanup for client autocenter code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4718) topology cleanup for client autocenter code
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Aug 2003 19:43:34 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[jdorje - Mon Aug  4 21:03:24 2003]:

> Note, "needs" is in quotations since this piece of code probably doesn't
> have to exist at all.  It's just a 4th-level backup for finding
> something to center on.

This patch replaces the outward iteration with a standard-ordering
iteration.  It thus is just as "efficient" but the logic is simpler and
it may occasionally center on an inferior location (not that that matters).

jason

Attachment: client_autocenter-2.diff
Description: client_autocenter-2.diff


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