/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* Ken Stevens
* Steve McClure
* Ron Koenderink, 2005-2006
- * Markus Armbruster, 2005-2006
+ * Markus Armbruster, 2005-2007
*/
#include <config.h>
-#include <stdio.h>
-#include <time.h>
-#include "misc.h"
-#include "player.h"
-#include "version.h"
-#include "ship.h"
-#include "optlist.h"
#include "commands.h"
-#include "file.h"
+#include "nuke.h"
+#include "optlist.h"
+#include "ship.h"
+#include "version.h"
static void show_custom(void);
static void show_opts(int val);
pr("By default, countries use %s coordinate system.\n",
(players_at_00) ? "the deity's" : "their own");
pr("\n");
- pr("An Empire time unit is %d second%s long.\n",
- s_p_etu, s_p_etu != 1 ? "s" : "");
- pr("Use the 'update' command to find out the time of the next update.\n");
+ pr("Use the 'show' command to find out the time of the next update.\n");
pr("The current time is %19.19s.\n", ctime(&now));
pr("An update consists of %d empire time units.\n", etu_per_update);
pr("Each country is allowed to be logged in %d minutes a day.\n",
m_m_p_d);
+ if (*game_days != 0)
+ pr("Game days are %s\n", game_days);
+ if (*game_hours != 0)
+ pr("Game hours are %s\n", game_hours);
pr("It takes %.2f civilians to produce a BTU in one time unit.\n",
(1.0 / (btu_build_rate * 100.0)));
pr("\n");
pr("Torpedo damage is 2d%d+%d.\n", torpedo_damage, torpedo_damage - 2);
pr("The attack factor for para & assault troops is %0.2f.\n",
assault_penalty);
- pr("%0.f%% of fallout leaks into each surrounding sector.\n",
+ pr("%.0f%% of fallout leaks into each surrounding sector.\n",
fallout_spread * 100.0 * MIN(24, etu_per_update));
pr("Fallout decays by %.0f%% per update\n",
100.0 - (decay_per_etu + 6.0) * fallout_spread * MIN(24, etu_per_update) * 100.0);