This is the mail archive of the
xconq-cvs@sourceware.cygnus.com
mailing list for the Xconq project.
xconq/ /ChangeLog ernel/socket.c ernel/tp.c cl ...
- To: xconq-cvs at sourceware dot cygnus dot com
- Subject: xconq/ /ChangeLog ernel/socket.c ernel/tp.c cl ...
- From: shebs at sourceware dot cygnus dot com
- Date: 23 Sep 1999 02:22:08 -0000
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@egcs.cygnus.com 99/09/22 19:22:08
Modified files:
. : ChangeLog
kernel : socket.c tp.c
tcltk : tkconq.tcl tkmain.c
Log message:
* socket.c (open_remote_connection): Always return something.
(accept_remote_connection): Use Dprintf for debug output.
* tp.c (update_variant_callback, update_assignment_callback):
New globals.
(net_set_player_advantage, net_exchange_players): New functions.
(broadcast_variants_chosen): Send vOK instead of just v.
(broadcast_players_assigned): Similarly.
(receive_variant_setting, receive_assignment_setting): New.
(receive_packet): Call them.
* tkconq.tcl (popup_game_dialog): Make second button disappear.
(add_variants_dialog_items): Make buttons broadcast variant
change.
(broadcast_variant_value): New proc.
(world_size_ok_cmd, real_time_ok_cmd): Call it.
* tkmain.c (tk_send_variant_value): New tcl command.
(tk_adjust_advantage): Call net_set_player_advantage.
(tk_exchange_players): Call net_exchange_players.
(update_variant_setting, update_assignment): New functions.
(initial_ui_init): Set the callbacks with them.
(tk_player_remote_status): Remove, no longer needed.