]> git.pond.sub.org Git - empserver/blobdiff - include/empobj.h
Record news more compactly
[empserver] / include / empobj.h
index 2610c18ee6b1406693d645b90a761fcb9bc10b81..373ec0212ea745376a556258bee78b6ad0f7f155 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,7 +26,7 @@
  *  ---
  *
  *  empobj.h: General empire objects.
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2006
  *     Markus Armbruster, 2006-2008
@@ -57,6 +57,7 @@ struct empobj {
      */
     short ef_type;
     short uid;
+    unsigned seqno;
     time_t timestamp;
     /* end of part matching struct emptypedstr */
     natid own;         /* valid if EFF_OWNER is in table's flags */
@@ -67,7 +68,7 @@ struct empobj {
     signed char effic;
     signed char mobil;
     unsigned char off;
-    short tech;        
+    short tech;
     char group;                /* valid if EFF_GROUP is in table's flags */
     coord opx, opy;
     short mission;
@@ -82,8 +83,7 @@ union empobj_storage {
     struct lndstr land;
     struct lonstr loan;
     struct loststr lost;
-    struct natstr nat; 
-    struct nwsstr news;
+    struct natstr nat;
     struct nukstr nuke;
     struct plnstr plane;
     struct realmstr realm;