Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: More imporved game starting [patch]
Home

[Freeciv-Dev] Re: More imporved game starting [patch]

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <ChrisK@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: More imporved game starting [patch]
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Tue, 25 Dec 2001 22:13:42 +0100

Christian Knoke writes:
 > On Tue, Dec 25, 2001 at 08:17:31PM +0100, Andreas Kemnade wrote:
 > > Jason Short writes:
 > >  > Daniel L Speyer wrote:
 > >  > 
 > >  > > Here is an improved version of Andreas's patch from back in October to
 > >  > > control the server from the client.  This version supports multiple
 > >  > > simultaneous games by checking which ports are available.
 > >  > 
 > >  > 
 > >  > At first, I thought that would be a good idea - but then I noticed the 
 > >  > "start game" and "end game" buttons on the server window.  If this is 
 > >  > expanded to include fuller (possibly even "full") control through the 
 > >  > GUI, that'd be much better.
 > > Ok, lets have a list of server commands in common code (not in
 > > gui-gtk) and let the client display a button for each (important) command
 > > (implemented like the local options dialog).
 > > 
 > > We could also parse the output of the show command and use it to
 > > create a server options dialog. 
 > 
 > I don't recommend parsing of server output because of 
 > translations.
We do not use the network.
I think we can safely parse the stuff from the pipe (=not from network).
Where is the problem?
Example:
barbarians    +=2     (0,4)          Häufigkeit von Barbaren
The name of the option is not translated. The current and the minmax
values are not translated. The only thing which is translated is the
description. 
But the server has the same language as the client because it has the
same environment (If it is started using the patch) so the description
can be safely used in label near the slider for that value.

Greetings
Andreas Kemnade


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