From b85f1b8529adf4810f99bfef62a80f064cf35e7e Mon Sep 17 00:00:00 2001 From: aerkefiende Date: Tue, 29 Mar 2011 18:02:03 +0000 Subject: [PATCH] new functions copyent and pasteent git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6157 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/docs.cfg | 4 +++- docs/reference.xml | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/config/docs.cfg b/config/docs.cfg index b1c83856..633e5238 100644 --- a/config/docs.cfg +++ b/config/docs.cfg @@ -568,6 +568,7 @@ docident [closestenttype] [Restrict 'closest entity' display to one entity type. docargument [A] [entity type] [] [0]; docident [copy] [Copies the current selection into a buffer.]; docremark [hotkey c]; +docident [copyent] [Copies the current closest entity into a buffer.]; docident [corner] [Makes the current selection into a "corner".]; docremark [Currently there is only one type of corner (a 45 degree one), only works on a single unit (cube) at a time. It can be positioned either next to 2 solid walls or in the middle of 2 higher floorlevels and 2 lower ones forming a diagonal (and similar with ceiling).]; docremark [In both cases, the corner will orient itself automatically depending on its neighbours, behaviour with other configurations than the 2 above is unspecified. Since the latter configuration generates possibly 2 floor and 2 ceiling levels, up to 4 textures are used: for example for the 2 floors the higher one will of the cube itself, and the lower one of a neighbouring low cube. You can make bigger corners at once by issuing "corner" on grid aligned 2x2/4x4/8x8 selections, with equal size solid blocks next to them.]; @@ -712,6 +713,7 @@ docargument [TYPE] [0|1|100] [] [0]; 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.]; docremark [hotkey v]; +docident [pasteent] [Pastes a previously copied entity.]; docident [perlin] [Generates a perlin noise landscape in the current selection.]; docargument [S] [the scale, frequency of the features] [default is 10] [0]; docargument [E] [the random seed] [integer] [0]; @@ -1545,4 +1547,4 @@ docargument [N] [TODO] [min -1/max 3/default 0]; docident [texturescale] [TODO]; docargument [N] [TODO] [min 16/max 64/default 32]; docident [voicecomsounds] [TODO]; -docargument [N] [TODO] [min 0/max 2/default 1]; +docargument [N] [TODO] [min 0/max 2/default 1]; \ No newline at end of file diff --git a/docs/reference.xml b/docs/reference.xml index d8d5b0bb..c24d78a8 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -2402,6 +2402,16 @@ Output: + + Copies the current closest entity into a buffer. + + Only works while in edit mode. + + + + + + Pastes a previously copied selection. @@ -2414,6 +2424,16 @@ Output: + + Pastes a previously copied entity. + + Only works while in edit mode. + + + + + + Repeats the last texture edit throughout the map.