/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
#include <config.h>
-#include "misc.h"
-#include "player.h"
-#include "file.h"
-#include "sect.h"
-#include "path.h"
-#include "nat.h"
-#include "xy.h"
+#include "combat.h"
+#include "commands.h"
#include "land.h"
-#include "nsc.h"
#include "mission.h"
-#include "ship.h"
-#include "combat.h"
+#include "path.h"
#include "retreat.h"
-#include "commands.h"
+#include "ship.h"
int
boar(void)
struct lndstr land;
struct nstr_item ni;
int foundland;
- s_char *p;
- s_char buf[1024];
+ char *p;
+ char buf[1024];
att_combat_init(def, EF_SHIP);
/*
return att_free_lists(&olist, 0);
}
- /*
- * Estimate the defense strength and give the player a chance to abort
- */
-
- ototal = att_estimate_defense(A_BOARD, off, &olist, def, a_spy);
+ ototal = att_get_offense(A_BOARD, off, &olist, def);
if (att_abort(A_BOARD, off, def)) {
pr("Board aborted\n");
att_empty_attack(A_BOARD, 0, def);