New command show updates:

(show): New sub-command.
(player_coms): Update its c_form.
(show_updates, fmttime2822): New.

(vers): Show game_days and game_hours.

(upda): Mark obsolete and point to show updates.
(vers): Point to show rather than update.

Rewrite much of info zdone.
This commit is contained in:
Markus Armbruster 2007-07-15 13:34:22 +00:00
parent 87eeea32c9
commit a57645340c
12 changed files with 111 additions and 26 deletions

View file

@ -61,11 +61,15 @@ vers(void)
pr("By default, countries use %s coordinate system.\n",
(players_at_00) ? "the deity's" : "their own");
pr("\n");
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");