[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]
[jdorje - Wed Aug 6 15:44:05 2003]:
> Jason Short wrote:
> > 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.
>
> Here's a patch that IMO makes it better (though not perfect; see the
> FIXME).
Here's an update to the patch.
jason
patrol_circuit-2.diff
Description: patrol_circuit-2.diff
- [Freeciv-Dev] (PR#4770) client-side patrol routes aren't safe,
Jason Short <=
|
|