Document struct equivalence hack and implications of EFF_XY and

EFF_GROUP.
This commit is contained in:
Markus Armbruster 2005-05-28 08:03:31 +00:00
parent 7ef7aa83b8
commit 4a67b91f8a
6 changed files with 18 additions and 0 deletions

View file

@ -47,6 +47,7 @@
#define LND_MINMOBCOST 0.200
struct lndstr {
/* initial part must match struct genitem */
short ef_type;
natid lnd_own; /* owner's country num */
short lnd_uid; /* unit id (land unit) */
@ -60,6 +61,7 @@ struct lndstr {
coord lnd_opx, lnd_opy; /* Op sector coords */
short lnd_mission; /* mission code */
short lnd_radius; /* mission radius */
/* end of part matching struct genitem */
s_char lnd_flags; /* unit flags (unused) */
short lnd_ship; /* pointer to transporting ship */
s_char lnd_harden; /* for missiles */