(vers): Don't report KSU distribution (1.04 in all known versions),
Chainsaw version (4.00 since Empire 2, ca. 1995) and Wolfpack version (used to be the version number after the first dot). (KSU_DIST, CHAINSAW_DIST, WOLFPACK_DIST): Unused, remove. (version): New. (EMP_VERS_MAJOR, EMP_VERS_MINOR, EMP_VERS_PATCH): Remove. Users changed to use version[] instead. version[] is slightly easier to initialize from configure.ac. (check-version): No longer needed, remove. (legal): New. (vers, main): Show it.
This commit is contained in:
parent
3f0219a419
commit
5109a30910
5 changed files with 51 additions and 19 deletions
|
@ -55,7 +55,7 @@ vers(void)
|
|||
time_t now;
|
||||
|
||||
(void)time(&now);
|
||||
pr("Empire %d.%d.%d\n(KSU distribution %2.2f, Chainsaw version %2.2f, Wolfpack version %2.2f)\n\n", EMP_VERS_MAJOR, EMP_VERS_MINOR, EMP_VERS_PATCH, (float)KSU_DIST, (float)CHAINSAW_DIST, (float)WOLFPACK_DIST);
|
||||
pr("%s\n\n", version);
|
||||
pr("The following parameters have been set for this game:\n");
|
||||
pr("World size is %d by %d.\n", WORLD_X, WORLD_Y);
|
||||
pr("There can be up to %d countries.\n", MAXNOC);
|
||||
|
@ -166,10 +166,11 @@ vers(void)
|
|||
show_opts(0);
|
||||
pr("\n\nSee \"info Options\" for a detailed list of options and descriptions.");
|
||||
pr("\n\n");
|
||||
pr("The person to annoy if something goes wrong is:\n\t%s\n\t(%s).\n",
|
||||
pr("The person to annoy if something goes wrong is:\n\t%s\n\t(%s).\n\n",
|
||||
privname, privlog);
|
||||
pr("You can get your own copy of the source from "
|
||||
"http://www.wolfpackempire.com/\n");
|
||||
"http://www.wolfpackempire.com/\n\n");
|
||||
pr("%s", legal);
|
||||
return RET_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue