Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Re: working version of civserver_readline (I hope)
Home

[Freeciv-Dev] Re: working version of civserver_readline (I hope)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: working version of civserver_readline (I hope)
From: Tomasz Wegrzanowski <maniek@xxxxxxxx>
Date: Wed, 2 Feb 2000 01:37:52 +0100

>   Wouldn't it be less work to add readline support to civserver itself?

The real TODO would be generalizing server's ui, so one can :
- set up game
- start game
- end game
with either readline, Gtk or ncurses/slang

This seem to be quite a lot of work,
but there may be already some ready library for it.
Something one can tell :

*** EXAMPLE ***
[server]
exec='civserver';

[intro]
send='rfcstyle\n'
confirm='^100'

[set]
send='set %s\n'
confirm='^100'

[start]
send='start\n'
confirm='^100'

[quit]
send='quit\n'
confirm='^100'

[options]
chapters=start,rules,map,others

[options:start]
int settlers  = 2  [1..10]
int explorer  = 1  [0..10]
int gold      = 50 [0..5000]
int techlevel = 3  [0..50]

[options:rules]
string buildings = 'default'
string techs = 'default'
*** ETC... ***

And run 'this_cool_thing -ui gtk -ini freeciv.tct'
(with additional boxes to enter own commands and to print server's stdin)

Anyone knows about one ?
Or do we have to write it ?

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: working version of civserver_readline (I hope), Tomasz Wegrzanowski <=