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
|
@ -70,18 +70,19 @@ struct realmstr {
|
|||
/* initial part must match struct empobj */
|
||||
short ef_type;
|
||||
short r_uid; /* realm table index */
|
||||
time_t r_timestamp; /* Last time this realm was touched */
|
||||
natid r_cnum; /* country number */
|
||||
/* end of part matching struct empobj */
|
||||
unsigned short r_realm; /* realm number */
|
||||
short r_xl, r_xh; /* horizontal bounds */
|
||||
short r_yl, r_yh; /* vertical bounds */
|
||||
time_t r_timestamp; /* Last time this realm was touched */
|
||||
};
|
||||
|
||||
struct natstr {
|
||||
/* initial part must match struct empobj */
|
||||
short ef_type;
|
||||
short nat_uid; /* equals nat_cnum */
|
||||
time_t nat_timestamp;
|
||||
natid nat_cnum; /* our country number */
|
||||
/* end of part matching struct empobj */
|
||||
enum nat_status nat_stat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue