This is the mail archive of the
xconq-cvs@sources.redhat.com
mailing list for the Xconq project.
xconq ./ChangeLog kernel/ai.c kernel/iplayer.c ...
- To: xconq-cvs at sourceware dot cygnus dot com
- Subject: xconq ./ChangeLog kernel/ai.c kernel/iplayer.c ...
- From: shebs at sourceware dot cygnus dot com
- Date: 30 Nov 2000 17:08:26 -0000
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sources.redhat.com 2000-11-30 09:08:26
Modified files:
. : ChangeLog
kernel : ai.c iplayer.c mplayer.c plan.c run.c task.c
unit.h
mac : macunit.c
Log message:
* unit.h (ai_controlled): New macro.
* ai.c, iplayer.c, mplayer.c, plan.c, run.c, macunit.c: Use it
everywhere.
* ai.c (offensive_worth, defensive_worth): Break complicated
expressions into several statements.
* iplayer.c (iplayerinited): Remove, never used.
(iplayer_react_to_new_side, iplayer_save_state,
iplayer_theater_at, iplayer_at_desig): Remove, never used.
* run.c (move_one_unit_multiple): Rework test of AI units
needing to run task reactions.
* task.c (execute_task): Don't skip to task reaction if unit
is not AI controlled.