]> git.pond.sub.org Git - empserver/blobdiff - include/news.h
Extend the common header of struct empobj to include uid
[empserver] / include / news.h
index 7ffe6735a0f69a12df75bf8e1b1333ab82a99075..cc182a9109a14a72f7be77cc93d326b7f346166d 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
 #include "nsc.h"
 
 struct nwsstr {
+    /* initial part must match struct empobj */
     short ef_type;
-    natid nws_ano;             /* "actor" country # */
     short nws_uid;             /* unused */
+    /* end of part matching struct empobj */
+    natid nws_ano;             /* "actor" country # */
     signed char nws_vrb;       /* action (verb) */
     natid nws_vno;             /* "victim" country # */
     signed char nws_ntm;       /* number of times */