* Known contributors to this file:
* Ken Stevens, 1995
* Steve McClure, 1996-2000
- * Markus Armbruster, 2006-2014
+ * Markus Armbruster, 2006-2015
*/
#include <config.h>
if (good)
*outs = '\0';
else
- sprintf(outs, "defender\t%1.2f\t%1.2f\t%1.2f\t%1.2f\n\n", df, ds,
+ sprintf(outs, "defender\t%1.2f\t%1.2f\t%1.2f\t%1.2f\n", df, ds,
du, dp);
if (def->own) {
if (good < 0)
pr("%s", osupports);
if (*dsupportp != 1.0)
pr("%s", dsupports);
+ pr("\n");
if (def->own) {
wu(0, def->own, "\n\t\tsupport values\n");
wu(0, def->own, "\t\tforts\tships\tunits\tplanes\n");
wu(0, def->own, "%s", osupports);
if (*dsupportp != 1.0)
wu(0, def->own, "%s", dsupports);
+ wu(0, def->own, "\n");
}
}
Play#1 output Play#1 1 support values
Play#1 output Play#1 1 forts ships units planes
Play#1 output Play#1 1 attacker 0.00 0.00 0.41 0.26
+ Play#1 output Play#1 1
Play#1 output Play#1 1 Final attack strength: 12
Play#1 output Play#1 1 Final defense strength: 187
Play#1 output Play#1 1 Final odds: 6%
Play#8 output Play#8 1 support values
Play#8 output Play#8 1 forts ships units planes
Play#8 output Play#8 1 attacker 0.00 0.00 0.41 0.26
+ Play#8 output Play#8 1
Play#8 output Play#8 1 1 (#1) lost 6 troops attacking -6,-4
Play#8 output Play#8 1 We lost 0 troops defending
Play#8 output Play#8 1