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/side.h kernel/side.c ...


CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sources.redhat.com	2000-12-28 08:04:09

Modified files:
	.              : ChangeLog 
	kernel         : side.h side.c run.c unit.c plan.c 
	mac            : macunit.c macwins.c 
	curses         : ccmd.c 
	tcltk          : tkcmd.c 

Log message:
	Streamline handling of can-build testing, add cases for
	can-develop.
	* side.h (Side candevelop): New field.
	(side_can_develop): New macro.
	* side.c (create_side): Allocate candevelop.
	* run.c (update_canbuild_vector): Fill in candevelop vector too.
	* unit.c (unit_can_build_type): New function.
	* plan.c (plan_offense_support, plan_colonize_support,
	plan_explorer_support): Use it.
	* macunit.c (build_construction_menu): Ditto.
	* tkcmd.c (do_build): Ditto.
	* ccmd.c (do_build): Ditto.
	
	* tkcmd.c (do_fire, aux_fire_at): Rewrite to use same code for
	keyboard and menu select cases.
	(common_fire_at): New function.
	(do_fire_into, aux_fire_into, common_fire_into): Similarly.
	
	* macwins.c (adjust_construction_controls): Use could_create
	and could_develop.


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