Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10276) Goto bug
Home

[Freeciv-Dev] (PR#10276) Goto bug

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mstefek@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#10276) Goto bug
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 25 Sep 2004 09:56:10 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10276 >

How about storing the waypoints explicitely in the unit struct (instead of just 
one
goto_dest, have an array)?  Then each turn the client can just replan.  This 
has the
benefit of dealing with the problem of random movements, new roads, enemy units
blocking the path (that is, noticing this before sidling up next to it).  The 
number of
units under goto control probably isn't so large that this would make things too
compute-expensive.


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