This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Improved rearm and repair code
- From: Hans Ronne <hronne at comhem dot se>
- To: xconq7 at sources dot redhat dot com
- Date: Tue, 20 Jul 2004 02:30:49 +0200
- Subject: Improved rearm and repair code
I have checked in the second part of the improved resupply code, which now
also works for rearm and repair tasks. The main difference from the old
code is that supply inlengths and outlengths (and repair ranges) now are
handled correctly. Thus, if supplies or repair can be obtained at som
distance from another unit, the AI will now move the unit in need to the
closest cell within the supply or repair range.
Hans
P.S. I have also fixed an annoying bug in the X11 interface which has been
there for as long as I can remember. Just in case somebody though this
interface was no longer maintained :-).