synchronized docs.cfg with reference.xml
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7557 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+32
-31
@@ -3,6 +3,12 @@
|
||||
// To generate this file automatically, please carefully read the comment at the top of reference.xml
|
||||
|
||||
docsection [CubeScript]
|
||||
docident [-] [Performs a subtraction.];
|
||||
docargument [A] [the minuend] [] [0];
|
||||
docargument [B] [the subtrahend] [] [0];
|
||||
docident [--] [Decrements an alias by 1.];
|
||||
docargument [A] [the alias name] [] [0];
|
||||
docexample [i = 0; -- i; echo $i] [Output: -1];
|
||||
docident [!] [Performs a negation.];
|
||||
docargument [A] [argument] [] [0];
|
||||
docident [!=] [Determines if two values are not equal.];
|
||||
@@ -30,6 +36,11 @@ docremark [Example: *=f foo 13.37];
|
||||
docident [*f] [Performs a floating point multiplication.];
|
||||
docargument [A] [the multiplicand] [] [0];
|
||||
docargument [B] [the multiplier] [] [0];
|
||||
docident [||] [logical OR.];
|
||||
docargument [A] [first value] [] [0];
|
||||
docargument [B] [second value] [] [0];
|
||||
docexample [echo (|| 1 0)] [output: 1];
|
||||
docexample [echo (|| 0 0)] [output: 0];
|
||||
docident [+] [Performs an addition.];
|
||||
docargument [A] [the first summand] [] [0];
|
||||
docargument [B] [the second summand] [] [0];
|
||||
@@ -51,26 +62,6 @@ docremark [Example: +=f foo 13.37];
|
||||
docident [+f] [Adds up two floating-point numbers.];
|
||||
docargument [A] [the first summand] [float] [0];
|
||||
docargument [B] [the second summand] [float] [0];
|
||||
docident [-] [Performs a subtraction.];
|
||||
docargument [A] [the minuend] [] [0];
|
||||
docargument [B] [the subtrahend] [] [0];
|
||||
docident [--] [Decrements an alias by 1.];
|
||||
docargument [A] [the alias name] [] [0];
|
||||
docexample [i = 0; -- i; echo $i] [Output: -1];
|
||||
docident [--f] [Decrements an alias by 1.];
|
||||
docargument [A] [the alias name] [] [0];
|
||||
docexample [i = 4.14; --f i; echo $i] [Output: 3.14];
|
||||
docident [-=] [Subtracts a value from an alias.];
|
||||
docargument [A] [the alias to subtract from] [] [0];
|
||||
docargument [B] [value to be subtracted] [] [0];
|
||||
docremark [Example: -= foo 1337];
|
||||
docident [-=f] [Subtracts a floating-point value from an alias.];
|
||||
docargument [A] [the alias to subtract from] [] [0];
|
||||
docargument [B] [value to be subtracted] [] [0];
|
||||
docremark [Example: -=f foo 13.37];
|
||||
docident [-f] [Subtracts two floating-point numbers.];
|
||||
docargument [A] [the minuend] [float] [0];
|
||||
docargument [B] [the subtrahend] [float] [0];
|
||||
docident [<] [Determines if a value is smaller than a second value.];
|
||||
docargument [A] [the first value] [] [0];
|
||||
docargument [B] [the second value] [] [0];
|
||||
@@ -87,9 +78,17 @@ docident [=] [Determines if two values are equal.];
|
||||
docargument [A] [first value] [] [0];
|
||||
docargument [B] [second value] [] [0];
|
||||
docexample [echo there are only (concatword (= 1 1) (= 1 0)) types of people in the world] [Output: there are only 10 types of people in the world];
|
||||
docident [-=] [Subtracts a value from an alias.];
|
||||
docargument [A] [the alias to subtract from] [] [0];
|
||||
docargument [B] [value to be subtracted] [] [0];
|
||||
docremark [Example: -= foo 1337];
|
||||
docident [=f] [Compares if a particular floating-point value is equal to another floating-point value.];
|
||||
docargument [A] [The first value.] [] [0];
|
||||
docargument [B] [The second value.] [] [0];
|
||||
docident [-=f] [Subtracts a floating-point value from an alias.];
|
||||
docargument [A] [the alias to subtract from] [] [0];
|
||||
docargument [B] [value to be subtracted] [] [0];
|
||||
docremark [Example: -=f foo 13.37];
|
||||
docident [>] [Determines if a value is bigger than a second value.];
|
||||
docargument [A] [the first value] [] [0];
|
||||
docargument [B] [the second value] [] [0];
|
||||
@@ -201,6 +200,12 @@ docargument [B] [] [the divisor] [0];
|
||||
docident [execute] [Executes the specified string as CubeScript.];
|
||||
docargument [S] [the string to execute] [] [0];
|
||||
docexample [execute (concat echo (addpunct fov 3))] [Example output: 90.0];
|
||||
docident [-f] [Subtracts two floating-point numbers.];
|
||||
docargument [A] [the minuend] [float] [0];
|
||||
docargument [B] [the subtrahend] [float] [0];
|
||||
docident [--f] [Decrements an alias by 1.];
|
||||
docargument [A] [the alias name] [] [0];
|
||||
docexample [i = 4.14; --f i; echo $i] [Output: 3.14];
|
||||
docident [findcn] [find client number (cn)];
|
||||
docargument [N] [NAME] [] [0];
|
||||
docident [findkey] [Returns the name of a key via a specified code.];
|
||||
@@ -387,11 +392,6 @@ docargument [cond] [the condition] [the code evaluated before each iteration] [0
|
||||
docargument [body] [the body to execute on each iteration] [] [0];
|
||||
docremark [This command sets the alias "i" from 0 to N-1 for every iteration. Note that the condition here has to have [], otherwise it would only be evaluated once.];
|
||||
docexample [alias i 0; while [ (< $i 10) ] [ echo $i; alias i (+ $i 1) ]] [];
|
||||
docident [||] [logical OR.];
|
||||
docargument [A] [first value] [] [0];
|
||||
docargument [B] [second value] [] [0];
|
||||
docexample [echo (|| 1 0)] [output: 1];
|
||||
docexample [echo (|| 0 0)] [output: 0];
|
||||
docsection [General]
|
||||
docident [addserver] [Adds a server to the list of server to query in the server list menu.];
|
||||
docargument [S] [the address of the server (hostname or IP)] [] [0];
|
||||
@@ -977,6 +977,7 @@ docargument [N] [skin id] [] [0];
|
||||
docident [skin_rvsf] [Choose skin when playing for team RVSF.];
|
||||
docargument [N] [skin id] [] [0];
|
||||
docident [sndtoggle] [Toggles between your primary weapon and your secondary weapon. (must be binded to a key)];
|
||||
docident [sortpckservers] [Sorts the available packages source servers by ascendant ping. The fastest to reach is then used by default.];
|
||||
docident [spectate] [Toggles spectator mode.];
|
||||
docident [spectatemode] [Sets the desired spectating mode.];
|
||||
docargument [M] [the mode] [2 (1st-person), 3 (3rd-person), 4 (3rd-person transparent), 5 (free flying), 6 (overview)] [0];
|
||||
@@ -1212,12 +1213,12 @@ docident [nextclosestent] [Choose another 'closest ent'.];
|
||||
docremark [Use this, when two entities are placed in exactly the same location.];
|
||||
docident [nextplayerstart] [Visit next player spawn entity.];
|
||||
docargument [TYPE] [0|1|100] [] [0];
|
||||
docident [oldselstyle] [Enables or disables using triangles to render the editing grid/current selection instead of squares.];
|
||||
docargument [N] [0 off, 1 on] [min 0/max 1/default 1];
|
||||
docident [old_editbinds] [Enables or disables the old editing binds.];
|
||||
docremark [If disabled, an updated editing binds system is used, see the comments in "/config/resetbinds.cfg" for more info.];
|
||||
docexample [old_editbinds = 0] [disables the old editing binds];
|
||||
docexample [old_editbinds = 1] [enables the old editing binds];
|
||||
docident [oldselstyle] [Enables or disables using triangles to render the editing grid/current selection instead of squares.];
|
||||
docargument [N] [0 off, 1 on] [min 0/max 1/default 1];
|
||||
docident [onNewMap] [If this alias exists, it will be automatically executed when you start a new map.];
|
||||
docident [paste] [Pastes a previously copied selection.];
|
||||
docremark [To paste a selection back requires a same size selection at the destination location. If it is not the same size the selection will be resized automatically prior to the paste operation (with the red dot as anchor), which is easier for large selections.];
|
||||
@@ -1676,13 +1677,13 @@ docident [scorchttl] [];
|
||||
docargument [V] [] [min 0/max 30000/default 10000];
|
||||
docident [scorefont] [Whether a special monospace font should be used to render the text on the scoreboard.];
|
||||
docargument [M] [normal (0) or monospace (1)] [min 0/max 1/default 0];
|
||||
docident [screenres] [Changes the screen resolution];
|
||||
docargument [W] [width] [] [0];
|
||||
docargument [H] [height] [] [0];
|
||||
docident [scr_h] [Sets the screen height.];
|
||||
docargument [] [the screen height] [min 0/max 768/default 10000];
|
||||
docident [scr_w] [Sets the screen width.];
|
||||
docargument [] [the screen width] [min 0/max 1024/default 10000];
|
||||
docident [screenres] [Changes the screen resolution];
|
||||
docargument [W] [width] [] [0];
|
||||
docargument [H] [height] [] [0];
|
||||
docident [setfont] [Changes the current font.];
|
||||
docargument [N] [Font name] [name of the font] [0];
|
||||
docident [setgamma] [Sets the current map's default dynamic gamma.];
|
||||
@@ -2180,4 +2181,4 @@ docident [setwptriggernr] [TODO: Description];
|
||||
docargument [A] [TODO] [] [0];
|
||||
docident [showedithide] [shows the settings of edithide (sparklies)];
|
||||
docident [testvel] [TODO];
|
||||
docargument [N] [TODO] [min 0/max 1/default 0];
|
||||
docargument [N] [TODO] [min 0/max 1/default 0];
|
||||
|
||||
Reference in New Issue
Block a user