public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
* xconq ./ChangeLog kernel/side.h kernel/side.c ...
@ 2000-08-01 9:17 shebs
0 siblings, 0 replies; 2+ messages in thread
From: shebs @ 2000-08-01 9:17 UTC (permalink / raw)
To: xconq-cvs
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 2000-08-01 09:17:13
Modified files:
. : ChangeLog
kernel : side.h side.c read.c write.c
Log message:
Use a hash table for unit views.
* side.h (Side unit_views): Declare as pointer to pointer.
* side.c (VIEW_HASH_SIZE): New macro.
(init_view): Allocate hash table.
(unit_view_at, add_unit_view, remove_unit_view): Use hash table.
(add_unit_view_raw): New function.
* read.c (interp_unit_views): Call it.
* write.c (write_side_view): Iterate over area to find unit views.
^ permalink raw reply [flat|nested] 2+ messages in thread
* xconq ./ChangeLog kernel/side.h kernel/side.c ...
@ 2000-12-28 8:04 shebs
0 siblings, 0 replies; 2+ messages in thread
From: shebs @ 2000-12-28 8:04 UTC (permalink / raw)
To: xconq-cvs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-12-28 8:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-01 9:17 xconq ./ChangeLog kernel/side.h kernel/side.c shebs
2000-12-28 8:04 shebs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).