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
|
@ -45,6 +45,7 @@ struct sctstr {
|
|||
/* initial part must match struct empobj */
|
||||
short ef_type;
|
||||
short sct_uid; /* equals sctoff(sct_x, sct_y) */
|
||||
time_t sct_timestamp; /* Last time this sector was written to */
|
||||
natid sct_own; /* owner's country num */
|
||||
coord sct_x; /* x coord of sector */
|
||||
coord sct_y; /* y coord of sector */
|
||||
|
@ -87,7 +88,6 @@ struct sctstr {
|
|||
unsigned char sct_road; /* Road value of a sector */
|
||||
unsigned char sct_rail; /* Rail value of a sector */
|
||||
unsigned char sct_defense; /* Defensive value of a sector */
|
||||
time_t sct_timestamp; /* Last time this sector was written to */
|
||||
};
|
||||
|
||||
enum d_navigation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue