xconq ./ChangeLog kernel/ai.c kernel/iplayer.c ...
shebs@sourceware.cygnus.com
shebs@sourceware.cygnus.com
Thu Nov 30 09:08:00 GMT 2000
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.
More information about the Xconq-cvs
mailing list