From ede58a2065389c452b326748812144cb149f511d Mon Sep 17 00:00:00 2001 From: Stan Date: Wed, 10 May 2023 16:02:53 +0000 Subject: [PATCH] Fix two oversights. This was SVN commit r27639. --- source/ps/GameSetup/GameSetup.cpp | 4 ++ source/tools/entdocs/convertrng.xsl | 84 ++++++++++++++++++++++++----- 2 files changed, 76 insertions(+), 12 deletions(-) diff --git a/source/ps/GameSetup/GameSetup.cpp b/source/ps/GameSetup/GameSetup.cpp index 0c621f96f8..d046f9a4fc 100644 --- a/source/ps/GameSetup/GameSetup.cpp +++ b/source/ps/GameSetup/GameSetup.cpp @@ -843,8 +843,12 @@ CParamNode GetTemplate(const std::string& templateName) * "Alice" joins the match as player 2: * -autostart-client=127.0.0.1 -autostart-playername="Alice" * The players use the developer overlay to control players. + * * 2) Load Alpine Lakes random map with random seed, 2 players (Athens and Britons), and player 2 is PetraBot: * -autostart="random/alpine_lakes" -autostart-seed=-1 -autostart-players=2 -autostart-civ=1:athen -autostart-civ=2:brit -autostart-ai=2:petra + * + * 3) Observe the PetraBot on a triggerscript map: + * -autostart="random/jebel_barkal" -autostart-seed=-1 -autostart-players=2 -autostart-civ=1:athen -autostart-civ=2:brit -autostart-ai=1:petra -autostart-ai=2:petra -autostart-player=-1 */ bool Autostart(const CmdLineArgs& args) { diff --git a/source/tools/entdocs/convertrng.xsl b/source/tools/entdocs/convertrng.xsl index d33d6e6a3f..17f29c5b3d 100644 --- a/source/tools/entdocs/convertrng.xsl +++ b/source/tools/entdocs/convertrng.xsl @@ -96,7 +96,7 @@

- +

@@ -110,7 +110,7 @@ - +

RELAX NG Grammar

@@ -151,13 +151,32 @@
 
 
 
-
-  

- -

Optional.

-
- -

.

+ + + + + + + + + +

+
+ +

+
+
+ +

Optional.

+
+ + +

+
+ +

.

+
+
@@ -174,7 +193,7 @@ - +

Value is one of:

@@ -276,7 +295,13 @@ - + + + + + + + @@ -289,6 +314,41 @@ - + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + +