Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: PATCH: remove map_adjuxt_[xy] invocations
Home

[Freeciv-Dev] Re: PATCH: remove map_adjuxt_[xy] invocations

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>
Cc: jdorje@xxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: PATCH: remove map_adjuxt_[xy] invocations
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Mon, 22 Oct 2001 03:16:57 +0100

On Thu, 04 Oct 2001, rwetmore@xxxxxxxxxxxx wrote:
> I would not clutter map_inx(), which was supposed to be changed to
> map_index(), with a lot of extra checks and stuff.
> 
> Make a map_index_checked() for this purpose, and put it where it is
> needed.

The object of the exercise is to put in place a mechanism that will
allow us to catch places where we are buggily using unnormalised
coordinates.  As such there is no way to "know" that it is not needed.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
If I am elected, the concrete barriers around the WHITE HOUSE
 will be replaced by tasteful foam replicas of ANN MARGARET!


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