This is the mail archive of the
xconq-cvs@sources.redhat.com
mailing list for the Xconq project.
xconq ./ChangeLog kernel/unit.h kernel/ai.c ke ...
- To: xconq-cvs at sourceware dot cygnus dot com
- Subject: xconq ./ChangeLog kernel/unit.h kernel/ai.c ke ...
- From: shebs at sourceware dot cygnus dot com
- Date: 16 Sep 2000 12:54:30 -0000
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 2000-09-16 05:54:30
Modified files:
. : ChangeLog
kernel : unit.h ai.c cmd.c run.c ui.c skelconq.c
mac : maclist.c macwins.c
curses : cdraw.c
Log message:
* unit.h (unit_in_vector): New macro, access to unit vector.
* ai.c (run_ai_plan_adjust): Use it.
* cmd.c (apply_to_all_selected_units): Ditto.
* run.c (units_still_acting, side_move_some_units): Ditto.
* skelconq.c (list_actors): Ditto.
* ui.c (autonext_unit, autonext_unit_inbox): Ditto.
* maclist.c (draw_unit_list_entry, etc): Ditto.
* macwins.c (get_selected_construction_unit, etc): Ditto.
* cdraw.c (draw_unit_list_entry): Ditto.
* run.c (need_ai_plan_research): Remove.
(run_side_research): Don't set it.
* ai.c (run_local_ai): Test numatypes instead of
need_ai_plan_research.
* run.c (side_move_some_units): Add more comments, use local vars
for side->actionvector.
(run_construction): Test side_has_ai instead of side_has_local_ai,
fix occupant test.