Complete.Org: Mailing Lists: Archives: freeciv-dev: May 1999:
Re: [Freeciv-Dev] caravan behavior
Home

Re: [Freeciv-Dev] caravan behavior

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] caravan behavior
From: Nicolas Brunel <brunel@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 May 1999 14:56:19 +0000 (GMT)

> 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.

We already have a list of activity for diplomats and settlers.
We can do the same for caravans.

       CARAVAN_IDLE -> normal goto.
       CARAVAN_WONDER -> automatticaly try to help build wonder.
       CARAVAN_TRADE ->     //          // // etablish a trade route.

With a key to swap from one activity to another.
So, we will know at once what to do.

Best regards,


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