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 cltk/tkinit.c cltk/tkmain.c ...


CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sourceware.cygnus.com	99/10/21 18:09:23

Modified files:
	.              : ChangeLog 
	tcltk          : tkinit.c tkmain.c tkconq.tcl 

Log message:
	Add ability to open multiple map windows.
	* tkconq.tcl (create_map_window, make_normal_bindings, etc): Add
	map number argument, send map number to command procedures for
	buttons and menus, compute map widget from number and use.
	(update_game_side_info, etc): Iterate over all maps.
	* tkcmd.c (do_new_map): Call create_map.
	(do_zoom_in, do_zoom_out, really_do_design): Pass map number.
	* tkmain.c: Pass map numbers around everywhere.
	(lastrawx, lastrawy): Remove.
	(tk_run_game_idle): Pass map fields instead of globals to
	update_mouseover.
	(update_mouseover): Pass map number back to tcl updater.
	(tk_mouse_down_cmd, etc): Pass map number (as .m<nnn>) in first
	argument.
	(tk_interp_key): Set curmap before calling command.
	(tk_execute_long_command): Ditto.
	(mapn): New global.
	(create_map): Set map number, pass into tcl code.
	
	* tkconq.tcl (endofgame): New global.
	(adjust_more_menu): Disable some items if end of game.
	(adjust_edit_menu, adjust_side_menu): New procs.
	(popup_scores, dismiss_scores, scrolled_textbox): New procs.
	(popup_game_over_dialog): Update scores if scores window up.
	(popup_run_warning_dialog): Don't offer to save if at end of game.
	* tkmain.c (tk_get_scores): New tcl command.
	(update_turn_display): Force all maps to survey mode correctly,
	set endofgame tcl var.
	(low_run_error, low_run_warning): Set endofgame in tcl if needed.
	* tkinit.c (update_action_controls_info): Only update during game.


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