Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2006:
[Freeciv-Dev] Re: (PR#18390) [Bug] Pathfinding & UCF_TERRAIN_SPEED
Home

[Freeciv-Dev] Re: (PR#18390) [Bug] Pathfinding & UCF_TERRAIN_SPEED

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#18390) [Bug] Pathfinding & UCF_TERRAIN_SPEED
From: "Marko Lindqvist" <cazfi74@xxxxxxxxx>
Date: Sat, 8 Jul 2006 04:17:48 -0700
Reply-to: bugs@xxxxxxxxxxx

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


  Current move_cost rules:

  - Land unit moving TO land tile -> cost depends on terrain
  - Land unit entering ferry -> SINGLE_MOVE
  - Sea unit moving TO sea tile -> SINGLE_MOVE
  - Sea unit entering port / bombarding -> SINGLE_MOVE


  Same in more generic terms:

  - UCF_TERRAIN_SPEED unit moving TO native tile -> cost depends on terrain
  - UCF_TERRAIN_SPEED unit moving TO non-native tile -> SINGLE_MOVE
  - !UCF_TERRAIN_SPEED unit moving TO native tile -> SINGLE_MOVE
  - !UCF_TERRAIN_SPEEF unit moving TO non-native tile -> SINGLE_MOVE


  Maybe we should change second rule so we could simplify related code: 
Land unit entering ferry -> cost depends on terrain (ocean). In default 
rules this would make difference only for IgTer units entering ferry.


  - ML





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