xconq ./ChangeLog kernel/side.h kernel/side.c ...
shebs@sourceware.cygnus.com
shebs@sourceware.cygnus.com
Thu Dec 28 08:04:00 GMT 2000
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.
More information about the Xconq-cvs
mailing list