From c9304f1f9977d91e47e6d0147d6b4a5ed308a822 Mon Sep 17 00:00:00 2001 From: Bukz Date: Sat, 16 Apr 2011 13:55:31 +0000 Subject: [PATCH] fixes/updates git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6255 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/docs.cfg | 4 ++++ config/menus_edit.cfg | 2 +- docs/reference.xml | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/config/docs.cfg b/config/docs.cfg index cd651cf6..3fcebd18 100644 --- a/config/docs.cfg +++ b/config/docs.cfg @@ -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]; diff --git a/config/menus_edit.cfg b/config/menus_edit.cfg index 74e6743b..73d8a6d4 100644 --- a/config/menus_edit.cfg +++ b/config/menus_edit.cfg @@ -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 ] diff --git a/docs/reference.xml b/docs/reference.xml index fff4a251..de1dba5c 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -3402,6 +3402,23 @@ Output: Find what media the map depends on, this is used for mediapack providers. + + + Enables or disables the old editing binds. + + + + disables the old editing binds + + + + enables the old editing binds + + + + If disabled, an updated editing binds system is used, see the comments in "/config/resetbinds.cfg" for more info. + +