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: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: PATCH: remove map_adjuxt_[xy] invocations
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Oct 2001 11:28:33 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

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)

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Microsoft DNS service terminates abnormally when it recieves a response
  to a DNS query that was never made.
  Fix Information: Run your DNS service on a different platform."
    -- MS service information on bugtraq


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