From 9d27861f4919e86c8139aad1e303fe44b5d7e73d Mon Sep 17 00:00:00 2001 From: Bukz Date: Sat, 30 Apr 2011 00:46:11 +0000 Subject: [PATCH] menuitem/docs for r6397 git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6398 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/docs.cfg | 2 ++ config/menus_settings.cfg | 1 + docs/reference.xml | 15 +++++++++++++++ 3 files changed, 18 insertions(+) diff --git a/config/docs.cfg b/config/docs.cfg index 4ca7572e..a669539d 100644 --- a/config/docs.cfg +++ b/config/docs.cfg @@ -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.]; diff --git a/config/menus_settings.cfg b/config/menus_settings.cfg index f66c4011..a53dde89 100644 --- a/config/menus_settings.cfg +++ b/config/menus_settings.cfg @@ -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 ] ] ] ] ] ] ] diff --git a/docs/reference.xml b/docs/reference.xml index 2ed9df6a..9483d7b1 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -857,6 +857,9 @@ + + + @@ -864,7 +867,19 @@ + + + + + + + Enables or disables the ability of hudecho to output text to the heads up display. + + + + + Dump all command arguments to STDOUT