menuitem/docs for r6397

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6398 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-04-30 00:46:11 +00:00
parent e09157c29b
commit 9d27861f49
3 changed files with 18 additions and 0 deletions
+2
View File
@@ -251,6 +251,8 @@ docident [echo] [Outputs text to the console.];
docargument [L] [List of strings] [] [0];
docident [hudecho] [Outputs text to the console and heads up display.];
docargument [L] [List of strings] [] [0];
docident [allowhudechos] [Enables or disables the ability of hudecho to output text to the heads up display.];
docargument [N] [0 off, 1 on] [min 0/max 1/default 1] [0];
docident [exec] [Executes all commands in a specified config file.];
docargument [C] [the config file] [] [0];
docident [forward] [Moves the player forward.];
+1
View File
@@ -395,6 +395,7 @@ menuitemcheckbox "Auto map download: " "$autogetmap" [ autogetma
menuitemcheckbox "Show gamemodes as acronyms: " "$modeacronyms" [ modeacronyms $arg1 ]
menuitemcheckbox "Show quit dialog when quitting: " "$askquit" [ askquit = $arg1 ]
menuitemcheckbox "Auto-screenshot: " "$autoscreenshot" [ autoscreenshot $arg1 ]
menuitemcheckbox "Allow HUD echos: " "$allowhudechos" [ allowhudechos $arg1 ]
menuitemslider "Servers to ping at once: " 0 50 "$maxservpings" 5 "" [ maxservpings $arg1 ]
menuitemslider "Milliseconds between pinging servers: " 1000 60000 "$servpingrate" 1000 "" [ servpingrate $arg1 ]
menuitemslider "Screenshot type: " -1 4 "$__screenshottype" 1 [ "JPEG (Terrible Quality)" "JPEG (Bad Quality)" "JPEG (Good Quality)" "JPEG (Best Quality)" "PNG (Lossless)" "BMP (Lossless)" ] [ if (= $arg1 -1) [ screenshottype 1; jpegquality 50; __screenshottype = -1 ] [ if (= $arg1 0) [ screenshottype 1; jpegquality 70; __screenshottype = 0 ] [ if (= $arg1 1) [ screenshottype 1; jpegquality 85; __screenshottype = 1 ] [ if (= $arg1 2) [ screenshottype 1; jpegquality 100; __screenshottype = 2 ] [ if (= $arg1 3) [ screenshottype 2; __screenshottype = 3 ] [ if (= $arg1 4) [ screenshottype 0; __screenshottype = 4 ] ] ] ] ] ] ]
+15
View File
@@ -857,6 +857,9 @@
<arguments>
<argument token="L" description="List of strings"/>
</arguments>
<references>
<identifierReference identifier="hudecho"/>
</references>
</command>
<command name="hudecho">
@@ -864,7 +867,19 @@
<arguments>
<argument token="L" description="List of strings"/>
</arguments>
<references>
<identifierReference identifier="allowhudechos"/>
<identifierReference identifier="echo"/>
</references>
</command>
<variable name="allowhudechos"/>
<description>Enables or disables the ability of hudecho to output text to the heads up display.</description>
<value token="N" description="0 off, 1 on" minValue="0" maxValue="1" defaultValue="1"/>
<references>
<identifierReference identifier="hudecho"/>
</references>
</variable>
<command name="debugargs">
<description>Dump all command arguments to STDOUT</description>