Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#3450) square_iterate and unreal positions
Home

[Freeciv-Dev] Re: (PR#3450) square_iterate and unreal positions

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3450) square_iterate and unreal positions
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 26 Feb 2003 02:28:17 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Wed, 26 Feb 2003, Raimar Falke wrote:
> > > It should make the normalization before. It the code wants to pass
> > > non-real map positions in it has to use another macro.
> >
> > I have already proposed this, and you were against it also.Yet some
> > resolution is needed, and it should _not_ be to just say the caller has
> > to write a local loop.
>
> What about a mapview_square_iterate or unchecked_square_iterate?

Writing a new iterator which is exactly like the square_iterate only that
it doesn't have an assert is plain stupid. If the assert is that much of a
bother, remove it. I'm with Ross and Jason on this one.

  - Per




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