This is the mail archive of the xconq-cvs@sources.redhat.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 kernel/ui.c kernel/ui.h tclt ...


CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sourceware.cygnus.com	2000-07-26 09:09:42

Modified files:
	.              : ChangeLog 
	kernel         : ui.c ui.h 
	tcltk          : tkcmd.c tkconq.h tkconq.tcl tkmap.c 

Log message:
	* ui.c (ibsx, ibsy, ilsx, ilsy): New global arrays.
	(xform_cell_top): New function, produces position of top of
	thick terrain.
	(xform_cell_flat): Fix isometric viewing in a couple dirs.
	(nearest_cell): Add correct formulas for all iso directions.
	(center_on_focus): Add isometric case.
	(set_view_isometric): New function.
	(set_view_direction): Call calc_view_misc.
	(calc_view_misc): Size viewport correctly for iso display.
	* ui.h (set_view_isometric): Declare.
	
	* tkconq.tcl (isometric_state): Remove, no longer needed.
	(fill_in_button_box): Enable isometric controls.
	(set_isometric, set_iso_dir): New procs.
	(add_show_all_item): Fix argument.
	* tkconq.h (update_contour_intervals): Declare.
	* tkcmd.c (do_map): Remove plan-tweaking commands, rewrite
	isometric subcommand cases to use tcl procs.
	(do_set_view_angle): Ditto.
	* tkmap.c (MapW isometric, isodir, vertscale): New fields.
	(config_specs): Add config args for isometric display.
	(mapw_configure): Set isometric flag and view dir.
	(draw_map_isometric): Rewrite to draw only visible cells.
	(draw_connections_iso): New function.
	(draw_terrain_iso): Call it.
	(draw_map_outline): Add isometric case.


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