Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: [FreeCiv-Cvs] rfalke: Renames can_unit_move_to_tile_wi
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] rfalke: Renames can_unit_move_to_tile_wi

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Trent Piepho <xyzzy@xxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] rfalke: Renames can_unit_move_to_tile_with_reason to...
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Aug 2001 07:16:54 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Aug 26, 2001 at 06:59:34PM -0700, Trent Piepho wrote:
> On Sun, 26 Aug 2001 freeciv@xxxxxxxxxxxxxxxxxxx wrote:
> > 
> > Renames can_unit_move_to_tile_with_reason to
> > test_unit_move_to_tile. Changes return type. Rename
> 
> How about test_unit_move()?
> 
> I mean, where else can a unit move, if not to a tile?

This _to_tile is to emphasis that the target can be entered. This
method does for example not check if the unit has enough move points.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  The Software is not designed or licensed for use in on-line control
  equipment in hazardous environments, such as operation of nuclear
  facilities, aircraft navigation or control, or direct life support
  machines. 
    -- Java Compiler Compiler Download and License Agreement


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