Re: [Freeciv-Dev] caravan behavior
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Nicolas Brunel wrote:
>
> Here, how I see things now.
> It popup the caravan window.
> If the unit has enough move left it's ok.
> Else, we use unit try_move_unit.
But this is in the server, and the server can't popup windows.
It can only send the client information which the client may
use to decide when to popup windows.
So, for friendly cities you could do the following: In the client,
when you try to move a unit into the city, the client just do the
move as for any other units. When the server sends back to say
"the caravan has successfully moved into the city", _then_ popup
the Wonder/trade dialog if appropriate. This could even be useful
for goto-ing units, though as before this may not be confusing
if it happens at end-turn/begin-turn.
Not sure about trade routes with enemy cities.
Regards,
-- David
- Re: [Freeciv-Dev] caravan behavior, David Pfitzner, 1999/05/02
- Re: [Freeciv-Dev] caravan behavior, Nicolas Brunel, 1999/05/02
- Re: [Freeciv-Dev] caravan behavior, David Pfitzner, 1999/05/05
- Re: [Freeciv-Dev] caravan behavior, Nicolas Brunel, 1999/05/05
- Re: [Freeciv-Dev] caravan behavior,
David Pfitzner <=
- Re: [Freeciv-Dev] caravan behavior, Nicolas Brunel, 1999/05/05
- Re: [Freeciv-Dev] caravan behavior, David Pfitzner, 1999/05/05
- Re: [Freeciv-Dev] caravan behavior, Lalo Martins, 1999/05/05
- Re: [Freeciv-Dev] caravan behavior, David Pfitzner, 1999/05/05
- Re: [Freeciv-Dev] caravan behavior, Lalo Martins, 1999/05/06
- Re: [Freeciv-Dev] caravan behavior, Nicolas Brunel, 1999/05/06
- [Freeciv-Dev] barbarian patch, Falk Hueffner, 1999/05/07
- Re: [Freeciv-Dev] caravan behavior, Greg Wooledge, 1999/05/06
Re: [Freeciv-Dev] caravan behavior, David Pfitzner, 1999/05/02
|
|