Put a timestamp into struct emptypedstr
Make sure all members of unit empobj_storage share it. Add matching timestamp member to struct comstr, struct empobj, struct gamestr, struct lonstr, struct natstr, struct nwsstr, struct trdstr, struct trtstr. The timestamp isn't yet set for these. To be fixed. Move the timestamp member to the right place in struct lndstr, struct loststr, struct realmstr, struct nukstr, struct plnstr, struct sctstr, struct shpstr.
This commit is contained in:
parent
e1a68c721d
commit
a680c81110
16 changed files with 23 additions and 20 deletions
|
@ -41,13 +41,13 @@ struct loststr {
|
|||
/* initial part must match struct empobj */
|
||||
short ef_type;
|
||||
int lost_uid;
|
||||
time_t lost_timestamp; /* When it was lost */
|
||||
natid lost_owner; /* Who lost it */
|
||||
/* end of part matching struct empobj */
|
||||
short lost_type; /* Type of thing (ship, plane, nuke, land, sector) */
|
||||
short lost_id; /* ID of lost thing */
|
||||
coord lost_x;
|
||||
coord lost_y;
|
||||
time_t lost_timestamp; /* When it was lost */
|
||||
};
|
||||
|
||||
#define getlost(n, p) ef_read(EF_LOST, (n), (p))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue