Complete.Org: Mailing Lists: Archives: freeciv-dev: September 1999:
Re: [Freeciv-Dev] Races ruleset - patch
Home

Re: [Freeciv-Dev] Races ruleset - patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Races ruleset - patch
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Thu, 2 Sep 1999 12:30:04 +1000 (EST)

Falk Hueffner wrote:

> David Pfitzner <dwp@xxxxxxxxxxxxxx> writes:
> 
> > The implementation is no more blocking nor subject to lag than 
> > the way many other similar things are already done in the client;
> > eg:
> > 
> > - user presses 'b' to build city;
> > - client sends "Suggest a new city name for unit with id 556", 
> >   and then goes back to its event loop;
> > - server sends back a packet: "Suggested new city name for unit 
> >   with id 556 is 'Foobar'";
> 
> Uhm... why is the unit id transmitted? Does the server use it in some
> way to choose the city name? Or just to remove the need for the client 
> to remember which units were waiting for a city name?

Ah, it is commented in the patch/code, and was referred to
in the part of the post you snipped :-}

The latter; don't want to keep unnecessary state or have 
blocking etc in the client, plus the unit could die in
the meantime and then the dialog should not be popped.

-- David

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