Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#4770) client-side patrol routes aren't safe
Home

[Freeciv-Dev] (PR#4770) client-side patrol routes aren't safe

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4770) client-side patrol routes aren't safe
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Aug 2003 06:34:34 -0700
Reply-to: rt@xxxxxxxxxxxxxx

The client just reverses the path to find the way from the end of the 
path back to the beginning.  This isn't safe; e.g., for tririemes which 
may have pauses in their paths.  Instead a new path should be generated 
for the return.

Question: should all of the waypoints be revisted in turn?  I don't 
think so - all we should do is complete the cycle.  This allows more 
flexible patrol routes, like patrolling in circles around an island.

jason




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