/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * 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
* Steve McClure, 1998-2000
*/
+#include <limits.h>
#include <string.h>
#include "misc.h"
#include "player.h"
#include "var.h"
#include "sect.h"
#include "nat.h"
-#include "retreat.h"
#include "ship.h"
#include "land.h"
#include "nuke.h"
struct lndstr land;
struct nstr_item nstr;
int avail, cost;
- struct natstr *natp;
float eff = LAND_MINEFF / 100.0;
int mil, lcm, hcm, gun, shell;
int freeland = 0;
hcm = roundavg(((double)lp->l_hcm * eff));
lcm = roundavg(((double)lp->l_lcm * eff));
- natp = getnatp(player->cnum);
-
if (sp->sct_type != SCT_HEADQ) {
pr("Land Units must be built in headquarters.\n");
return 0;