Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] Re: suggestions (PR#2783)
Home

[Freeciv-Dev] Re: suggestions (PR#2783)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ChrisK@xxxxxxxx
Subject: [Freeciv-Dev] Re: suggestions (PR#2783)
From: "Reinier Post via RT" <rt@xxxxxxxxxxxxxx>
Date: Thu, 9 Jan 2003 10:40:44 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Thu, Jan 09, 2003 at 08:54:35AM -0800, ChrisK@xxxxxxxx via RT wrote:
> On Thu, Jan 09, 2003 at 10:48:53AM -0200, Silvio Santana wrote:
> > 
> > 
> > Christian Knoke wrote:
> > >I agree fully. The current order for previous/next gives nothing. You
> > >suggest a kind of ad-hoc order, depending of the current/latest sort 
> > >order in in the city report (F1) or the message window (F10), respectively?
> > 
> > YES.
> > Note that when the user selects a city by clicking it on the map,
> > there is no context, once there is no city report or message window,
> > so the order should be something else, perhaps foundation order like
> > it is by now.
> 
> When there is no other context, we can use the geographical context:
> "Next" is the nearest city to the east, "Previous" the nearest city to the
> west.[1]
> 
> Christian
> 
> [1] Or any other algorithm you prefer to determine what is "nearest".

The problem I see is that 1D and 2D are simply not the same dimension.
It is impossible to define a Prev/Next relation between cities such that

  + the relation cycles through all cities, visiting each city exactly once
  + the relation expresses a distance function between cities that is
    independent of where the other cities are

The easiest way out of this may be to have four buttons:

            ^
            |
            Up
  <-Left next city  Right ->
           Down
            |
            v

> -- 
> Christian Knoke     * * *      http://www.enter.de/~c.knoke/
> * * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

-- 
Reinier



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