Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [RFC] Behaviour of units in eXplore mode near cities
Home

[Freeciv-Dev] Re: [RFC] Behaviour of units in eXplore mode near cities

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Tony Stuckey <stuckey@xxxxxxxxxxxxxxxxx>
Cc: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, Petr Baudis <pasky@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC] Behaviour of units in eXplore mode near cities
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2002 12:01:22 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Feb 18, 2002 at 04:50:53AM -0600, Tony Stuckey wrote:
> On Sun, Feb 17, 2002 at 09:28:08PM +0100, Raimar Falke wrote:
> > Test it. If you disable the if altogether or invert it thing you will
> > get popup at the client side that a diplomat or caravan have entered
> > the city. IMHO the if is there to prevent this. And yes the comment
> > has to be updated. And yes this may lead to sub-optimal paths for
> > diplomats and caravans.
> 
>       I'm not sure there's a good way to handle this, but one would
> think that checking the city goto destination against the city it happens
> to be entering and omitting the dialog if they don't match would be a good
> plan.

A test for the activity (don't popup if ACTIVITY_EXPLORE or
ACTIVITY_GOTO) can be added to handle_unit_move_request.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  The Software is not designed or licensed for use in on-line control
  equipment in hazardous environments, such as operation of nuclear
  facilities, aircraft navigation or control, or direct life support
  machines. 
    -- Java Compiler Compiler Download and License Agreement


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