[Freeciv-Dev] Re: pauses during client-side goto (PR#4683)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Gregory Berkolaiko wrote:
> On Mon, 29 Sep 2003, Jason Short wrote:
>
>
>>A new flag punit->done_moving is introduced. It's set by the server
>>(for the most part) and sent to the client. When done_moving is set the
>>unit won't be focused on, and if that unit is focused the focus will be
>>advanced.
>>
>>Thus if we have a unit on goto with some MP left, we can tell whether it
>>is done moving for this turn (because of a goto pause) or not.
>
>
> Can we wake it up though? I mean if you want to cancel goto and do some
> moving with the rest of the points.
Yes, if its activity is changed to idle done_moving will be reset.
> And how about the units on which you hit space? They still have MPs, but
> they are effectively done_moving.
True, but that is entirely handled client-side. We could mark them as
done_moving and send this info to the server so that it would be
persistent across saves.
jason
|
|