]> git.pond.sub.org Git - empserver/blobdiff - include/news.h
Record news more compactly
[empserver] / include / news.h
index 5665a92fa223cc77fb562daeb9fe3d59d6f85bfc..b6853a99e286a5b92485e6d3b972b729fc7932dc 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 @@
  *  ---
  *
  *  news.h: Definitions for Empire News
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Thomas Ruschak
 #include "nsc.h"
 
 struct nwsstr {
-    /* initial part must match struct empobj */
-    short ef_type;
-    short nws_uid;
-    unsigned nws_seqno;
-    time_t nws_timestamp;
-    /* end of part matching struct empobj */
     natid nws_ano;             /* "actor" country # */
     unsigned char nws_vrb;     /* action (verb) */
     natid nws_vno;             /* "victim" country # */
     signed char nws_ntm;       /* number of times */
+    short nws_duration;                /* last time at nws_when + nws_duration */
     time_t nws_when;           /* time of action */
 };