I'm working on a GUI for freeciv.

In my main loop I call
input_from_server
to allow the main client code to receive data from the server and
update the game state data accordingly. How can I determine when the
data has changed? Can I set callbacks for this? Should I switch() on
the incoming packet type before calling input_from_server?

Is my assumption that the client code handles updating client data
from input packets due to the input_from_server function correct?

I've been trying to figure out how to configure the players for a
game. What function(s) should I use to add a new player to the game?
Will these functions automatically send the new player data to the
server or must I manually issue some kind of sync command?

Thank you for your time,
James Steven Supancic III

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to