This is the mail archive of the xconq-cvs@sourceware.cygnus.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xconq/ /ChangeLog ernel/skelconq.c ernel/tp.c ...


CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@egcs.cygnus.com	99/09/09 08:02:56

Modified files:
	.              : ChangeLog 
	kernel         : skelconq.c tp.c unix.c 
	tcltk          : tkconq.tcl tkmain.c 
	x11            : xconq.c xtconq.c 
	curses         : cconq.c 
	mac            : macconq.c 

Log message:
	Support chat window interaction and >2 network players on Unix.
	* tp.c (broadcast_message): Remove, move into net_send_message.
	(add_remote_program, send_remote_id, net_send_chat): New functions.
	(send_packet): Also wait if hosting, before rids set up.
	(receive_packet): Add c, p, and r packets.
	(receive_chat, receive_remote_program): New functions.
	* unix.c (public_fd, public_fd_valid, remote_fd, fd_valid): New
	globals.
	(open_remote_connection, low_send, wait_for, low_receive,
	close_remote_connection): Rewrite to use them.
	(accept_remote_connection): New function.
	(low_receive): Call it for input from public fd.
	
	* tkconq.tcl (popup_connect_dialog, etc): Remove.
	(host_game): New proc.
	(popup_pregame_chat): Implement connection functionality at
	top of dialog.
	(add_program): New proc.
	(send_chat_bdg): New proc.
	(insert_chat_string): Rewrite to handle different rids.
	* tkmain.c (tk_try_host_game, tk_send_chat): New functions.
	(check_network): New function.
	(initial_ui_init): Set up to call it.
	(ui_mainloop): Call Tcl_DoOneEvent directly.
	(add_remote_locally, send_chat): New functions.
	
	* xconq.c: Change function definitions to new style.
	(host_the_game): Call add_remote_locally.
	(try_join_game): Build a default player spec, loop only until
	my_rid is nonzero.
	
	* skelconq.c, xtconq.c, macconq.c, cconq.c (add_remote_locally,
	send_chat): New functions, dummy versions.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]