public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
* xconq/ /ChangeLog ernel/ai.c ernel/init.c erne ...
@ 1999-09-24 16:53 shebs
0 siblings, 0 replies; only message in thread
From: shebs @ 1999-09-24 16:53 UTC (permalink / raw)
To: xconq-cvs
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@egcs.cygnus.com 99/09/24 16:52:51
Modified files:
. : ChangeLog
kernel : ai.c init.c side.h socket.c tp.c
tcltk : tkconq.tcl tkmain.c
x11 : xconq.c
win : wconq.c
Log message:
* side.h (Side rid): Remove slot, not needed.
* ai.c: Add some comments.
(init_ai): Handle networked case correctly.
* init.c (set_player_advantage, rename_side_for_player,
set_ai_for_player): New functions.
(assign_players_to_sides): Remove setting of side->rid, test
player->rid instead, improve warning message.
* socket.c: Add some comments.
(open_remote_connection): Remove dead code in hosting case,
retry 5 instead of 15 times in joining case.
(close_remote_connection): Handle arg of 0 usefully.
* tp.c (init_remote_ui): Set rui->rid from player->rid.
(net_set_player_advantage): Call set_player_advantage.
(net_add_side_and_player, net_rename_side_for_player,
net_set_ai_for_player): New function.
(receive_assignment_setting): Add rest of messages, share
assignment callback use.
* tkconq.tcl (update_allplayer_buttons): New proc, code to
adjust buttons that affect all players.
(add_player_dialog_items, add_player_cmd, select_player): Use it.
(exchange_players_cmd): Only update if valid return from exchange.
(join_game): Inform player about result of join attempt.
* tkmain.c (tk_add_side_and_player, tk_rename_side_for_player,
tk_set_ai_for_player): Use net_ functions.
(tk_try_join_game): Return result of try_join_game.
(try_join_game): Move here from xconq.c & wconq.c, also return
success or failure.
(update_assignment): Call update_allplayer_buttons.
* wconq.c, xconq.c (try_join_game): Remove.
* xconq.c (host_the_game): Warn about connection failure.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-09-24 16:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-24 16:53 xconq/ /ChangeLog ernel/ai.c ernel/init.c erne shebs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).