Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] Re: (PR#10835) Trieme navigation
Home

[Freeciv-Dev] Re: (PR#10835) Trieme navigation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: edearl@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10835) Trieme navigation
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 2 Nov 2004 09:30:32 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10835 >

On Mon, 1 Nov 2004, Ed Earl Ross wrote:

> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10835 >
>
> You have put some nice features into trieme navigation, but it needs to
> be tuned.
>
> It is not possible to lead a Trieme into the ocean with  the mouse using
> the Go command. At first this confused me, until I leaned the arrow keys
> would move into the ocean.  A one-time information pop-up telling to use
> the arrow keys would be helpful.
>
> It should be possible to move a trieme one grid square into open ocean,
> but not two or more. Usually, a person wants to move back to land, but
> allow one to move further from land after moving one grid
> away--stupidity should be fatal.
>
> When one sees a foreign border, but cannot see the foreign land, with a
> mouse it is not possible to lead a Trieme to the foreign land--it should
> be possible.

AFAIK the issue is that goto is now done client side, so you can have that
fancy line telling you the path and so on. The problem, of course, is that
the client does not necessarily know the full map at all times. Only the
server does. So you get this, hm, interesting behaviour.

Possible fixes:
a) kludge the client goto to do a unit move on one-step gotos.
b) queue a linear goto across unknown territory anyway. so it may not be
the optimal path, who cares. if the unit can't walk inside the requested
path the goto will abort anyway. if you really are being picky about this,
show the non-optimal path using a different line colour.

I guess b) is more interesting.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa




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