--- /dev/null
+/*
+ * Empire - A multi-player, client/server Internet based war game.
+ * Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Ken Stevens, Steve McClure
+ *
+ * This program 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
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * 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
+ *
+ * ---
+ *
+ * See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
+ * related information and legal notices. It is expected that any future
+ * projects/authors will amend these files as needed.
+ *
+ * ---
+ *
+ * plague.h: plague defines.
+ *
+ */
+
+#ifndef _PLAGUE_H_
+#define _PLAGUE_H_
+
+#define PLG_HEALTHY 0
+#define PLG_DYING 1
+#define PLG_INFECT 2
+#define PLG_INCUBATE 3
+#define PLG_EXPOSED 4
+
+#endif /* _PLAGUE_H_ */
+++ /dev/null
-/*
- * Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
- * Ken Stevens, Steve McClure
- *
- * This program 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * 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
- *
- * ---
- *
- * See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- * related information and legal notices. It is expected that any future
- * projects/authors will amend these files as needed.
- *
- * ---
- *
- * var.h: various variable definitions
- *
- * Known contributors to this file:
- *
- */
-
-#ifndef _VAR_H_
-#define _VAR_H_
-
-#define PLG_HEALTHY 0
-#define PLG_DYING 1
-#define PLG_INFECT 2
-#define PLG_INCUBATE 3
-#define PLG_EXPOSED 4
-
-#endif /* _VAR_H_ */
#include <string.h>
#include "misc.h"
#include "player.h"
-#include "var.h"
+#include "plague.h"
#include "sect.h"
#include "nat.h"
#include "ship.h"
#include "optlist.h"
#include "commands.h"
-static int build_nuke(register struct sctstr *sp,
- register struct nchrstr *np, short *vec);
-static int build_ship(register struct sctstr *sp,
- register struct mchrstr *mp, short *vec,
+static int build_nuke(struct sctstr *sp,
+ struct nchrstr *np, short *vec);
+static int build_ship(struct sctstr *sp,
+ struct mchrstr *mp, short *vec,
int tlev);
-static int build_land(register struct sctstr *sp,
- register struct lchrstr *lp, short *vec,
+static int build_land(struct sctstr *sp,
+ struct lchrstr *lp, short *vec,
int tlev);
-static int build_bridge(register struct sctstr *sp, short *vec);
-static int build_tower(register struct sctstr *sp, short *vec);
-static int build_plane(register struct sctstr *sp,
- register struct plchrstr *pp, short *vec,
+static int build_bridge(struct sctstr *sp, short *vec);
+static int build_tower(struct sctstr *sp, short *vec);
+static int build_plane(struct sctstr *sp,
+ struct plchrstr *pp, short *vec,
int tlev);
static int cash; /* static ok */
}
static int
-build_ship(register struct sctstr *sp, register struct mchrstr *mp,
+build_ship(struct sctstr *sp, struct mchrstr *mp,
short *vec, int tlev)
{
struct shpstr ship;
}
static int
-build_land(register struct sctstr *sp, register struct lchrstr *lp,
+build_land(struct sctstr *sp, struct lchrstr *lp,
short *vec, int tlev)
{
struct lndstr land;
}
static int
-build_bridge(register struct sctstr *sp, short *vec)
+build_bridge(struct sctstr *sp, short *vec)
{
struct sctstr sect;
int val;
}
static int
-build_nuke(register struct sctstr *sp, register struct nchrstr *np,
+build_nuke(struct sctstr *sp, struct nchrstr *np,
short *vec)
{
int avail;
}
static int
-build_plane(register struct sctstr *sp, register struct plchrstr *pp,
+build_plane(struct sctstr *sp, struct plchrstr *pp,
short *vec, int tlev)
{
struct plnstr plane;
}
static int
-build_tower(register struct sctstr *sp, short *vec)
+build_tower(struct sctstr *sp, short *vec)
{
struct sctstr sect;
int val;