(info, html): Implement.
(all): Depend on info. Flatten info directory. This undoes the move to one subdirectory per chapter, which was done during Empire 2. The structure doesn't buy us much, as the info name space is flat, and it complicates makefiles. Overhaul info.pl: - It now wants to run in the root of the build tree. - Information on source files and subjects is now stored in makefiles, thus info.pl no longer picks up random junk from the file system. - Clean up Perl anachronisms, in particular use subroutine arguments and results rather than global variables where convenient. - Change format of diagnostics to the common format used by GNU tools, so that Emacs and the like can parse it. - Catch missing .SA. - When creating a new subject file, cowardly refuse to overwrite an existing file. - Subject files contain topics sorted by chapter, then by name. The order of chapters used to depend on how Perl sorts hash keys. Fix it.
This commit is contained in:
parent
641879abc7
commit
4ea4a01fd5
258 changed files with 318 additions and 239 deletions
17
info/add.t
Normal file
17
info/add.t
Normal file
|
@ -0,0 +1,17 @@
|
|||
.TH Command ADD
|
||||
.NA add "Add/Remove a country in the game"
|
||||
.LV Expert
|
||||
.SY "add <NAT> <NAME> <REP> <visitor|new|active|god|delete> <check|wipe|ignore>"
|
||||
.EX add 1 bunky mypass n i
|
||||
This adds a new player to the game.
|
||||
.EX add 2 visitor visitor v i
|
||||
This adds a visitor country to the game.
|
||||
.EX add 1 bunky mypass d w
|
||||
This removes bunky and all his sectors & units from the game.
|
||||
.EX add 1 bunky mypass d c
|
||||
Just to make sure that bunky doesn't still have any stuff in the game.
|
||||
.EX add 36 martian outerspace a i
|
||||
This will add a new country which will be able to send/receive
|
||||
telegrams but won't have any land. For example, you could give a
|
||||
newbie helper a country like this.
|
||||
.SA "newcap, Deity"
|
Loading…
Add table
Add a link
Reference in a new issue