2025-09-05 02:18 CEST

spring: develop c25e7afa Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
kloot kloot develop 2010-06-17 19:46:17 develop 1beed357
Changeset * remove CheckGoalFeasability from CGroundMoveType and clean some of the surrounding logic

  Motivation: this function was used to scan all terrain within the radius |goalPos - pos|
  around a unit and find the percentage of blocked (by structures, etc) squares. Therefore,
  for a unit in the middle of a large group, this check would often fail and needlessly force
  recalculation of its path. Also, units with internal move orders to a nearby position (eg.
  when leaving a factory in a congested region) would be at risk to have their paths aborted.

  This change may be too 'risky' for the upcoming RC, but I need feedback to establish if it
  really makes a noticable difference (be it in a positive or a negative sense).
mod - rts/Sim/MoveTypes/GroundMoveType.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/GroundMoveType.h Diff ] File ]