This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Table: occupant-can-have-occupants
- From: Hans Ronne <hronne at telia dot com>
- To: Eric McDonald <emcdonal at cps dot cmich dot edu>
- Cc: xconq7 at sources dot redhat dot com
- Date: Tue, 17 Jun 2003 01:26:33 +0200
- Subject: Re: Table: occupant-can-have-occupants
>Hello,
>
>The occupant-can-have-occupants table was present in xconq 7.4.1 but is
>missing
>from pre-7.5. I grepped the ChangeLog files in the pre-7.5 sources, and all of
>the files in the kernel directory, but I can find no reference to it.
>
>The unit.c code in the 7.4.1 sources is:
>
>if (unit->occupant != NULL && !uu_occ_can_have_occs(u, u2))
> return FALSE;
>
>It resides in can_carry(), which is missing from pre-7.5. Perhaps because
>can_occupy() appears to have been rewritten to use type_can_occupy()
>instead of
>can_carry()?
>
>The entry in table.def is missing in pre-7.5, which makes me think this was a
>conscious decision. Can anyone tell me why this was removed?
See ChangeLog 2002 (2002-07-21). This table was not used in any game, and
it greatly complicated the pre-flight volume checking code, contributing to
some bugs. I therefore decided to get rid of it.
Hans