[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]
<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
|
|