Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Re: (PR#10702) RFC: removing ptile->move_cost
Home

[Freeciv-Dev] Re: (PR#10702) RFC: removing ptile->move_cost

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10702) RFC: removing ptile->move_cost
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Apr 2005 16:49:56 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=10702 >

On Tue, Apr 12, 2005 at 09:38:53AM -0700, Jason Short wrote:
> That's not quite true.  This function is only used by the AI.  It has
> some special cases like MOVE_COST_FOR_VALID_SEA_STEP and maxcost.  There
> is also the quite misnamed tile_move_cost_ptrs function, which is called
> by tile_move_cost_ai and is static in map.c.  The "actual" function that
> returns the cost is also in map.c and is simply a wrapper for
> tile_move_cost_ptrs.  It's called - you guessed it - map_move_cost.

My mind boggles at all these crazy names :)

But then renaming doesn't necessarily help us make the game any more fun.

        -- Benoît





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