Lachu wrote:I updated data/gui-tao/Freeciv/gui-gtk-3.0/Makefile.am and ran ./autogen --enable-client=tao, but Makefile/Makefile.in wasn't update. I decided to remove dirty files and ran ./autogen --enable-client=tao, but missing files wasn't recreated.
'Makefile.am -> Makefile.in' requires that upper level Makefile.am lists directory in SUBDIRS. Does data/Makefile.am list gui-tao there?
'Makefile.in -> Makefile' requires that Makefile (with path) is listed in configure.ac list of files to handle
The problem was solved. There's no patch to Makefile in configure.ac, but thanks for help.
Yesterday I've created modpack using libgreattao. There you are link https://gna.org/patch/index.php?7678 . Movies demonstrating how it works should come soon.
There you are movie demonstrating how freeciv-mp-tao works. Sorry for bad quality of movie, but there's an bugs on plasma's compositor. https://youtu.be/6qeUdal3e9c
I can't answer (1) for sure. When doing client work, I usually spawn a server from the command line, and I use the -a client option to get connected automatically. This is also the easiest to implement, just pass any command line argument to client_main().
For (2), you need to call real_timer_callback (client_main.h:111) at specified time intervals (see the implementation for details). It will do a lot of things, including calling your add_net_input implementation and autoconnecting to a server if the -a argument was given.