]> git.pond.sub.org Git - empserver/blobdiff - include/plane.h
Update known contributors comments
[empserver] / include / plane.h
index e080099b644fbed5b8b539766a11cd163e991a7a..f1d61e94dd8af5763499ebc1203d5e6831b6673e 100644 (file)
@@ -1,11 +1,11 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
- *                           Ken Stevens, Steve McClure
+ *  Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *                Ken Stevens, Steve McClure, Markus Armbruster
  *
- *  This program is free software; you can redistribute it and/or modify
+ *  Empire is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
+ *  the Free Software Foundation, either version 3 of the License, or
  *  (at your option) any later version.
  *
  *  This program is distributed in the hope that it will be useful,
@@ -14,8 +14,7 @@
  *  GNU General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  *  ---
  *
@@ -31,7 +30,7 @@
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
- *     Markus Armbruster, 2004-2009
+ *     Markus Armbruster, 2004-2010
  */
 
 #ifndef PLANE_H
@@ -42,7 +41,7 @@
 #include "types.h"
 
 #define PLN_TYPE_MAX   46
-#define        PLANE_MINEFF    10
+#define PLANE_MINEFF   10
 
 struct plnstr {
     /* initial part must match struct empobj */
@@ -74,9 +73,9 @@ struct plnstr {
     float pln_theta;           /* position in orbital sine wave */
 };
 
-#define        PLN_LAUNCHED    bit(0)  /* Flying (satellite: in orbit) */
-#define        PLN_SYNCHRONOUS bit(1)  /* A satellite in geo-synchronous orbit */
-#define        PLN_AIRBURST    bit(2)  /* Airburst the nuke we're armed with */
+#define PLN_LAUNCHED   bit(0)  /* Flying (satellite: in orbit) */
+#define PLN_SYNCHRONOUS        bit(1)  /* A satellite in geo-synchronous orbit */
+#define PLN_AIRBURST   bit(2)  /* Airburst the nuke we're armed with */
 
 struct plchrstr {
     char *pl_name;             /* full name of type of plane */
@@ -106,9 +105,9 @@ struct plchrstr {
 #define P_S    bit(7)          /* Spy ability */
 #define P_I    bit(8)          /* Imaging ability (advanced spying) */
 #define P_O    bit(9)          /* Orbital ability (a satellite) */
-/* unused      bit(10) */
+/* unused      bit(10) */
 #define P_N    bit(11)         /* Nuclear RV interceptor (abm) */
-/* unused      bit(12) */
+/* unused      bit(12) */
 #define P_E    bit(13)         /* extra light */
 #define P_K    bit(14)         /* chopper */
 #define P_A    bit(15)         /* ASW (Anti-Sub Warfare) */
@@ -165,6 +164,7 @@ extern int pln_next_on_unit(int);
 extern int ac_flak_dam(int, int, int);
 extern void ac_encounter(struct emp_qelem *, struct emp_qelem *, coord,
                         coord, char *, int);
+extern int ac_damage_plane(struct plnstr *, natid, int, int, char *);
 
 /* src/lib/subs/aswplnsubs.c */
 extern int on_shiplist(int, struct shiplist *);