Document struct equivalence hack and implications of EFF_XY and
EFF_GROUP.
This commit is contained in:
parent
7ef7aa83b8
commit
4a67b91f8a
6 changed files with 18 additions and 0 deletions
|
@ -60,6 +60,7 @@
|
|||
#define MAXSHPNAMLEN 24
|
||||
|
||||
struct shpstr {
|
||||
/* initial part must match struct genitem */
|
||||
short ef_type;
|
||||
natid shp_own; /* owner's country num */
|
||||
short shp_uid; /* unit id (ship #) */
|
||||
|
@ -73,6 +74,7 @@ struct shpstr {
|
|||
coord shp_opx, shp_opy; /* Op sector coords */
|
||||
short shp_mission; /* mission code */
|
||||
short shp_radius; /* mission radius */
|
||||
/* end of part matching struct genitem */
|
||||
u_char shp_nplane; /* number of planes on board */
|
||||
u_char shp_nland; /* number of land units on board */
|
||||
short shp_armor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue