fixes/updates

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6255 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-04-16 13:55:31 +00:00
parent b03adbc87f
commit c9304f1f99
3 changed files with 22 additions and 1 deletions
+4
View File
@@ -881,6 +881,10 @@ docexample [fogcolour (genhex)] [Example output: Trying hexadecimal color: 0x2FC
docident [genwc] [Randomly generates a valid watercolour value.];
docremark [You must be in edit-mode for this command to function.];
docexample [genwc] [Example output: Trying water color: 2 17 29];
docident [old_editbinds] [Enables or disables the old editing binds.];
docexample [old_editbinds = 0] [disables the old editing binds];
docexample [old_editbinds = 1] [enables the old editing binds];
docremark [If disabled, an updated editing binds system is used, see the comments in "/config/resetbinds.cfg" for more info.];
docsection [Menus]
docident [chmenumdl] [Changes the menu model of a specified menu.];
docargument [N] [the name of the menu] [] [0];
+1 -1
View File
@@ -22,7 +22,7 @@ menuitem "" -1
menuitemcheckbox "Enable fullbright: " "$fullbright" [ fullbright $arg1 ]
menuitem "" -1
menuitem "Random coloured light: " -1
menuitemtextinput "Radius: " "$tmp_cradius" [ tmp_cradius = $arg1 ] 2
menuitemtextinput "Radius: " [ result $tmp_cradius ] [ if (&& (! (> $arg1 32)) (! (< $arg1 1))) [ tmp_cradius = $arg1 ] [ echo (c 3)Error: (c 2) $arg1 (c 5)is not a valid radius for a light entity. ] ]
menuitem "Place random light..." [ gencl $tmp_cradius ]
menuitem "Update random light..." [ gencl ]
+17
View File
@@ -3402,6 +3402,23 @@ Output:
<command name="checkmapdependencies">
<description>Find what media the map depends on, this is used for mediapack providers.</description>
</command>
<variable name="old_editbinds">
<description>Enables or disables the old editing binds.</description>
<examples>
<example>
<code><![CDATA[old_editbinds = 0]]></code>
<explanation>disables the old editing binds</explanation>
</example>
<example>
<code><![CDATA[old_editbinds = 1]]></code>
<explanation>enables the old editing binds</explanation>
</example>
</examples>
<remarks>
<remark>If disabled, an updated editing binds system is used, see the comments in "/config/resetbinds.cfg" for more info.</remark>
</remarks>
</variable>
</identifiers>
</section>