]> git.pond.sub.org Git - empserver/blobdiff - include/plane.h
Update copyright notice
[empserver] / include / plane.h
index d40e7d3d3d33a3d9c08f9bfc0fe877cc36dab1bf..bbf2709f4bb08193e4e446404eb21a5ee866df49 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2015, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -30,7 +30,7 @@
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
- *     Markus Armbruster, 2004-2009
+ *     Markus Armbruster, 2004-2013
  */
 
 #ifndef PLANE_H
@@ -65,10 +65,10 @@ struct plnstr {
     short pln_radius;          /* mission radius */
     /* end of part matching struct empobj */
     unsigned char pln_range;   /* total distance, not radius */
+    signed char pln_harden;    /* for missiles */
     int pln_ship;              /* uid of carrier, or -1 */
     int pln_land;              /* uid of transporting land unit, or -1 */
-    signed char pln_harden;    /* for missiles */
-    signed char pln_flags;     /* State of the plane */
+    int pln_flags;             /* State of the plane */
     short pln_access;          /* Last tick mob was updated (MOB_ACCESS) */
     float pln_theta;           /* position in orbital sine wave */
 };
@@ -125,6 +125,7 @@ struct plchrstr {
 struct plist {
     struct emp_qelem queue;    /* list of planes */
     int load;                  /* number of bombs or items carried */
+    short pstage;              /* plague stage */
     struct plchrstr *pcp;      /* pointer to desc of plane */
     struct plnstr plane;       /* struct plane */
 };