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: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: PATCH: remove map_adjuxt_[xy] invocations
From: Jason Dorje Short <vze2zq63@xxxxxxxxxxx>
Date: Wed, 03 Oct 2001 16:45:30 -0400
Reply-to: jdorje@xxxxxxxxxxxx

Raimar Falke wrote:
> 
> On Wed, Oct 03, 2001 at 01:03:08AM -0400, Jason Dorje Short wrote:
> > [I tried to post this to freeciv-bugs much earlier today, but with still
> > no success I think I've got some problem at my end.  Well, here it is.]
> >
> > The attached patch removes all remaining invocations of map_adjust_[xy]
> > in server code.
> >
> 
> > It has a bit of clutter, though: for one thing, it adds a function
> > is_normal_map_pos, which may still be controversial.  I also think the
> > assertions used in hmap, map_get_tile, and elsewhere would be better to
> > put into map_inx (a question for later).
> 
> assert(is_normal_map_pos(x,y)) == CHECK_MAP_POS(x,y)

Hmmm, we had this argument before.  I and (I think) a couple other
people thought that asssert(is_normal...) is easier to read than
CHECK_MAP_POS.

What are other people's opinions?

jason


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