This is the mail archive of the
xconq-cvs@sources.redhat.com
mailing list for the Xconq project.
xconq ./ChangeLog kernel/side.h kernel/side.c ...
- To: xconq-cvs at sourceware dot cygnus dot com
- Subject: xconq ./ChangeLog kernel/side.h kernel/side.c ...
- From: shebs at sourceware dot cygnus dot com
- Date: 28 Dec 2000 16:04:09 -0000
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.