Re: [Freeciv-Dev] Races ruleset - patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
- Re: [Freeciv-Dev] Races ruleset - patch, Artur Biesiadowski, 1999/09/01
- Re: [Freeciv-Dev] Races ruleset - patch, Paul Zastoupil, 1999/09/01
- Re: [Freeciv-Dev] Races ruleset - patch, Ed Cogburn, 1999/09/01
- Re: [Freeciv-Dev] Races ruleset - patch, Paul Zastoupil, 1999/09/01
- Re: [Freeciv-Dev] Races ruleset - patch, Reinier Post, 1999/09/01
- Re: [Freeciv-Dev] Races ruleset - patch, Falk Hueffner, 1999/09/01
- Re: [Freeciv-Dev] Races ruleset - patch,
David Pfitzner <=
|
|