Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#4683) allow pauses during client-side goto
Home

[Freeciv-Dev] (PR#4683) allow pauses during client-side goto

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4683) allow pauses during client-side goto
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Aug 2003 19:31:29 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[jdorje - Fri Jul 25 09:54:33 2003]:

> ChrisK@xxxxxxxx wrote:
> > On Fri, Jul 25, 2003 at 01:52:16AM -0700, Jason Short wrote:
> >
> >
> >>+       * for tririemes.  FIXME: we shouldn't lose the movepoints
> but should
> >>+       * instead return GR_WAITING and just sit tight. */
> >
> >
> > I think that, too. :-/
> 
> This may do the trick.  It's a little riskier; I'm not sure if
> GR_WAITING needs special handling anywhere.  It also takes client
> changes to get the focus to advance properly - I think these changes
> are
> fundamentally sound but may cause problems in other situations.

The second patch here is buggy.  If you execute a goto the focus will be
advanced, and if that goto runs to completion you'll erronously have the
next unit focused rather than the unit that just finished its goto.

I'm not sure how this can be solved using client-side focusing.

jason



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