Index: /java/FramclipsePlugin/.classpath
===================================================================
--- /java/FramclipsePlugin/.classpath	(revision 12)
+++ /java/FramclipsePlugin/.classpath	(revision 12)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src/main/java"/>
+	<classpathentry kind="src" path="src/main/resources"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="lib" path="lib/jdom.jar"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
Index: /java/FramclipsePlugin/.project
===================================================================
--- /java/FramclipsePlugin/.project	(revision 12)
+++ /java/FramclipsePlugin/.project	(revision 12)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>FramclipsePlugin</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>net.sourceforge.metrics.builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>net.sourceforge.metrics.nature</nature>
+	</natures>
+</projectDescription>
Index: /java/FramclipsePlugin/build.properties
===================================================================
--- /java/FramclipsePlugin/build.properties	(revision 12)
+++ /java/FramclipsePlugin/build.properties	(revision 12)
@@ -0,0 +1,12 @@
+source.. = src/main/java/,\
+           src/main/resources/
+output.. = bin/
+bin.includes = plugin.xml,\
+               META-INF/,\
+               .,\
+               src/main/resources/frams.gif,\
+               lib/jdom.jar,\
+               lib/jaxen-core.jar,\
+               lib/jaxen-jdom.jar,\
+               lib/saxpath.jar,\
+               license.txt
Index: /java/FramclipsePlugin/framscript.xml
===================================================================
--- /java/FramclipsePlugin/framscript.xml	(revision 12)
+++ /java/FramclipsePlugin/framscript.xml	(revision 12)
@@ -0,0 +1,5575 @@
+<?xml version="1.0"?>
+<!DOCTYPE framscript SYSTEM "framscript.dtd">
+<?xml-stylesheet type="text/xsl" href="framscript.xsl"?>
+<framscript>
+	<type name="expdef" context="expdef file">
+		<element name="code" type="string"/>
+		<element name="info" type="string"/>
+		<element name="name" type="string"/>
+		<element name="neurons" type="string"/>
+	</type>
+	<type name="prop" context="properties file">
+		<element name="flags" type="integer"/>
+		<element name="group" type="string"/>
+		<element name="help" type="string"/>
+		<element name="id" type="string"/>
+		<element name="name" type="string"/>
+		<element name="type" type="string"/>
+	</type>
+	<type name="stat" context="state file">
+		<element name="flags" type="integer"/>
+		<element name="group" type="string"/>
+		<element name="help" type="string"/>
+		<element name="id" type="string"/>
+		<element name="name" type="string"/>
+		<element name="type" type="string"/>
+	</type>
+	<type name="style" context="style file">
+<description><![CDATA[General visual style properties.]]></description>
+		<element name="code" type="string"/>
+		<element name="info" type="string"/>
+		<element name="name" type="string"/>
+		<element name="neurons" type="integer" min="0" max="1"/>
+		<element name="smooth" type="integer" min="0" max="1"/>
+		<element name="style" type="string"/>
+		<element name="tex" type="integer" min="0" max="2"/>
+		<element name="rebuild" function="true"/>
+		<element name="streload" function="true"/>
+	</type>
+	<type name="show" context="show file">
+<description><![CDATA[Show properties for the Framsticks Theater (from the *.show file).]]></description>
+		<element name="code" type="string"/>
+		<element name="dispinfo" type="integer" min="0" max="2"/>
+		<element name="expdef" type="string"/>
+		<element name="info" type="string"/>
+		<element name="mode" type="integer" min="0" max="2"/>
+		<element name="name" type="string"/>
+		<element name="regname" type="string"/>
+		<element name="show" type="string"/>
+		<element name="showlog" type="integer" min="0" max="1"/>
+		<element name="switchmode" type="integer" min="0" max="2"/>
+		<element name="switchshows" type="string">
+			<description><![CDATA[names of the shows participating in automatic switching (comma separated). Use * as a wildcard.]]></description>
+		</element>
+		<element name="switchtime" type="integer" min="0" max="9999">
+			<description><![CDATA[time between switching (seconds)]]></description>
+		</element>
+		<element name="userspeed" type="integer" min="0" max="5" default="3"/>
+		<element name="about" function="true"/>
+		<element name="dummy" function="true">
+			<description><![CDATA[This is the empty item in the Theater's menu]]></description>
+		</element>
+		<element name="reload" function="true"/>
+	</type>
+	<type name="class" context="neuro file">
+		<element name="code" type="string"/>
+		<element name="description" type="string"/>
+		<element name="icon" type="string"/>
+		<element name="longname" type="string"/>
+		<element name="name" type="string"/>
+		<element name="prefinputs" type="integer"/>
+		<element name="preflocation" type="integer" min="0" max="2"/>
+		<element name="prefoutput" type="integer" min="0" max="1"/>
+		<element name="vhints" type="integer"/>
+	</type>
+	<type name="script" context="script file">
+		<element name="code" type="string"/>
+		<element name="group" type="string"/>
+		<element name="help" type="string"/>
+		<element name="name" type="string"/>
+	</type>
+	<type name="Collision" context="Global context">
+<description><![CDATA[Used in collision handlers (On___Collision). Contains the detailed information about the colliding parts (Part1,Part2 and their associated MechParts and Creatures). See the onFoodCollision() function in standard.expdef]]></description>
+		<element name="Creature1" type="Object"/>
+		<element name="Creature2" type="Object"/>
+		<element name="MechPart1" type="Object"/>
+		<element name="MechPart2" type="Object"/>
+		<element name="Part1" type="Object"/>
+		<element name="Part2" type="Object"/>
+	</type>
+	<type name="CrCollision" context="Global context">
+<description><![CDATA[Used in creature collision handlers (On___CrCollision).]]></description>
+		<element name="Creature1" type="Object"/>
+		<element name="Creature2" type="Object"/>
+	</type>
+	<type name="Creature" context="Global context">
+<description><![CDATA[The object inside the simulated world, including its physical structure, neural network and performance data. Food pieces, obstacles and other movable objects can be implemented as Creatures even though the are not "alive". See also: Population.]]></description>
+		<element name="bodysim" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[(Physical) body simulation can be disabled for individual objects which makes them immovable. Disabled objects can still participate in collisions depending on their collisions masks.
+
+Bugs: the standard collision handler does not work for disabled objects when ODE simulation is used. It means that these objects won't physically interact with other objects. The custom (scripting) handlers work as expected.]]></description>
+		</element>
+		<element name="buildproblems" type="integer"/>
+		<element name="c_velocity" type="float"/>
+		<element name="c_vertpos" type="float"/>
+		<element name="c_vertvelocity" type="float"/>
+		<element name="center_x" type="float">
+			<description><![CDATA[Center of gravity]]></description>
+		</element>
+		<element name="center_y" type="float">
+			<description><![CDATA[Center of gravity]]></description>
+		</element>
+		<element name="center_z" type="float">
+			<description><![CDATA[Center of gravity]]></description>
+		</element>
+		<element name="distance" type="float"/>
+		<element name="drive" type="XYZ">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="energ0" type="float"/>
+		<element name="energy" type="float"/>
+		<element name="energy_b" type="float"/>
+		<element name="energy_m" type="float"/>
+		<element name="energy_p" type="float"/>
+		<element name="geno" type="Geno">
+			<description><![CDATA[Source genotype for this creature]]></description>
+		</element>
+		<element name="genotype" type="string"/>
+		<element name="gnum" type="integer"/>
+		<element name="group" type="untyped"/>
+		<element name="idleen" type="float"/>
+		<element name="index" type="integer">
+			<description><![CDATA[Index of this Creature in its Population.]]></description>
+		</element>
+		<element name="info" type="string">
+			<description><![CDATA[Additional info or comments]]></description>
+		</element>
+		<element name="lifespan" type="integer"/>
+		<element name="liveModel" type="Model">
+			<description><![CDATA[A Model object that is a copy of the current (temporary) geometry of this creature]]></description>
+		</element>
+		<element name="localDrive" type="XYZ">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="model" type="Model">
+			<description><![CDATA[Source Model for this creature]]></description>
+		</element>
+		<element name="name" type="string"/>
+		<element name="nnenabled" type="integer" min="0" max="1"/>
+		<element name="numjoints" type="integer"/>
+		<element name="numneurons" type="integer"/>
+		<element name="numparts" type="integer"/>
+		<element name="orient" type="Orient">
+			<description><![CDATA[by convention the creature orientation is equal to its first part orientation]]></description>
+		</element>
+		<element name="othermask" type="integer" min="0" max="2147483647" default="0"/>
+		<element name="perf" type="integer" min="0" max="2">
+			<description><![CDATA[Initial value of this property is taken from Population.enableperf]]></description>
+		</element>
+		<element name="pos_x" type="float">
+			<description><![CDATA[(pos_x,pos_y,pos_z) is the point of minimal coordinates ("bottom left corner") of the creature, including imaginary Part sizes (Part.s, usually 1.0). See also: Creature.moveAbs]]></description>
+		</element>
+		<element name="pos_y" type="float">
+			<description><![CDATA[See Creature.pos_x]]></description>
+		</element>
+		<element name="pos_z" type="float">
+			<description><![CDATA[See Creature.pos_x]]></description>
+		</element>
+		<element name="selfcol" type="integer" min="0" max="1">
+			<description><![CDATA[Enable/disable detection of self-collisions (within a creature body). They can only occur when using the ODE simulation engine. If enabled, the creature will have its sticks collide during lifespan.]]></description>
+		</element>
+		<element name="selfcolstate" type="integer" min="0" max="1">
+			<description><![CDATA[Current self-collision state]]></description>
+		</element>
+		<element name="selfmask" type="integer" min="0" max="2147483647" default="0"/>
+		<element name="signals" type="CreatureSignals"/>
+		<element name="size_x" type="float">
+			<description><![CDATA[(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including the imaginary part sizes (Part.s, usually 1.0). A creature consisting of a single default part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius).
+See also: Creature.moveAbs]]></description>
+		</element>
+		<element name="size_y" type="float">
+			<description><![CDATA[See Creature.size_x]]></description>
+		</element>
+		<element name="size_z" type="float">
+			<description><![CDATA[See Creature.size_x]]></description>
+		</element>
+		<element name="uid" type="string"/>
+		<element name="user1" type="untyped"/>
+		<element name="user2" type="untyped"/>
+		<element name="user3" type="untyped"/>
+		<element name="velocity" type="float"/>
+		<element name="vertpos" type="float"/>
+		<element name="vertvel" type="float"/>
+		<element name="currentGeometryAsF0" function="true" type="string"><arguments/></element>
+		<element name="getJoint" function="true" type="Joint">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getMechJoint" function="true" type="MechJoint">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getMechPart" function="true" type="MechPart">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getNeuro" function="true" type="Neuro">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getNeuroDef" function="true" type="NeuroDef">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getPart" function="true" type="Part">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="localToWorld" function="true" type="XYZ">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="move" function="true" type="void">
+			<description><![CDATA[Shift the creature by a given vector.]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="moveAbs" function="true" type="void">
+			<description><![CDATA[Moves the creature so that its origin (pos_x,pos_y,pos_z) is placed at the given location. The origin is the point of minimal coordinates ("bottom left corner"), including imaginary part sizes (Part.s, usually 1.0).
+Assuming a simple single-stick creature "X" having parts at (0,0,0) and (1,0,0),
+
+origin (pos_x,pos_y,pos_z) = (-1,-1,-1)
+size (size_x,size_y,size_z) = (2,1,1)
+
+The following example places the bottom of a creature at a given location (x,y,z):
+Creature.moveAbs(x-(Creature.size_x/2),y-(Creature.size_y/2),z-1.0)
+(assuming that the part size is 1.0)]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="moveLocal" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="rotate" function="true" type="void">
+			<description><![CDATA[Rotate the creature around X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise the further simulation could be disturbed.]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="rotateLocal" function="true" type="void">
+			<description><![CDATA[Rotate the creature around (local) X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise the further simulation could be disturbed.]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="worldToLocal" function="true" type="XYZ">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="CreaturesGroup" context="Global context">
+<description><![CDATA[A set of Creature objects, sharing some high level simulation properties (performance calculation, NN simulation, collision detection, event handling). The groups usually have different roles in the experiment (Creatures groups and Food group in standard.expdef)]]></description>
+		<element name="bodysim" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Enable/disable physical body simulation. This is the initial value of Creature.bodysim for all objects created in this group. For details, see the documentation of Creature.bodysim.]]></description>
+		</element>
+		<element name="colmask" type="integer" min="0" max="65535" default="0">
+			<description><![CDATA[DEPRECATED. You should use selfmask and othermask (these masks are also much easier to understand than the old colmask field).]]></description>
+		</element>
+		<element name="death" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Do creatures die when no energy?]]></description>
+		</element>
+		<element name="em_dyn" type="float" min="0" max="1" default="0">
+			<description><![CDATA[Energy requirements for a muscle
+moving a stick]]></description>
+		</element>
+		<element name="em_stat" type="float" min="0" max="1" default="0">
+			<description><![CDATA[Energy requirements for a muscle
+resisting an external force]]></description>
+		</element>
+		<element name="en_assim" type="float" min="0" max="1" default="0">
+			<description><![CDATA[Maximal energy gain produced by a vertical specialized stick.
+Horizontal specialized sticks get half of this value.]]></description>
+		</element>
+		<element name="enableperf" type="integer" min="0" max="2" default="1">
+			<description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description>
+		</element>
+		<element name="energy" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[If turned off, creature's energy will be constant]]></description>
+		</element>
+		<element name="index" type="integer"/>
+		<element name="killnostable" type="integer" min="0" max="10000000" default="1000000">
+			<description><![CDATA[Creatures that fail to stabilize after the specified waiting period (e.g. because they are continuously rolling) will be killed. 0 disables this feature.]]></description>
+		</element>
+		<element name="name" type="string"/>
+		<element name="nnsim" type="integer" min="0" max="2" default="1">
+			<description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description>
+		</element>
+		<element name="othermask" type="integer" min="0" max="2147483647" default="0">
+			<description><![CDATA[See selfmask.]]></description>
+		</element>
+		<element name="perfperiod" type="integer" min="0" max="1000000" default="100">
+			<description><![CDATA[Defines how often onUpdate() events are called. Also used to compute partial performance of creatures (distance, speed, etc.) and to determine stabilization.]]></description>
+		</element>
+		<element name="selfcol" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[Detect collisions within creature bodies (only applicable for the ODE simulation engine). This is the initial value of Creature.selfcol for all objects created in this group. If enabled, creatures with self-colliding genotypes are not born, and others will have their sticks collide during lifespan.]]></description>
+		</element>
+		<element name="selfmask" type="integer" min="0" max="2147483647" default="0">
+			<description><![CDATA[Collisions between objects can be handled in two ways:
+ - standard 'mechanical' collision (simple 'rebound' effect)
+ - special script handler (On[GROUPNAME]Collision function)
+
+In the script handler function, use the Collision object to access the two colliding parts of two creatures.
+The first part in the Collision object (i.e. Collision.Creature1) always concerns the creature that belongs to [GROUPNAME].
+The handler is called once for each creature that collides with the creature from [GROUPNAME].
+
+Collision masks determine which one will be used (none and both are also possible). On each collision, selfmask and othermask of the colliding objects are logically ANDed. 16 lower bits (0xffff) enable the standard handler. 16 higher bits (0xffff0000) enable the custom handler. 
+Examples:
+
+1.With one group, all possible combinations of the collision handlers are as follows:
+  - ignore collisions (e.g. selfmask=othermask=0)
+  - use standard handling (e.g. selfmask=othermask=1)
+  - use custom handling (e.g. selfmask=othermask=0x10000)
+  - use standard and custom handling (e.g. selfmask=othermask=0x10001)
+
+2.Two groups yield more interesting cases. Let us consider the 'standard.expdef' setting:
+  Creatures: selfmask=0x10001, othermask=0x20001
+  Food colmask = selfmask=0x20002, othermask=0x10002
+There are three possible scenarios:
+- creature and creature: collision value = 0x10001 & 0x20001 = 1 -> Standard handling will be used (1 is one of the lower 16 bits)
+- food and food: collision value = 0x20002 & 0x10002 = 2 -> As above.
+- creature and food: collision value = (0x10001 & 0x10002) or (0x20002 & 0x20001) = 0x10000 or 0x20000 -> Custom handling will be used (higher 16 bits).
+]]></description>
+		</element>
+		<element name="size" type="integer"/>
+		<element name="stabilperiod" type="integer" min="0" max="1000000" default="100">
+			<description><![CDATA["Performance sampling period" for the stabilization phase.]]></description>
+		</element>
+		<element name="stabledist" type="float" min="0" max="1" default="0.01">
+			<description><![CDATA[A creature is considered stabilized when its center of gravity stays within the specified distance after the "Sampling period while waiting" has elapsed.]]></description>
+		</element>
+		<element name="createFromGeno" function="true" type="Creature">
+			<description><![CDATA[uses the supplied Geno object]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="createFromGenotype" function="true" type="Creature">
+			<description><![CDATA[uses the selected Genotype object]]></description>
+<arguments/></element>
+		<element name="createFromString" function="true" type="Creature">
+			<description><![CDATA[uses the supplied string argument]]></description>
+			<arguments>
+				<argument name="genotype" type="string"/>
+			</arguments>
+		</element>
+		<element name="delete" function="true" type="void">
+			<description><![CDATA[delete creature]]></description>
+			<arguments>
+				<argument name="creature index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="findCreatureAt" function="true" type="Creature">
+			<arguments>
+				<argument name="point" type="Vector"/>
+				<argument name="vector" type="Vector"/>
+			</arguments>
+		</element>
+		<element name="findUID" function="true" type="integer">
+			<arguments>
+				<argument name="uid" type="string"/>
+			</arguments>
+		</element>
+		<element name="get" function="true" type="Creature">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="kill" function="true" type="void">
+			<description><![CDATA[kill creature]]></description>
+			<arguments>
+				<argument name="creature index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="senseCreaturesProperty" function="true" type="float">
+			<description><![CDATA[arguments:
+ - x,y,z (sensor position)
+ - property (name, name[index] or Class:id). name[index] can be used for Vector objects inside the user fields, eg "user2[10]"
+ - exclude (creature object)
+works like a smell sensor for a given property (for all creatures in this group except "exclude").
+The following function reproduces the "classic" framsticks "S" sensor:
+function smellReceptorValue(x,y,z,exclude)
+{
+var i,s=0; for(i=0;i<Populations.size;i++)
+	s+=Populations[0].senseCreaturesProperty(x,y,z,"energy",exclude);
+return s;
+}]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+				<argument name="propertyname" type="string"/>
+				<argument name="exclude" type="Creature"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="CreatureSignals" context="Global context">
+<description><![CDATA[Signal sources associated with the creature. See also: Signal, WorldSignals, NeuroSignals]]></description>
+		<element name="size" type="integer">
+			<description><![CDATA[Number of signals in this set]]></description>
+		</element>
+		<element name="add" function="true" type="Signal">
+			<description><![CDATA[Create a new signal]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+			</arguments>
+		</element>
+		<element name="addProperty" function="true" type="Signal">
+			<description><![CDATA[Create a signal that automatically reflects one of the creature's properties (i.e. its power is equal to the property value).
+Example:
+Creature.signals.addProperty("energy","energy"); //then, Neuro.signals.receive("energy") in custom neuron would work similarly to the built-in smell sensor]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="property" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="clear" function="true" type="void">
+			<description><![CDATA[Delete all signals]]></description>
+<arguments/></element>
+		<element name="get" function="true" type="Signal">
+			<description><![CDATA[Access individual signals (index=0 .. size-1)]]></description>
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="receive" function="true" type="float">
+			<description><![CDATA[Receive the aggregated signal power in a given channel.]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+			</arguments>
+		</element>
+		<element name="receiveFilter" function="true" type="float">
+			<description><![CDATA[Receive the aggregated signal power in a given channel.
+
+Additional filtering options:
+- Max distance only receives the neighbor signals (based on their physical location)
+- Flavor filtering: only signals having the flavor close to the specified one will be received. The filter value is the maximum allowed difference.]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="max distance" type="float"/>
+				<argument name="flavor" type="float"/>
+				<argument name="filter" type="float"/>
+			</arguments>
+		</element>
+		<element name="receiveSet" function="true" type="Vector">
+			<description><![CDATA[Get all signals in the specified range. Returns a readonly vector object containing Signal objects (individual signals can be accessed as result[0], .., result[result.size-1]).]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="max distance" type="float"/>
+			</arguments>
+		</element>
+		<element name="receiveSingle" function="true" type="Signal">
+			<description><![CDATA[Find the signal source having the highest signal power (including the distance)]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="max distance" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Dictionary" context="Global context">
+<description><![CDATA[Dictionary associates stored values with string keys ("key" is the first argument in get/set/remove functions). Integer "key" can be used to enumerate all elements.
+Example: var d=Dictionary.new(); d.set("name","John"); d.set("age",44);
+var i,element; for(i=0;i<d.size;i++) element=d.get(i);]]></description>
+		<element name="size" type="integer"/>
+		<element name="toString" type="string"/>
+		<element name="clear" function="true" type="void"><arguments/></element>
+		<element name="find" function="true" type="string">
+			<description><![CDATA[returns the element key or null if not found]]></description>
+			<arguments>
+				<argument name="value" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="get" function="true" type="untyped">
+			<arguments>
+				<argument name="key" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="new" function="true" type="Dictionary"><arguments/></element>
+		<element name="remove" function="true" type="void">
+			<arguments>
+				<argument name="key" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="set" function="true" type="void">
+			<arguments>
+				<argument name="key" type="untyped"/>
+				<argument name="value" type="untyped"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="File" context="Global context">
+<description><![CDATA[Provides read/write access to the filesystem. Used in the experiment definition to save the experiment state (onExpSave). Other (general purpose) use of this class is rather limited. Files are created in the "scripts_output" subdirectory of the directory where the Framsticks executable is located.]]></description>
+		<element name="EOF" type="integer" min="0" max="1"/>
+		<element name="info" type="string"/>
+		<element name="name" type="string"/>
+		<element name="path" type="string"/>
+		<element name="pathseparator" type="string"/>
+		<element name="append" function="true" type="File ">
+			<arguments>
+				<argument name="filename" type="string"/>
+				<argument name="description" type="string"/>
+			</arguments>
+		</element>
+		<element name="appendDirect" function="true" type="File ">
+			<arguments>
+				<argument name="filename" type="string"/>
+				<argument name="description" type="string"/>
+			</arguments>
+		</element>
+		<element name="close" function="true" type="string">
+			<description><![CDATA[returns file contents if it has been buffered]]></description>
+<arguments/></element>
+		<element name="create" function="true" type="File">
+			<arguments>
+				<argument name="filename" type="string"/>
+				<argument name="description" type="string"/>
+			</arguments>
+		</element>
+		<element name="createDirect" function="true" type="File">
+			<arguments>
+				<argument name="filename" type="string"/>
+				<argument name="description" type="string"/>
+			</arguments>
+		</element>
+		<element name="exists" function="true" type="integer" min="0" max="1">
+			<description><![CDATA[Sample:
+File.exists("default.sim") -> return 0 or 1]]></description>
+<arguments/></element>
+		<element name="flush" function="true" type="void">
+			<description><![CDATA[useful for unbuffered disk files only (openDirect, appendDirect)]]></description>
+<arguments/></element>
+		<element name="new" function="true" type="File "><arguments/></element>
+		<element name="newFromString" function="true" type="File ">
+			<arguments>
+				<argument name="text" type="string"/>
+			</arguments>
+		</element>
+		<element name="open" function="true" type="File ">
+			<arguments>
+				<argument name="filename" type="string"/>
+			</arguments>
+		</element>
+		<element name="readLine" function="true" type="string"><arguments/></element>
+		<element name="readObject" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="readUntilEOF" function="true" type="string"><arguments/></element>
+		<element name="writeComment" function="true" type="void">
+			<arguments>
+				<argument name="anything" type="string"/>
+			</arguments>
+		</element>
+		<element name="writeNameObject" function="true" type="void">
+			<arguments>
+				<argument name="name" type="string"/>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="writeObject" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="writeObjectBegin" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="writeObjectEnd" function="true" type="void"><arguments/></element>
+		<element name="writeObjectField" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+				<argument name="field index or name" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="writeObjectFieldForce" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+				<argument name="field index or name" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="writeObjectFields" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="writeObjectFieldsForce" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="writeString" function="true" type="void">
+			<arguments>
+				<argument name="anything" type="untyped"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="GenePool" context="Global context">
+<description><![CDATA[The static GenePool object refers to the "selected group" as described in GenePools]]></description>
+		<element name="fitfun" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[Enable fitness scaling]]></description>
+		</element>
+		<element name="fitm" type="float" min="0" max="10" default="2">
+			<description><![CDATA[Lower threshold: how many standard deviations below average?
+(avg - n * stddev) - used for fitness shifting]]></description>
+		</element>
+		<element name="fitma" type="float" min="1" max="10" default="2">
+			<description><![CDATA[The best genotype is as many times
+better than the average one]]></description>
+		</element>
+		<element name="fitness" type="string">
+			<description><![CDATA[(intended for advanced users)]]></description>
+		</element>
+		<element name="index" type="integer"/>
+		<element name="name" type="string"/>
+		<element name="size" type="integer">
+			<description><![CDATA[In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype.popsiz field to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype.]]></description>
+		</element>
+		<element name="totalpop" type="integer">
+			<description><![CDATA[Takes into account the Genotype.popsiz field (which may give the total number of instances depending on the experiment definition)]]></description>
+		</element>
+		<element name="addGeno" function="true" type="Genotype">
+			<description><![CDATA[create new Genotype from the supplied Geno object.
+returns the created Genotype.]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="delete" function="true" type="void">
+			<description><![CDATA[delete genotype]]></description>
+			<arguments>
+				<argument name="genotype index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="findGeno" function="true" type="integer">
+			<description><![CDATA[find Genotype matching the supplied Geno object.
+returns genotype index or -1 if not found]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="findUID" function="true" type="integer">
+			<arguments>
+				<argument name="uid" type="string"/>
+			</arguments>
+		</element>
+		<element name="get" function="true" type="Genotype">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="GenePools" context="Global context">
+<description><![CDATA[Manages all genotypes in the experiment, organized in one or more groups. Some functions refer to the "selected genotype" i.e. the genotype number "GenePools.genotype" in the pool number "GenePools.group". For example to access the first genoype in the first group you could do:
+GenePools.group=0; GenePools.genotype=0; var name=Genotype.name;
+However, the preferred way doesn't refer to the static Genotype object:
+ var name=GenePools[0][0].name;
+
+Apart from the Genotypes in the group, there is also one temporary Genotype object used by genetic operators and some functions from GenePools. Genotype points to that object when "GenePools.genotype"=-1. The following code accesses that object before adding it to the genotype group:
+GenePools.newGenotype("X");
+ //makes the temporary object from the "X" genotype, GenePools.genotype is now -1
+GenePools.mutateSelected();
+ //the temporary object is mutated
+Genotype.info="my favorite genotype";
+ //modify the temporary object
+GenePools.copySelected(0);
+ //copy the current, i.e. temporary genotype to the genotype group #0]]></description>
+		<element name="genotype" type="integer">
+			<description><![CDATA[index of the currently selected genotype or -1 if no genotype is selected]]></description>
+		</element>
+		<element name="group" type="integer">
+			<description><![CDATA[index of the currently selected group (gene pool)]]></description>
+		</element>
+		<element name="size" type="integer"/>
+		<element name="addGroup" function="true" type="void">
+			<description><![CDATA[add genotype group]]></description>
+			<arguments>
+				<argument name="name" type="string"/>
+			</arguments>
+		</element>
+		<element name="addPerformanceFromCreature" function="true" type="void">
+			<description><![CDATA[Updates the current Genotype's performance values merging them with the current Creture's performance. It assumes the Genotype.popsiz has a reasonable value and performs the proper weighting. Use your own function instead if these conditions are not met in your experiment.]]></description>
+<arguments/></element>
+		<element name="clear" function="true" type="void">
+			<description><![CDATA[remove all groups except the first one]]></description>
+<arguments/></element>
+		<element name="clearGroup" function="true" type="void">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="copySelected" function="true" type="void">
+			<description><![CDATA[copy selected genotype to another group]]></description>
+			<arguments>
+				<argument name="groupindex" type="integer"/>
+			</arguments>
+		</element>
+		<element name="crossoverSelected" function="true" type="void">
+			<description><![CDATA[Crossover selected genotype with another one (from the genotype group). The resulting genotype is stored in the static Genotype object detached from the genotype group. After calling this function GenePools.genotype is -1 indicating that no genotype from the group is selected.]]></description>
+			<arguments>
+				<argument name="other index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="deleteGroup" function="true" type="void">
+			<description><![CDATA[remove genotype group]]></description>
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="deleteOne" function="true" type="void">
+			<description><![CDATA[delete one individual from the gene pool = decrease popsiz and delete the genotype if the popsiz goes to 0]]></description>
+			<arguments>
+				<argument name="genotype index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="deleteSelected" function="true" type="void">
+			<description><![CDATA[delete selected genotype from the gene pool (uses the selected genotype object)]]></description>
+<arguments/></element>
+		<element name="findGenotype" function="true" type="integer">
+			<description><![CDATA[find a genotype matching the current genotype. It only makes sense when the current genotype is a result of the genetic operator.]]></description>
+<arguments/></element>
+		<element name="findGenotypeForCreature" function="true" type="integer">
+			<description><![CDATA[find a genotype matching the selected creature]]></description>
+<arguments/></element>
+		<element name="get" function="true" type="GenePool">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getFromCreature" function="true" type="void">
+			<description><![CDATA[Copy a genotype from the selected creature. The resulting genotype is stored in the static Genotype object detached from the genotype group.]]></description>
+<arguments/></element>
+		<element name="getFromCreatureObject" function="true" type="void">
+			<description><![CDATA[Copy a genotype from the creature object passed in argument. The resulting genotype is stored in the static Genotype object detached from the genotype group.]]></description>
+			<arguments>
+				<argument type="Creature"/>
+			</arguments>
+		</element>
+		<element name="likeThisRoulette" function="true" type="integer">
+			<description><![CDATA[get random genotype similar to the selected one, fitness proportional]]></description>
+			<arguments>
+				<argument name="minimum similarity" type="float"/>
+			</arguments>
+		</element>
+		<element name="mutateSelected" function="true" type="void">
+			<description><![CDATA[Mutate selected genotype. The resulting genotype is stored in the static Genotype object detached from the genotype group. After calling this function GenePools.genotype is -1 indicating that no genotype from the group is selected.]]></description>
+<arguments/></element>
+		<element name="newGenotype" function="true" type="void">
+			<description><![CDATA[Make the new genotype from the supplied string and select the genotype. The resulting genotype is stored in the static Genotype object detached from the genotype group. After calling this function GenePools.genotype is -1 indicating that no genotype from the group is selected. (call "copySelected" if you want to add this gentype to the genotype group)]]></description>
+			<arguments>
+				<argument name="genotype" type="string"/>
+			</arguments>
+		</element>
+		<element name="random" function="true" type="integer">
+			<description><![CDATA[get random genotype]]></description>
+<arguments/></element>
+		<element name="randomLikeThis" function="true" type="integer">
+			<description><![CDATA[get random genotype similar to the selected one]]></description>
+			<arguments>
+				<argument name="minimum similarity" type="float"/>
+			</arguments>
+		</element>
+		<element name="revroulette" function="true" type="integer">
+			<description><![CDATA[get reverse fitness proportional genotype]]></description>
+<arguments/></element>
+		<element name="roulette" function="true" type="integer">
+			<description><![CDATA[get fitness proportional genotype]]></description>
+<arguments/></element>
+		<element name="tournament" function="true" type="integer">
+			<description><![CDATA[get tournament winner genotype]]></description>
+			<arguments>
+				<argument name="genotypes in tournament" type="integer"/>
+			</arguments>
+		</element>
+		<element name="worst" function="true" type="integer">
+			<description><![CDATA[get worst genotype]]></description>
+<arguments/></element>
+	</type>
+	<type name="GenMan" context="Global context">
+<description><![CDATA[Manages various genetic operations, using appropriate operators for the argument genotype format.]]></description>
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="f0_c_del" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_c_new" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_c_wei" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_del" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_new" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_rsf" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_stf" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_stm" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_n_del" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_n_new" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_n_prp" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_nodel_tag" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[You can tag elements using their 'i' field and the i="mi=d" tag.
+Mutations will not delete such elements.
+The i="mi=dm" combination is allowed.]]></description>
+		</element>
+		<element name="f0_nomod_tag" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[You can tag elements using their 'i' field and the i="mi=m" tag.
+Mutations will not modify properties of such elements.
+The i="mi=md" combination is allowed.]]></description>
+		</element>
+		<element name="f0_p_asm" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_del" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_frc" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_ing" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_mas" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_new" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_pos" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_swp" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0Fuzzy_maxRules" type="integer" min="0" max="999">
+			<description><![CDATA[Maximum number of fuzzy rules]]></description>
+		</element>
+		<element name="f0Fuzzy_maxSets" type="integer" min="0" max="999">
+			<description><![CDATA[Maximum number of fuzzy sets]]></description>
+		</element>
+		<element name="f0Fuzzy_prob0" type="float" min="0" max="1">
+			<description><![CDATA[Probability of adding new fuzzy set with simple rule, which uses this set (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob1" type="float" min="0" max="1">
+			<description><![CDATA[Probability of removing fuzzy set (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob2" type="float" min="0" max="1">
+			<description><![CDATA[Probability of adding new rule (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob3" type="float" min="0" max="1">
+			<description><![CDATA[Probability of removing rule (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob4" type="float" min="0" max="1">
+			<description><![CDATA[Probability of adding new input or output to exisitng rule (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob5" type="float" min="0" max="1">
+			<description><![CDATA[Probability of removing input or output from exisitng rule (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f1_mut_exmod" type="string">
+			<description><![CDATA[Modifiers that will not be added nor deleted during mutation
+(all: RrLlAaCcFfMmSsIiQqWwEe)]]></description>
+		</element>
+		<element name="f1_nmConn" type="float" min="0" max="100" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f1_nmNeu" type="float" min="0" max="100" default="0.05">
+			<description><![CDATA[Adds a (connected) neuron or removes a neuron]]></description>
+		</element>
+		<element name="f1_nmProp" type="float" min="0" max="100" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f1_nmVal" type="float" min="0" max="100" default="0.05"/>
+		<element name="f1_nmWei" type="float" min="0" max="100" default="1"/>
+		<element name="f1_smComma" type="float" min="0" max="100" default="0.02"/>
+		<element name="f1_smJunct" type="float" min="0" max="100" default="0.02"/>
+		<element name="f1_smModif" type="float" min="0" max="100" default="0.1">
+			<description><![CDATA[Modifiers: RrLlAaCcFfMmSsIiQqWwEe]]></description>
+		</element>
+		<element name="f1_smX" type="float" min="0" max="100" default="0.05"/>
+		<element name="f1_xo_propor" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Cross over (exchange) corresponding segments of the two parent genotypes?
+
+f1 uses a two-point crossing over.
+If this option is turned on, cut points will be selected proportionally to neural genes.
+Thus, if both parents have the same number of neurons, then this will be preserved in their children.]]></description>
+		</element>
+		<element name="f2_mutAddOper" type="float" min="0" max="1" default="0.4">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutConnElem" type="float" min="0" max="1" default="0.33">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutDelOper" type="float" min="0" max="1" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutHandleOper" type="float" min="0" max="1" default="0.3">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutJointElem" type="float" min="0" max="1" default="0.33">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutNeuroElem" type="float" min="0" max="1" default="0.33">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutPropOper" type="float" min="0" max="1" default="0.2">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutDelIns" type="float" min="0" max="1" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutDelInsLength" type="integer" min="1" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutDelInsPerChar" type="float" min="0" max="1" default="0.05">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutDuplication" type="float" min="0" max="1" default="0.05">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutSubstitution" type="float" min="0" max="1" default="0.6">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutSubstPerChar" type="float" min="0" max="1" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutTranslocation" type="float" min="0" max="1" default="0.15">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_xovCrossingOver" type="float" min="0" max="1" default="0.2">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_xovGeneTransfer" type="float" min="0" max="1" default="0.8">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f4_mut_add" type="float" min="0" max="100" default="50">
+			<description><![CDATA[mutation: probability of adding a node]]></description>
+		</element>
+		<element name="f4_mut_add_conn" type="float" min="0" max="100" default="15">
+			<description><![CDATA[add node mutation: probability of adding a neural connection]]></description>
+		</element>
+		<element name="f4_mut_add_div" type="float" min="0" max="100" default="20">
+			<description><![CDATA[add node mutation: probability of adding a division]]></description>
+		</element>
+		<element name="f4_mut_add_neupar" type="float" min="0" max="100" default="5">
+			<description><![CDATA[add node mutation: probability of adding a neuron property/modifier]]></description>
+		</element>
+		<element name="f4_mut_add_rep" type="float" min="0" max="100" default="10">
+			<description><![CDATA[add node mutation: probability of adding a repetition]]></description>
+		</element>
+		<element name="f4_mut_add_simp" type="float" min="0" max="100" default="50">
+			<description><![CDATA[add node mutation: probability of adding a random, simple gene]]></description>
+		</element>
+		<element name="f4_mut_del" type="float" min="0" max="100" default="20">
+			<description><![CDATA[mutation: probability of deleting a node]]></description>
+		</element>
+		<element name="f4_mut_mod" type="float" min="0" max="100" default="30">
+			<description><![CDATA[mutation: probability of changing a node]]></description>
+		</element>
+		<element name="gen_extmutinfo" type="integer" min="0" max="2" default="0">
+			<description><![CDATA[If active, information about employed mutation method will be stored in the 'info' field of each mutated genotype.]]></description>
+		</element>
+		<element name="gen_hilite" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Use colors for genes?
+(slows down viewing/editing of huge genotypes)]]></description>
+		</element>
+		<element name="gen_hist" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[Required for phylogenetic analysis]]></description>
+		</element>
+		<element name="genoper_f0" type="integer" min="0" max="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="genoper_f1" type="integer" min="0" max="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="genoper_f2" type="integer" min="0" max="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="genoper_f3" type="integer" min="0" max="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="genoper_f4" type="integer" min="0" max="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="neuadd_N" type="integer" min="0" max="1">
+			<description><![CDATA[Standard neuron
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   Inertia (in) float 0..1
+   Force (fo) float 0..999
+   Sigmoid (si) float -99999..99999
+   State (s) float -1..1]]></description>
+		</element>
+		<element name="neuadd_Nu" type="integer" min="0" max="1">
+			<description><![CDATA[Works like standard neuron (N) but the output value is scaled to 0...+1 instead of -1...+1.
+Having 0 as one of the saturation states should help in "gate circuits", where input signal is passed through or blocked depending on the other singal.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   Inertia (in) float 0..1
+   Force (fo) float 0..999
+   Sigmoid (si) float -99999..99999
+   State (s) float -1..1]]></description>
+		</element>
+		<element name="neuadd_G" type="integer" min="0" max="1">
+			<description><![CDATA[Equilibrium sensor.
+0=the stick is horizontal
++1/-1=the stick is vertical
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Joint
+]]></description>
+		</element>
+		<element name="neuadd_T" type="integer" min="0" max="1">
+			<description><![CDATA[Touch sensor.
+-1=no contact
+0=just touching
+>0=pressing, value depends on the force applied
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+
+
+Properties:
+   Range (r) float 0..1]]></description>
+		</element>
+		<element name="neuadd_S" type="integer" min="0" max="1">
+			<description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
+Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="neuadd_*" type="integer" min="0" max="1">
+			<description><![CDATA[Constant value
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_|" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1
+   bending range (r) float 0..1]]></description>
+		</element>
+		<element name="neuadd_@" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1]]></description>
+		</element>
+		<element name="neuadd_D" type="integer" min="0" max="1">
+			<description><![CDATA[Calculate the difference between the current and previous input value. Multiple inputs are aggregated with respect to their weights
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_Fuzzy" type="integer" min="0" max="1">
+			<description><![CDATA[Refer to publications to learn about this neuron
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   number of fuzzy sets (ns) integer
+   number of rules (nr) integer
+   fuzzy sets (fs) string
+   fuzzy rules (fr) string]]></description>
+		</element>
+		<element name="neuadd_VEye" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   provides output value
+   should be located on a Part
+
+
+Properties:
+   target.x (tx) float
+   target.y (ty) float
+   target.z (tz) float
+   target shape (ts) string
+   perspective (p) float 0.1..10
+   scale (s) float 0.1..100
+   show hidden lines (h) integer 0..1
+   output lines count (each line needs four channels) (o) integer 0..99
+   debug (d) integer 0..1]]></description>
+		</element>
+		<element name="neuadd_VMotor" type="integer" min="0" max="1">
+			<description><![CDATA[Must be connected to the VEye and properly set up.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   number of basic features (noIF) integer
+   number of degrees of freedom (noDim) integer
+   parameters (params) string]]></description>
+		</element>
+		<element name="neuadd_Sti" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="neuadd_LMu" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1]]></description>
+		</element>
+		<element name="neuadd_Water" type="integer" min="0" max="1">
+			<description><![CDATA[Output signal:
+0=on or above water surface
+1=under water (deeper than 1)
+0..1=in the transient area just below water surface
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="neuadd_Energy" type="integer" min="0" max="1">
+			<description><![CDATA[The current energy level divided by the initial energy level.
+Usually falls from initial 1.0 down to 0.0 and then the creature dies. It can rise above 1.0 if enough food is ingested
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_Ch" type="integer" min="0" max="1">
+			<description><![CDATA[Combines all input signals into a single multichannel output; Note: ChSel and ChMux are the only neurons which support multiple channels. Other neurons discard everything except the first channel.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_ChMux" type="integer" min="0" max="1">
+			<description><![CDATA[Outputs the selected channel from the second (multichannel) input. The first input is used as the selector value (-1=select first channel, .., 1=last channel)
+
+Characteristics:
+   uses 2 inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_ChSel" type="integer" min="0" max="1">
+			<description><![CDATA[Outputs a single channel (selected by the "ch" parameter) from multichannel input
+
+Characteristics:
+   uses single input
+   provides output value
+   does not require location in body
+
+
+Properties:
+   channel (ch) integer]]></description>
+		</element>
+		<element name="neuadd_Rnd" type="integer" min="0" max="1">
+			<description><![CDATA[Generates random noise (subsequent random values in the range of -1..+1)
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_Sin" type="integer" min="0" max="1">
+			<description><![CDATA[Output frequency = f0+input
+
+Characteristics:
+   uses single input
+   provides output value
+   does not require location in body
+
+
+Properties:
+   base frequency (f0) float -1..1
+   time (t) float 0..6.28319]]></description>
+		</element>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="crossOver" function="true" type="Geno">
+			<description><![CDATA[returns crossed over genotype]]></description>
+			<arguments>
+				<argument type="Geno"/>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="getSimplest" function="true" type="Geno">
+			<description><![CDATA[returns the simplest genotype for a given encoding (format). 0 means f0, 4 means f4, etc.]]></description>
+			<arguments>
+				<argument name="format" type="integer"/>
+			</arguments>
+		</element>
+		<element name="mutate" function="true" type="Geno">
+			<description><![CDATA[returns mutated Geno object from supplied Geno]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="operReport" function="true" type="void">
+			<description><![CDATA[Show available genetic operators]]></description>
+<arguments/></element>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+		<element name="toHTML" function="true" type="string">
+			<description><![CDATA[returns genotype expressed as colored HTML]]></description>
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="toHTMLshort" function="true" type="string">
+			<description><![CDATA[returns genotype (abbreviated if needed) expressed as colored HTML]]></description>
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="validate" function="true" type="Geno">
+			<description><![CDATA[returns validated (if possible) Geno object from supplied Geno]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="GenManStats" context="Global context">
+<description><![CDATA[Statistics for genetic operations.]]></description>
+		<element name="gen_count" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="gen_mfailed" type="integer">
+			<description><![CDATA[couldn't be performed]]></description>
+		</element>
+		<element name="gen_minvalid" type="integer">
+			<description><![CDATA[couldn't be repaired]]></description>
+		</element>
+		<element name="gen_mutimpr" type="float">
+			<description><![CDATA[total cumulative mutation change]]></description>
+		</element>
+		<element name="gen_mvalid" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="gen_mvalidated" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="gen_xofailed" type="integer">
+			<description><![CDATA[couldn't be performed]]></description>
+		</element>
+		<element name="gen_xoimpr" type="float">
+			<description><![CDATA[total cumulative crossover change]]></description>
+		</element>
+		<element name="gen_xoinvalid" type="integer">
+			<description><![CDATA[couldn't be repaired]]></description>
+		</element>
+		<element name="gen_xovalid" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="gen_xovalidated" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="clrstats" function="true" type="void">
+			<description><![CDATA[]]></description>
+<arguments/></element>
+	</type>
+	<type name="Geno" context="Global context">
+<description><![CDATA[All information about a single genotype.
+This is a genetics-only object which does not contain any performance data. See also: Genotype class]]></description>
+		<element name="autoname" type="string"/>
+		<element name="f0genotype" type="string">
+			<description><![CDATA[converted to f0 genotype]]></description>
+		</element>
+		<element name="format" type="integer">
+			<description><![CDATA[Genotype format]]></description>
+		</element>
+		<element name="genotype" type="string"/>
+		<element name="info" type="string">
+			<description><![CDATA[Additional information or comments]]></description>
+		</element>
+		<element name="isValid" type="integer" min="0" max="1"/>
+		<element name="name" type="string"/>
+		<element name="rawgenotype" type="string">
+			<description><![CDATA[Genotype, excluding the format specifier]]></description>
+		</element>
+		<element name="getConverted" function="true" type="Geno">
+			<arguments>
+				<argument name="format" type="integer"/>
+			</arguments>
+		</element>
+		<element name="new" function="true" type="Geno"><arguments/></element>
+		<element name="newFrom" function="true" type="Geno">
+			<arguments>
+				<argument name="genotype" type="string"/>
+				<argument name="format" type="integer"/>
+				<argument name="name" type="string"/>
+				<argument name="description" type="string"/>
+			</arguments>
+		</element>
+		<element name="newFromString" function="true" type="Geno">
+			<arguments>
+				<argument name="genotype" type="string"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Genotype" context="Global context">
+<description><![CDATA[A Genotype with the associated performance information. All but one Genotype objects are placed in Genotype Groups. There is also a single static Genotype object not associated with a group, which is used as a temporary storage by genetic operators and some functions from GenePools.]]></description>
+		<element name="convtrace1" type="string"/>
+		<element name="distance" type="float"/>
+		<element name="energ0" type="float"/>
+		<element name="f0genotype" type="string">
+			<description><![CDATA[converted to f0 genotype]]></description>
+		</element>
+		<element name="fit" type="float"/>
+		<element name="fit2" type="float">
+			<description><![CDATA[Fitnes shifted by (avg-n*stddev)]]></description>
+		</element>
+		<element name="geno" type="Geno">
+			<description><![CDATA[Geno object for this Genotype]]></description>
+		</element>
+		<element name="genotype" type="string"/>
+		<element name="gnum" type="integer"/>
+		<element name="info" type="string">
+			<description><![CDATA[Additional information or comments]]></description>
+		</element>
+		<element name="instances" type="integer"/>
+		<element name="isValid" type="integer" min="0" max="1"/>
+		<element name="lifespan" type="float">
+			<description><![CDATA[Average life span]]></description>
+		</element>
+		<element name="name" type="string"/>
+		<element name="nncon" type="float">
+			<description><![CDATA[(deprecated) old name for numconnections]]></description>
+		</element>
+		<element name="nnsiz" type="float">
+			<description><![CDATA[(deprecated) old name for numneurons]]></description>
+		</element>
+		<element name="num" type="integer"/>
+		<element name="numconnections" type="float"/>
+		<element name="numjoints" type="float"/>
+		<element name="numneurons" type="float"/>
+		<element name="numparts" type="float"/>
+		<element name="popsiz" type="integer">
+			<description><![CDATA[(deprecated) old name for instances]]></description>
+		</element>
+		<element name="simi" type="float"/>
+		<element name="strjoints" type="float">
+			<description><![CDATA[(deprecated) old name for numjoints]]></description>
+		</element>
+		<element name="strsiz" type="float">
+			<description><![CDATA[(deprecated) old name for numparts]]></description>
+		</element>
+		<element name="uid" type="string">
+			<description><![CDATA[Unique identifier]]></description>
+		</element>
+		<element name="user1" type="untyped"/>
+		<element name="user2" type="untyped"/>
+		<element name="user3" type="untyped"/>
+		<element name="velocity" type="float">
+			<description><![CDATA[Average velocity]]></description>
+		</element>
+		<element name="vertpos" type="float"/>
+		<element name="vertvel" type="float"/>
+		<element name="getModel" function="true" type="Model"><arguments/></element>
+		<element name="getNormalized" function="true" type="float">
+			<arguments>
+				<argument name="property name or index" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="mutate" function="true" type="void"><arguments/></element>
+	</type>
+	<type name="GenotypeGroup" context="Global context">
+<description><![CDATA[The static GenePool object refers to the "selected group" as described in GenePools]]></description>
+		<element name="fitfun" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[Enable fitness scaling]]></description>
+		</element>
+		<element name="fitm" type="float" min="0" max="10" default="2">
+			<description><![CDATA[Lower threshold: how many standard deviations below average?
+(avg - n * stddev) - used for fitness shifting]]></description>
+		</element>
+		<element name="fitma" type="float" min="1" max="10" default="2">
+			<description><![CDATA[The best genotype is as many times
+better than the average one]]></description>
+		</element>
+		<element name="fitness" type="string">
+			<description><![CDATA[(intended for advanced users)]]></description>
+		</element>
+		<element name="index" type="integer"/>
+		<element name="name" type="string"/>
+		<element name="size" type="integer">
+			<description><![CDATA[In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype.popsiz field to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype.]]></description>
+		</element>
+		<element name="totalpop" type="integer">
+			<description><![CDATA[Takes into account the Genotype.popsiz field (which may give the total number of instances depending on the experiment definition)]]></description>
+		</element>
+		<element name="addGeno" function="true" type="Genotype">
+			<description><![CDATA[create new Genotype from the supplied Geno object.
+returns the created Genotype.]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="delete" function="true" type="void">
+			<description><![CDATA[delete genotype]]></description>
+			<arguments>
+				<argument name="genotype index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="findGeno" function="true" type="integer">
+			<description><![CDATA[find Genotype matching the supplied Geno object.
+returns genotype index or -1 if not found]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="findUID" function="true" type="integer">
+			<arguments>
+				<argument name="uid" type="string"/>
+			</arguments>
+		</element>
+		<element name="get" function="true" type="Genotype">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Interface" context="Global context">
+<description><![CDATA[Used to query for object member descriptions. Example:
+var iface=Interface.makeFrom(someobject); var description="this object has "+iface.properties+" properties, first property is "+iface.getId(0);]]></description>
+		<element name="groups" type="integer"/>
+		<element name="name" type="string"/>
+		<element name="properties" type="integer"/>
+		<element name="findGroupId" function="true" type="integer">
+			<arguments>
+				<argument name="name" type="string"/>
+			</arguments>
+		</element>
+		<element name="findId" function="true" type="integer">
+			<arguments>
+				<argument name="name" type="string"/>
+			</arguments>
+		</element>
+		<element name="findIdInGroup" function="true" type="integer">
+			<arguments>
+				<argument name="name" type="string"/>
+				<argument name="group name or index" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="get" function="true" type="untyped">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getFlags" function="true" type="integer">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getGroup" function="true" type="integer">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getGroupName" function="true" type="string">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getHelp" function="true" type="string">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getId" function="true" type="string">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getName" function="true" type="string">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getType" function="true" type="string">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="invoke" function="true" type="void">
+			<arguments>
+				<argument name="function name or index" type="untyped"/>
+				<argument name="arguments" type="Vector"/>
+			</arguments>
+		</element>
+		<element name="makeFrom" function="true" type="Interface">
+			<arguments>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="set" function="true" type="void">
+			<arguments>
+				<argument name="index" type="integer"/>
+				<argument name="value" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="setAllDefault" function="true" type="void"><arguments/></element>
+		<element name="setDefault" function="true" type="void">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Joint" context="Global context">
+		<element name="dx" type="float" min="-2" max="2" default="0"/>
+		<element name="dy" type="float" min="-2" max="2" default="0"/>
+		<element name="dz" type="float" min="-2" max="2" default="0"/>
+		<element name="i" type="string"/>
+		<element name="p1" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="p2" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="rotstif" type="float" min="0" max="1" default="1"/>
+		<element name="rx" type="float"/>
+		<element name="ry" type="float"/>
+		<element name="rz" type="float"/>
+		<element name="stam" type="float" min="0" max="1" default="0.25"/>
+		<element name="stif" type="float" min="0" max="1" default="1"/>
+		<element name="Vstyle" type="string"/>
+	</type>
+	<type name="Loader" context="Global context">
+<description><![CDATA[Support for loading files in the Framsticks format. Used in the experiment definition to retrieve experiment state (see OnExpLoad function in standard.expdef). Registered objects (addClass) are handled automaticaly. Loader can call user functions defined by setBreakLabel.]]></description>
+		<element name="AfterObject" type="integer"/>
+		<element name="BeforeObject" type="integer"/>
+		<element name="BeforeUnknown" type="integer"/>
+		<element name="comment" type="string"/>
+		<element name="currentObject" type="Object"/>
+		<element name="firstComment" type="integer" min="0" max="1"/>
+		<element name="objectName" type="string"/>
+		<element name="OnComment" type="integer"/>
+		<element name="OnError" type="integer"/>
+		<element name="status" type="integer"/>
+		<element name="abort" function="true" type="void"><arguments/></element>
+		<element name="addClass" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="clearClasses" function="true" type="void"><arguments/></element>
+		<element name="go" function="true" type="integer"><arguments/></element>
+		<element name="loadObject" function="true" type="void"><arguments/></element>
+		<element name="removeClass" function="true" type="void">
+			<arguments>
+				<argument type="Object"/>
+			</arguments>
+		</element>
+		<element name="run" function="true" type="integer"><arguments/></element>
+		<element name="setBreak" function="true" type="void">
+			<arguments>
+				<argument name="break conditions" type="integer"/>
+			</arguments>
+		</element>
+		<element name="setBreakLabel" function="true" type="void">
+			<arguments>
+				<argument name="break condition" type="integer"/>
+				<argument name="label" type="string"/>
+			</arguments>
+		</element>
+		<element name="skipObject" function="true" type="void"><arguments/></element>
+	</type>
+	<type name="Math" context="Global context">
+<description><![CDATA[Mathematical functions library.]]></description>
+		<element name="pi" type="float"/>
+		<element name="pi2" type="float"/>
+		<element name="pi4" type="float"/>
+		<element name="rnd01" type="float"/>
+		<element name="rndGaussStd" type="float"/>
+		<element name="seed" type="integer">
+			<description><![CDATA[Random number generator seed.
+Note: Math.seed influences all future random activity in the simulator, not only Math.rnd01 results.]]></description>
+		</element>
+		<element name="time" type="float">
+			<description><![CDATA[Number of seconds since the Epoch (00:00:00 UTC/GMT, January 1, 1970)]]></description>
+		</element>
+		<element name="twopi" type="float"/>
+		<element name="abs" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="acos" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="asin" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="atan" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="atan2" function="true" type="float">
+			<arguments>
+				<argument name="y" type="float"/>
+				<argument name="x" type="float"/>
+			</arguments>
+		</element>
+		<element name="cos" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="exp" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="log" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="max" function="true" type="untyped">
+			<arguments>
+				<argument type="untyped"/>
+				<argument type="untyped"/>
+			</arguments>
+		</element>
+		<element name="min" function="true" type="untyped">
+			<arguments>
+				<argument type="untyped"/>
+				<argument type="untyped"/>
+			</arguments>
+		</element>
+		<element name="pow" function="true" type="float">
+			<arguments>
+				<argument name="a" type="float"/>
+				<argument name="b" type="float"/>
+			</arguments>
+		</element>
+		<element name="random" function="true" type="integer">
+			<description><![CDATA[0..num-1]]></description>
+			<arguments>
+				<argument name="num" type="integer"/>
+			</arguments>
+		</element>
+		<element name="rndCustom" function="true" type="float">
+			<description><![CDATA[the parameter describes the desired random distribution, being a sum of uniform distributions, eg. rndCustom([-10,-1, -1,1, 1,10]) defines 3 uniform distribution intervals [-1,10) [-1,1), [1,10)]]></description>
+			<arguments>
+				<argument type="Vector"/>
+			</arguments>
+		</element>
+		<element name="rndGauss" function="true" type="float">
+			<description><![CDATA[rndGaussStd is rndGauss(0,1)]]></description>
+			<arguments>
+				<argument name="center" type="float"/>
+				<argument name="stdandard deviation" type="float"/>
+			</arguments>
+		</element>
+		<element name="rndUni" function="true" type="float">
+			<description><![CDATA[[begin..end)]]></description>
+			<arguments>
+				<argument name="begin" type="float"/>
+				<argument name="end" type="float"/>
+			</arguments>
+		</element>
+		<element name="sigmoid" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="sign" function="true" type="integer">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="sin" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="sqrt" function="true" type="float">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="MechJoint" context="Global context">
+		<element name="dx" type="float"/>
+		<element name="dy" type="float"/>
+		<element name="dz" type="float"/>
+		<element name="part1" type="MechPart"/>
+		<element name="part2" type="MechPart"/>
+		<element name="rotstif" type="float"/>
+		<element name="rotstress" type="float"/>
+		<element name="rx" type="float"/>
+		<element name="ry" type="float"/>
+		<element name="rz" type="float"/>
+		<element name="stif" type="float"/>
+		<element name="stress" type="float"/>
+	</type>
+	<type name="MechPart" context="Global context">
+		<element name="fr" type="float"/>
+		<element name="m" type="float"/>
+		<element name="orient" type="Orient"/>
+		<element name="oxx" type="float"/>
+		<element name="oxy" type="float"/>
+		<element name="oxz" type="float"/>
+		<element name="oyx" type="float"/>
+		<element name="oyy" type="float"/>
+		<element name="oyz" type="float"/>
+		<element name="ozx" type="float"/>
+		<element name="ozy" type="float"/>
+		<element name="ozz" type="float"/>
+		<element name="pos" type="XYZ"/>
+		<element name="s" type="float"/>
+		<element name="v" type="XYZ"/>
+		<element name="vol" type="float"/>
+		<element name="vx" type="float"/>
+		<element name="vy" type="float"/>
+		<element name="vz" type="float"/>
+		<element name="x" type="float"/>
+		<element name="y" type="float"/>
+		<element name="z" type="float"/>
+		<element name="applyForce" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Model" context="Global context">
+		<element name="geno" type="Geno"/>
+		<element name="numconnections" type="integer"/>
+		<element name="numjoints" type="integer"/>
+		<element name="numneurons" type="integer"/>
+		<element name="numparts" type="integer"/>
+		<element name="se" type="float"/>
+		<element name="size_x" type="float">
+			<description><![CDATA[(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including imaginary Part sizes (Part.s, usually 1.0). A creature consisting of a single default part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius).
+See also: Creature.moveAbs]]></description>
+		</element>
+		<element name="size_y" type="float">
+			<description><![CDATA[See Model.size_x]]></description>
+		</element>
+		<element name="size_z" type="float">
+			<description><![CDATA[See Model.size_x]]></description>
+		</element>
+		<element name="Vstyle" type="string"/>
+		<element name="getJoint" function="true" type="Joint">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getNeuroDef" function="true" type="NeuroDef">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getPart" function="true" type="Part">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="newFromGeno" function="true" type="Model">
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="newFromString" function="true" type="Model">
+			<arguments>
+				<argument name="genotype" type="string"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Neuro" context="Global context">
+<description><![CDATA[Live Neuron object.]]></description>
+		<element name="channelCount" type="integer"/>
+		<element name="creature" type="Creature"/>
+		<element name="currState" type="float">
+			<description><![CDATA[the only difference from the "state" field is that currState, when written, changes the internal neuron state immediately (which disturbs the regular synchronous NN operation). This feature should only be used while controlling the neuron 'from outside' (like a neuro probe) and not in the neuron definition.]]></description>
+		</element>
+		<element name="def" type="NeuroDef"/>
+		<element name="fields" type="Fields">
+			<description><![CDATA[Neurons can have different fields depending on their class. Script neurons have their fields defined using the "prop:" syntax. If you develop a custom neuron script you should use the Fields object for accessing your own neuron fields. The Neuro.fields property is meant for accessing the neuron fields from the outside script.
+Examples:
+var c=Populations.createFromString("X[N]");
+Simulator.print("standard neuron inertia="+c.getNeuro(0).fields.in);
+c=Populations.createFromString("X[Nn,e:0.1]");
+Simulator.print("noisy neuron error rate="+c.getNeuro(0).fields.e);
+
+The Interface object can be used to discover which fields are available for a certain neuron object:
+c=Populations.createFromString("X[N]");
+var iobj=Interface.makeFrom(c.getNeuro(0).fields);
+var i;
+for(i=0;i<iobj.properties;i++)
+ Simulator.print(iobj.getId(i)+" ("+iobj.getName(i)+")");]]></description>
+		</element>
+		<element name="getInputCount" type="integer"/>
+		<element name="hold" type="integer" min="0" max="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="inputSum" type="float"/>
+		<element name="joint" type="MechJoint"/>
+		<element name="part" type="MechPart"/>
+		<element name="position_x" type="float"/>
+		<element name="position_y" type="float"/>
+		<element name="position_z" type="float"/>
+		<element name="signals" type="NeuroSignals"/>
+		<element name="state" type="float">
+			<description><![CDATA[when read, returns the current neuron state.
+When written, sets the next neuron state (for use in the neuron definition)]]></description>
+		</element>
+		<element name="weightedInputSum" type="float"/>
+		<element name="getInputChannelCount" function="true" type="integer">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputState" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputStateChannel" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+				<argument name="channel" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputSum" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputWeight" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getStateChannel" function="true" type="float">
+			<arguments>
+				<argument name="channel" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getWeightedInputState" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getWeightedInputStateChannel" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+				<argument name="channel" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getWeightedInputSum" function="true" type="float">
+			<description><![CDATA[uses any number of inputs starting with the specified input. getWeightedInputSum(0)=weightedInputSum]]></description>
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="setCurrStateChannel" function="true" type="void">
+			<description><![CDATA[like "currState"]]></description>
+			<arguments>
+				<argument name="channel" type="integer"/>
+				<argument name="value" type="float"/>
+			</arguments>
+		</element>
+		<element name="setStateChannel" function="true" type="void">
+			<arguments>
+				<argument name="channel" type="integer"/>
+				<argument name="value" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="NeuroClass" context="Global context">
+<description><![CDATA[The static NeuroClass object refers to class selected in the NeuroClassLibrary.]]></description>
+		<element name="description" type="string"/>
+		<element name="glyph" type="string"/>
+		<element name="longname" type="string"/>
+		<element name="name" type="string"/>
+		<element name="prefinputs" type="integer"/>
+		<element name="preflocation" type="integer" min="0" max="2"/>
+		<element name="prefoutput" type="integer" min="0" max="1"/>
+		<element name="properties" type="Interface"/>
+		<element name="summary" type="string">
+			<description><![CDATA[Textual summary of all features]]></description>
+		</element>
+		<element name="visualhints" type="integer"/>
+	</type>
+	<type name="NeuroClassLibrary" context="Global context">
+<description><![CDATA[Set of Neuron classes. You can access the selected class in the static NeuroClass object.]]></description>
+		<element name="class" type="integer">
+			<description><![CDATA[0 ... count-1]]></description>
+		</element>
+		<element name="count" type="integer"/>
+		<element name="findClass" function="true" type="void">
+			<arguments>
+				<argument name="class name" type="string"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="NeuroDef" context="Global context">
+		<element name="d" type="string"/>
+		<element name="getInputCount" type="integer"/>
+		<element name="i" type="string"/>
+		<element name="j" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="p" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="Vstyle" type="string"/>
+		<element name="getInputNeuroDef" function="true" type="NeuroDef">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputNeuroIndex" function="true" type="integer">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputWeight" function="true" type="float">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="NeuroSignals" context="Global context">
+<description><![CDATA[Signals attached to the neuron.
+See also: Signal, WorldSignals, CreatureSignals.
+scripts/light.neuro and scripts/seelight.neuro are simple custom neuron examples demonstrating how to send/receive signals between creatures.]]></description>
+		<element name="size" type="integer"/>
+		<element name="add" function="true" type="void">
+			<description><![CDATA[Create a new signal]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+			</arguments>
+		</element>
+		<element name="clear" function="true" type="void"><arguments/></element>
+		<element name="get" function="true" type="Signal">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="receive" function="true" type="float">
+			<description><![CDATA[Receive the aggregated signal power in a given channel.]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+			</arguments>
+		</element>
+		<element name="receiveFilter" function="true" type="float">
+			<description><![CDATA[Receive the aggregated signal power in a given channel.
+
+Additional filtering options:
+- Max distance only receives the neighbor signals (based on their physical location)
+- Flavor filtering: only signals having the flavor close to the specified one will be received. The filter value is the maximum allowed difference.]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="max distance" type="float"/>
+				<argument name="flavor" type="float"/>
+				<argument name="filter" type="float"/>
+			</arguments>
+		</element>
+		<element name="receiveSet" function="true" type="Vector">
+			<description><![CDATA[Get all signals in the specified range. Returns a readonly vector object containing Signal objects (individual signals can be accessed as result[0] throught result[result.size-1]).]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="max distance" type="float"/>
+			</arguments>
+		</element>
+		<element name="receiveSingle" function="true" type="Signal">
+			<description><![CDATA[Find the signal source having the highest signal power (including the distance)]]></description>
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="range" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="ODE" context="Global context">
+<description><![CDATA[ODE Parameters.]]></description>
+		<element name="odeairdrag" type="float" min="0" max="0.5" default="0.01">
+			<description><![CDATA[A drag force ("air drag") proportional to the velocity of mass centers of moving parts]]></description>
+		</element>
+		<element name="odecol2bounce" type="float" min="0" max="1" default="0.1"/>
+		<element name="odecol2bouncevel" type="float" min="0" max="1" default="0.01"/>
+		<element name="odecol2mumax" type="float" min="0" max="10" default="1">
+			<description><![CDATA[Mu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)]]></description>
+		</element>
+		<element name="odecol2mumin" type="float" min="0" max="10" default="0.1">
+			<description><![CDATA[Mu coefficient for Parts with minimal friction (i.e. "fffff" in f1)]]></description>
+		</element>
+		<element name="odecol2softcfm" type="float" min="0" max="1" default="0"/>
+		<element name="odecolbounce" type="float" min="0" max="1" default="0.1"/>
+		<element name="odecolbouncevel" type="float" min="0" max="1" default="0.01"/>
+		<element name="odecolmumax" type="float" min="0" max="10" default="5">
+			<description><![CDATA[Mu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)]]></description>
+		</element>
+		<element name="odecolmumin" type="float" min="0" max="10" default="0.1">
+			<description><![CDATA[Mu coefficient for Parts with minimal friction (i.e. "fffff" in f1)]]></description>
+		</element>
+		<element name="odecolsoftcfm" type="float" min="0" max="1" default="0"/>
+		<element name="odemusclemax" type="float" min="0" max="100" default="10">
+			<description><![CDATA[i.e. "MMMMM" if f1]]></description>
+		</element>
+		<element name="odemusclemin" type="float" min="0" max="100" default="0">
+			<description><![CDATA[i.e. "mmmmm" in f1]]></description>
+		</element>
+		<element name="odemusclespeed" type="float" min="0" max="10" default="1">
+			<description><![CDATA[Muscle state cannot change faster than the supplied value]]></description>
+		</element>
+		<element name="odeseed" type="integer" min="0" max="2">
+			<description><![CDATA[Affects collisions.
+- 'Truly random' is closest to the standard ODE operation. Use Math.seed to influence randomness in ODE collisions
+- 'Deterministic' automatically calculates random seed in each step based on the current simulation (world) state, which makes the simulation repeatable but more random than 'Fixed'
+- 'Fixed' is completely deterministic and does not depend on Math.seed. This might negatively affect ODE accuracy
+]]></description>
+		</element>
+		<element name="odeshape" type="integer" min="0" max="1"/>
+		<element name="odestep" type="float" min="0.001" max="1" default="0.05"/>
+		<element name="odewaterbuoy" type="float" min="0" max="2" default="1"/>
+		<element name="odewaterdrag" type="float" min="0.001" max="1" default="0.5"/>
+		<element name="rayIntersection" function="true" type="float">
+			<arguments>
+				<argument name="position x" type="float"/>
+				<argument name="position y" type="float"/>
+				<argument name="position z" type="float"/>
+				<argument name="direction x" type="float"/>
+				<argument name="direction y" type="float"/>
+				<argument name="direction z" type="float"/>
+				<argument name="max distance" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Orient" context="Global context">
+<description><![CDATA[3D orientation, stored as 3x3 matrix.]]></description>
+		<element name="x" type="XYZ"/>
+		<element name="xx" type="float"/>
+		<element name="xy" type="float"/>
+		<element name="xz" type="float"/>
+		<element name="y" type="XYZ"/>
+		<element name="yx" type="float"/>
+		<element name="yy" type="float"/>
+		<element name="yz" type="float"/>
+		<element name="z" type="XYZ"/>
+		<element name="zx" type="float"/>
+		<element name="zy" type="float"/>
+		<element name="zz" type="float"/>
+		<element name="between2" function="true" type="void">
+			<arguments>
+				<argument type="Orient"/>
+				<argument type="Orient"/>
+				<argument name="amount" type="float"/>
+			</arguments>
+		</element>
+		<element name="betweenOV" function="true" type="void">
+			<arguments>
+				<argument type="Orient"/>
+				<argument type="XYZ"/>
+				<argument name="amount" type="float"/>
+			</arguments>
+		</element>
+		<element name="clone" function="true" type="Orient"><arguments/></element>
+		<element name="localToWorld" function="true">
+			<arguments>
+				<argument name="point" type="XYZ"/>
+				<argument name="center" type="XYZ"/>
+			</arguments>
+		</element>
+		<element name="lookAt" function="true" type="void">
+			<arguments>
+				<argument name="direction" type="XYZ"/>
+				<argument name="up" type="XYZ"/>
+			</arguments>
+		</element>
+		<element name="new" function="true" type="Orient">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="normalize" function="true" type="void"><arguments/></element>
+		<element name="reset" function="true" type="void"><arguments/></element>
+		<element name="revRotate" function="true" type="void">
+			<arguments>
+				<argument type="Orient"/>
+			</arguments>
+		</element>
+		<element name="rotate" function="true" type="void">
+			<arguments>
+				<argument type="Orient"/>
+			</arguments>
+		</element>
+		<element name="rotate3" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="set" function="true" type="void">
+			<arguments>
+				<argument type="Orient"/>
+			</arguments>
+		</element>
+		<element name="worldToLocal" function="true">
+			<arguments>
+				<argument name="point" type="XYZ"/>
+				<argument name="center" type="XYZ"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Part" context="Global context">
+		<element name="as" type="float" min="0" max="1" default="0.25"/>
+		<element name="dn" type="float" min="0.2" max="5" default="1"/>
+		<element name="fr" type="float" min="0" max="4" default="0.4"/>
+		<element name="i" type="string"/>
+		<element name="ing" type="float" min="0" max="1" default="0.25"/>
+		<element name="m" type="float" min="0.1" max="999" default="1"/>
+		<element name="rx" type="float"/>
+		<element name="ry" type="float"/>
+		<element name="rz" type="float"/>
+		<element name="s" type="float" min="0.1" max="10" default="1"/>
+		<element name="Vstyle" type="string"/>
+		<element name="x" type="float"/>
+		<element name="y" type="float"/>
+		<element name="z" type="float"/>
+	</type>
+	<type name="Population" context="Global context">
+<description><![CDATA[A set of Creature objects, sharing some high level simulation properties (performance calculation, NN simulation, collision detection, event handling). The groups usually have different roles in the experiment (Creatures groups and Food group in standard.expdef)]]></description>
+		<element name="bodysim" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Enable/disable physical body simulation. This is the initial value of Creature.bodysim for all objects created in this group. For details, see the documentation of Creature.bodysim.]]></description>
+		</element>
+		<element name="colmask" type="integer" min="0" max="65535" default="0">
+			<description><![CDATA[DEPRECATED. You should use selfmask and othermask (these masks are also much easier to understand than the old colmask field).]]></description>
+		</element>
+		<element name="death" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Do creatures die when no energy?]]></description>
+		</element>
+		<element name="em_dyn" type="float" min="0" max="1" default="0">
+			<description><![CDATA[Energy requirements for a muscle
+moving a stick]]></description>
+		</element>
+		<element name="em_stat" type="float" min="0" max="1" default="0">
+			<description><![CDATA[Energy requirements for a muscle
+resisting an external force]]></description>
+		</element>
+		<element name="en_assim" type="float" min="0" max="1" default="0">
+			<description><![CDATA[Maximal energy gain produced by a vertical specialized stick.
+Horizontal specialized sticks get half of this value.]]></description>
+		</element>
+		<element name="enableperf" type="integer" min="0" max="2" default="1">
+			<description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description>
+		</element>
+		<element name="energy" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[If turned off, creature's energy will be constant]]></description>
+		</element>
+		<element name="index" type="integer"/>
+		<element name="killnostable" type="integer" min="0" max="10000000" default="1000000">
+			<description><![CDATA[Creatures that fail to stabilize after the specified waiting period (e.g. because they are continuously rolling) will be killed. 0 disables this feature.]]></description>
+		</element>
+		<element name="name" type="string"/>
+		<element name="nnsim" type="integer" min="0" max="2" default="1">
+			<description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description>
+		</element>
+		<element name="othermask" type="integer" min="0" max="2147483647" default="0">
+			<description><![CDATA[See selfmask.]]></description>
+		</element>
+		<element name="perfperiod" type="integer" min="0" max="1000000" default="100">
+			<description><![CDATA[Defines how often onUpdate() events are called. Also used to compute partial performance of creatures (distance, speed, etc.) and to determine stabilization.]]></description>
+		</element>
+		<element name="selfcol" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[Detect collisions within creature bodies (only applicable for the ODE simulation engine). This is the initial value of Creature.selfcol for all objects created in this group. If enabled, creatures with self-colliding genotypes are not born, and others will have their sticks collide during lifespan.]]></description>
+		</element>
+		<element name="selfmask" type="integer" min="0" max="2147483647" default="0">
+			<description><![CDATA[Collisions between objects can be handled in two ways:
+ - standard 'mechanical' collision (simple 'rebound' effect)
+ - special script handler (On[GROUPNAME]Collision function)
+
+In the script handler function, use the Collision object to access the two colliding parts of two creatures.
+The first part in the Collision object (i.e. Collision.Creature1) always concerns the creature that belongs to [GROUPNAME].
+The handler is called once for each creature that collides with the creature from [GROUPNAME].
+
+Collision masks determine which one will be used (none and both are also possible). On each collision, selfmask and othermask of the colliding objects are logically ANDed. 16 lower bits (0xffff) enable the standard handler. 16 higher bits (0xffff0000) enable the custom handler. 
+Examples:
+
+1.With one group, all possible combinations of the collision handlers are as follows:
+  - ignore collisions (e.g. selfmask=othermask=0)
+  - use standard handling (e.g. selfmask=othermask=1)
+  - use custom handling (e.g. selfmask=othermask=0x10000)
+  - use standard and custom handling (e.g. selfmask=othermask=0x10001)
+
+2.Two groups yield more interesting cases. Let us consider the 'standard.expdef' setting:
+  Creatures: selfmask=0x10001, othermask=0x20001
+  Food colmask = selfmask=0x20002, othermask=0x10002
+There are three possible scenarios:
+- creature and creature: collision value = 0x10001 & 0x20001 = 1 -> Standard handling will be used (1 is one of the lower 16 bits)
+- food and food: collision value = 0x20002 & 0x10002 = 2 -> As above.
+- creature and food: collision value = (0x10001 & 0x10002) or (0x20002 & 0x20001) = 0x10000 or 0x20000 -> Custom handling will be used (higher 16 bits).
+]]></description>
+		</element>
+		<element name="size" type="integer"/>
+		<element name="stabilperiod" type="integer" min="0" max="1000000" default="100">
+			<description><![CDATA["Performance sampling period" for the stabilization phase.]]></description>
+		</element>
+		<element name="stabledist" type="float" min="0" max="1" default="0.01">
+			<description><![CDATA[A creature is considered stabilized when its center of gravity stays within the specified distance after the "Sampling period while waiting" has elapsed.]]></description>
+		</element>
+		<element name="createFromGeno" function="true" type="Creature">
+			<description><![CDATA[uses the supplied Geno object]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="createFromGenotype" function="true" type="Creature">
+			<description><![CDATA[uses the selected Genotype object]]></description>
+<arguments/></element>
+		<element name="createFromString" function="true" type="Creature">
+			<description><![CDATA[uses the supplied string argument]]></description>
+			<arguments>
+				<argument name="genotype" type="string"/>
+			</arguments>
+		</element>
+		<element name="delete" function="true" type="void">
+			<description><![CDATA[delete creature]]></description>
+			<arguments>
+				<argument name="creature index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="findCreatureAt" function="true" type="Creature">
+			<arguments>
+				<argument name="point" type="Vector"/>
+				<argument name="vector" type="Vector"/>
+			</arguments>
+		</element>
+		<element name="findUID" function="true" type="integer">
+			<arguments>
+				<argument name="uid" type="string"/>
+			</arguments>
+		</element>
+		<element name="get" function="true" type="Creature">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="kill" function="true" type="void">
+			<description><![CDATA[kill creature]]></description>
+			<arguments>
+				<argument name="creature index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="senseCreaturesProperty" function="true" type="float">
+			<description><![CDATA[arguments:
+ - x,y,z (sensor position)
+ - property (name, name[index] or Class:id). name[index] can be used for Vector objects inside the user fields, eg "user2[10]"
+ - exclude (creature object)
+works like a smell sensor for a given property (for all creatures in this group except "exclude").
+The following function reproduces the "classic" framsticks "S" sensor:
+function smellReceptorValue(x,y,z,exclude)
+{
+var i,s=0; for(i=0;i<Populations.size;i++)
+	s+=Populations[0].senseCreaturesProperty(x,y,z,"energy",exclude);
+return s;
+}]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+				<argument name="propertyname" type="string"/>
+				<argument name="exclude" type="Creature"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Populations" context="Global context">
+<description><![CDATA[Manages all Creature objects in the experiment, organized in one or more groups. See also: Creature, Population]]></description>
+		<element name="creature" type="integer"/>
+		<element name="group" type="integer"/>
+		<element name="size" type="integer"/>
+		<element name="addGroup" function="true" type="void">
+			<description><![CDATA[add population]]></description>
+			<arguments>
+				<argument name="name" type="string"/>
+			</arguments>
+		</element>
+		<element name="clear" function="true" type="void">
+			<description><![CDATA[remove all populations except the first one]]></description>
+<arguments/></element>
+		<element name="clearGroup" function="true" type="void">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="creatBBCollisions" function="true" type="integer">
+			<description><![CDATA[Checks approximate collisions for the selected creature.
+Returns the collision mask calculated as in the regular simulation. The argument is the collision mask substituted for the selected creature (defaults to group colmask for 0)]]></description>
+			<arguments>
+				<argument name="mask" type="integer"/>
+			</arguments>
+		</element>
+		<element name="createFromGenotype" function="true" type="Creature">
+			<description><![CDATA[uses the selected Genotype object]]></description>
+<arguments/></element>
+		<element name="createFromString" function="true" type="Creature">
+			<description><![CDATA[uses the supplied string argument]]></description>
+			<arguments>
+				<argument name="genotype" type="string"/>
+			</arguments>
+		</element>
+		<element name="deleteGroup" function="true" type="void">
+			<description><![CDATA[remove population]]></description>
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="deleteSelected" function="true" type="void">
+			<description><![CDATA[applies to the selected Creature]]></description>
+<arguments/></element>
+		<element name="findCreatureAt" function="true" type="Creature">
+			<arguments>
+				<argument name="point" type="Vector"/>
+				<argument name="vector" type="Vector"/>
+			</arguments>
+		</element>
+		<element name="get" function="true" type="Population">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="killSelected" function="true" type="void">
+			<description><![CDATA[applies to the selected Creature]]></description>
+<arguments/></element>
+	</type>
+	<type name="Ref" context="Global context">
+<description><![CDATA[Reference objects. Useful for returning things from functions.
+
+Example:
+var x=111;
+square(&x);// '&' creates the Reference object
+Simulator.print(x);//x is now 12321
+
+function square(r)
+{r.value=r.value*r.value;}
+//square receives the Reference objects and changes its 'value' field]]></description>
+		<element name="toString" type="string"/>
+		<element name="value" type="untyped"/>
+		<element name="copyFrom" function="true" type="void">
+			<description><![CDATA[make the reference point to the same target,]]></description>
+			<arguments>
+				<argument type="Ref"/>
+			</arguments>
+		</element>
+		<element name="newO" function="true">
+			<description><![CDATA[(for internal use only) use &variablename to create Ref objects.]]></description>
+		</element>
+		<element name="newS" function="true">
+			<description><![CDATA[(for internal use only) use &variablename to create Ref objects.]]></description>
+		</element>
+	</type>
+	<type name="Shapes" context="Global context">
+<description><![CDATA[This object defines appearance of the elements of creatures (applies to the 'wireframe' display mode). Default shape definitions make food's "p:" look like a sphere, and manipulator's "p:" look like a robot hand. The model's Vstyle property is the name of the shape. Developers of experiment definitions can introduce new Vstyle(s) for their expdef and provide appropriate shape definitions by calling Shapes.set(...) in the onExpDefLoad() function.]]></description>
+		<element name="clear" function="true" type="void"><arguments/></element>
+		<element name="set" function="true" type="void">
+			<description><![CDATA[Arguments:
+
+- "id" - can be
+  "1p_STYLENAME": affects a single-Part creature (without Joints)
+  "p_STYLENAME": affects all normal Parts
+  "j_STYLENAME": affects Joints
+     (STYLENAME corresponds to the Model.Vstyle value, and it can be empty).
+
+- "definition" is a genotype describing the object shape
+
+- "color" can be 0xRRGGBB or one of the special values: -3 = default creature color, -4 = default food color, -5 = default manipulator color
+
+Examples:
+Shapes.set("j_predator","X",0xff0000);//make all predators (i.e. creatures with Vstyle=predator) red
+Shapes.set("1p_food","...some...genotype...",-4);//change food appearance
+Shapes.set("p_","//0\np:0,0,0\np:-0.1,0,0\np:0.1,0,0\np:0,-0.1,0\np:0,0.1,0\np:0,0,-0.1\np:0,0,0.1\nj:0,1\nj:0,2\nj:0,3\nj:0,4\nj:0,5\nj:0,6\n",0);//make Parts' orientation axes visible]]></description>
+			<arguments>
+				<argument name="id" type="string"/>
+				<argument name="definition" type="string"/>
+				<argument name="color" type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Signal" context="Global context">
+<description><![CDATA[Signals broadcast information in a channel (being an abstract communication medium that could be imagined as sound, smell, vision or anything else). There are no sender-receiver associations, although the receiving party can filter out signals (two standard filtering methods are: physical neighborhood and one-dimensional attribute called flavor). Signals attached to neurons and creatures (created in Creature.signals and Neuro.signals) automatically follow the owner's location. Environmental signals (in World.signals) are stationary.
+
+Receiving: 
+There are 2 kinds of data you can receive:
+1. aggregating functions (receive and receiveFilter) calculate the overall power of the received signal (based on the distance and the source power).
+2.receiveSet and receiveSingle fetch the individual Signal object(s) so it is possible to transmit something else than just a single number (by using Signal.value) and do more sophisticated processing.
+
+Creating: Use "add" in Creature.signals, Neuro.signals, or World.signals.]]></description>
+		<element name="channel" type="string">
+			<description><![CDATA[Channel name, readonly.]]></description>
+		</element>
+		<element name="flavor" type="float">
+			<description><![CDATA[Signal flavor is can be used to differentiate between signals in a single channel. ]]></description>
+		</element>
+		<element name="pos" type="XYZ">
+			<description><![CDATA[Signal position, readonly.]]></description>
+		</element>
+		<element name="power" type="float">
+			<description><![CDATA[Signal power affects the aggregated signal value returned from receive() and receiveFilter().]]></description>
+		</element>
+		<element name="value" type="untyped">
+			<description><![CDATA[Signal value can be any type. On the receiver side it is only available by accessing the individual Signal objects, i.e. after calling receiveSet() or receiveSingle(). The aggregating function receive() and receiveFilter() ignore this attribute.]]></description>
+		</element>
+		<element name="remove" function="true">
+			<description><![CDATA[Deletes the signal]]></description>
+		</element>
+	</type>
+	<type name="sim_params" context="Global context">
+<description><![CDATA[This object groups all simulator parameters so they can be loaded or saved with a single call (see scripts/standard_loadsave.inc). For other purposes please use specific objects, like Simulator, World, Populations, etc.]]></description>
+		<element name="autosaveperiod" type="integer" min="0" max="100000">
+			<description><![CDATA[Save simulation state once every n-th event
+(events are defined by the script. For 'standard.expdef' it is after each death).
+Save EXPT file first to initialize name for autosave files.]]></description>
+		</element>
+		<element name="bnoise_struct" type="float" min="0" max="10" default="0">
+			<description><![CDATA[When >0, body constructs of creatures (position of Parts) will be randomly disturbed when they are created.]]></description>
+		</element>
+		<element name="bnoise_vel" type="float" min="0" max="10" default="0">
+			<description><![CDATA[Random velocities will be applied to all body Parts (in MechaStick) or rigid segments (in ODE) of newly created creatures.]]></description>
+		</element>
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="createrr" type="integer" min="0" max="2" default="1"/>
+		<element name="creatwarnfail" type="integer" min="0" max="1">
+			<description><![CDATA[Creatures grown with warnings will not be simulated.]]></description>
+		</element>
+		<element name="expdef" type="string">
+			<description><![CDATA[Choose the experiment framework
+(in Windows GUI, confirm by pressing 'Apply')
+
+Stop the simulation before selecting another experiment definition.
+It is a good practice to initialize the experiment before running the simulation.]]></description>
+		</element>
+		<element name="expdef_info" type="string"/>
+		<element name="expdef_title" type="string"/>
+		<element name="f0_c_del" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_c_new" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_c_wei" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_del" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_new" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_rsf" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_stf" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_j_stm" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_n_del" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_n_new" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_n_prp" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_nodel_tag" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[You can tag elements using their 'i' field and the i="mi=d" tag.
+Mutations will not delete such elements.
+The i="mi=dm" combination is allowed.]]></description>
+		</element>
+		<element name="f0_nomod_tag" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[You can tag elements using their 'i' field and the i="mi=m" tag.
+Mutations will not modify properties of such elements.
+The i="mi=md" combination is allowed.]]></description>
+		</element>
+		<element name="f0_p_asm" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_del" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_frc" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_ing" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_mas" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_new" type="float" min="0" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_pos" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0_p_swp" type="float" min="0" max="100" default="10">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f0Fuzzy_maxRules" type="integer" min="0" max="999">
+			<description><![CDATA[Maximum number of fuzzy rules]]></description>
+		</element>
+		<element name="f0Fuzzy_maxSets" type="integer" min="0" max="999">
+			<description><![CDATA[Maximum number of fuzzy sets]]></description>
+		</element>
+		<element name="f0Fuzzy_prob0" type="float" min="0" max="1">
+			<description><![CDATA[Probability of adding new fuzzy set with simple rule, which uses this set (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob1" type="float" min="0" max="1">
+			<description><![CDATA[Probability of removing fuzzy set (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob2" type="float" min="0" max="1">
+			<description><![CDATA[Probability of adding new rule (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob3" type="float" min="0" max="1">
+			<description><![CDATA[Probability of removing rule (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob4" type="float" min="0" max="1">
+			<description><![CDATA[Probability of adding new input or output to exisitng rule (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f0Fuzzy_prob5" type="float" min="0" max="1">
+			<description><![CDATA[Probability of removing input or output from exisitng rule (1=proceed on all genes, 0.1=proceed on ten percent)]]></description>
+		</element>
+		<element name="f1_mut_exmod" type="string">
+			<description><![CDATA[Modifiers that will not be added nor deleted during mutation
+(all: RrLlAaCcFfMmSsIiQqWwEe)]]></description>
+		</element>
+		<element name="f1_nmConn" type="float" min="0" max="100" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f1_nmNeu" type="float" min="0" max="100" default="0.05">
+			<description><![CDATA[Adds a (connected) neuron or removes a neuron]]></description>
+		</element>
+		<element name="f1_nmProp" type="float" min="0" max="100" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f1_nmVal" type="float" min="0" max="100" default="0.05"/>
+		<element name="f1_nmWei" type="float" min="0" max="100" default="1"/>
+		<element name="f1_smComma" type="float" min="0" max="100" default="0.02"/>
+		<element name="f1_smJunct" type="float" min="0" max="100" default="0.02"/>
+		<element name="f1_smModif" type="float" min="0" max="100" default="0.1">
+			<description><![CDATA[Modifiers: RrLlAaCcFfMmSsIiQqWwEe]]></description>
+		</element>
+		<element name="f1_smX" type="float" min="0" max="100" default="0.05"/>
+		<element name="f1_xo_propor" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Cross over (exchange) corresponding segments of the two parent genotypes?
+
+f1 uses a two-point crossing over.
+If this option is turned on, cut points will be selected proportionally to neural genes.
+Thus, if both parents have the same number of neurons, then this will be preserved in their children.]]></description>
+		</element>
+		<element name="f2_mutAddOper" type="float" min="0" max="1" default="0.4">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutConnElem" type="float" min="0" max="1" default="0.33">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutDelOper" type="float" min="0" max="1" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutHandleOper" type="float" min="0" max="1" default="0.3">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutJointElem" type="float" min="0" max="1" default="0.33">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutNeuroElem" type="float" min="0" max="1" default="0.33">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f2_mutPropOper" type="float" min="0" max="1" default="0.2">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutDelIns" type="float" min="0" max="1" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutDelInsLength" type="integer" min="1" max="100" default="5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutDelInsPerChar" type="float" min="0" max="1" default="0.05">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutDuplication" type="float" min="0" max="1" default="0.05">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutSubstitution" type="float" min="0" max="1" default="0.6">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutSubstPerChar" type="float" min="0" max="1" default="0.1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_mutTranslocation" type="float" min="0" max="1" default="0.15">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_xovCrossingOver" type="float" min="0" max="1" default="0.2">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f3_xovGeneTransfer" type="float" min="0" max="1" default="0.8">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="f4_mut_add" type="float" min="0" max="100" default="50">
+			<description><![CDATA[mutation: probability of adding a node]]></description>
+		</element>
+		<element name="f4_mut_add_conn" type="float" min="0" max="100" default="15">
+			<description><![CDATA[add node mutation: probability of adding a neural connection]]></description>
+		</element>
+		<element name="f4_mut_add_div" type="float" min="0" max="100" default="20">
+			<description><![CDATA[add node mutation: probability of adding a division]]></description>
+		</element>
+		<element name="f4_mut_add_neupar" type="float" min="0" max="100" default="5">
+			<description><![CDATA[add node mutation: probability of adding a neuron property/modifier]]></description>
+		</element>
+		<element name="f4_mut_add_rep" type="float" min="0" max="100" default="10">
+			<description><![CDATA[add node mutation: probability of adding a repetition]]></description>
+		</element>
+		<element name="f4_mut_add_simp" type="float" min="0" max="100" default="50">
+			<description><![CDATA[add node mutation: probability of adding a random, simple gene]]></description>
+		</element>
+		<element name="f4_mut_del" type="float" min="0" max="100" default="20">
+			<description><![CDATA[mutation: probability of deleting a node]]></description>
+		</element>
+		<element name="f4_mut_mod" type="float" min="0" max="100" default="30">
+			<description><![CDATA[mutation: probability of changing a node]]></description>
+		</element>
+		<element name="filecomm" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Display comments encountered in opened files]]></description>
+		</element>
+		<element name="gen_extmutinfo" type="integer" min="0" max="2" default="0">
+			<description><![CDATA[If active, information about employed mutation method will be stored in the 'info' field of each mutated genotype.]]></description>
+		</element>
+		<element name="gen_hilite" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Use colors for genes?
+(slows down viewing/editing of huge genotypes)]]></description>
+		</element>
+		<element name="gen_hist" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[Required for phylogenetic analysis]]></description>
+		</element>
+		<element name="genkonw0" type="integer" min="0" max="1">
+			<description><![CDATA[Original Framsticks genotype format]]></description>
+		</element>
+		<element name="genkonw1" type="integer" min="0" max="1">
+			<description><![CDATA[Similarity encoding]]></description>
+		</element>
+		<element name="genkonw2" type="integer" min="0" max="1">
+			<description><![CDATA[Biological encoding]]></description>
+		</element>
+		<element name="genkonw3" type="integer" min="0" max="1">
+			<description><![CDATA[Developmental encoding]]></description>
+		</element>
+		<element name="genolib" type="GenePools"/>
+		<element name="genoper_f0" type="integer" min="0" max="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="genoper_f1" type="integer" min="0" max="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="genoper_f2" type="integer" min="0" max="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="genoper_f3" type="integer" min="0" max="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="genoper_f4" type="integer" min="0" max="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="groupchk" type="integer" min="0" max="1"/>
+		<element name="importchk" type="integer" min="0" max="1"/>
+		<element name="livelib" type="Populations"/>
+		<element name="loadchk" type="integer" min="0" max="1"/>
+		<element name="maxjoint" type="float" min="0" max="100" default="2"/>
+		<element name="minjoint" type="float" min="0" max="100" default="0"/>
+		<element name="neuadd_N" type="integer" min="0" max="1">
+			<description><![CDATA[Standard neuron
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   Inertia (in) float 0..1
+   Force (fo) float 0..999
+   Sigmoid (si) float -99999..99999
+   State (s) float -1..1]]></description>
+		</element>
+		<element name="neuadd_Nu" type="integer" min="0" max="1">
+			<description><![CDATA[Works like standard neuron (N) but the output value is scaled to 0...+1 instead of -1...+1.
+Having 0 as one of the saturation states should help in "gate circuits", where input signal is passed through or blocked depending on the other singal.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   Inertia (in) float 0..1
+   Force (fo) float 0..999
+   Sigmoid (si) float -99999..99999
+   State (s) float -1..1]]></description>
+		</element>
+		<element name="neuadd_G" type="integer" min="0" max="1">
+			<description><![CDATA[Equilibrium sensor.
+0=the stick is horizontal
++1/-1=the stick is vertical
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Joint
+]]></description>
+		</element>
+		<element name="neuadd_T" type="integer" min="0" max="1">
+			<description><![CDATA[Touch sensor.
+-1=no contact
+0=just touching
+>0=pressing, value depends on the force applied
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+
+
+Properties:
+   Range (r) float 0..1]]></description>
+		</element>
+		<element name="neuadd_S" type="integer" min="0" max="1">
+			<description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
+Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="neuadd_*" type="integer" min="0" max="1">
+			<description><![CDATA[Constant value
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_|" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1
+   bending range (r) float 0..1]]></description>
+		</element>
+		<element name="neuadd_@" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1]]></description>
+		</element>
+		<element name="neuadd_D" type="integer" min="0" max="1">
+			<description><![CDATA[Calculate the difference between the current and previous input value. Multiple inputs are aggregated with respect to their weights
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_Fuzzy" type="integer" min="0" max="1">
+			<description><![CDATA[Refer to publications to learn about this neuron
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   number of fuzzy sets (ns) integer
+   number of rules (nr) integer
+   fuzzy sets (fs) string
+   fuzzy rules (fr) string]]></description>
+		</element>
+		<element name="neuadd_VEye" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   provides output value
+   should be located on a Part
+
+
+Properties:
+   target.x (tx) float
+   target.y (ty) float
+   target.z (tz) float
+   target shape (ts) string
+   perspective (p) float 0.1..10
+   scale (s) float 0.1..100
+   show hidden lines (h) integer 0..1
+   output lines count (each line needs four channels) (o) integer 0..99
+   debug (d) integer 0..1]]></description>
+		</element>
+		<element name="neuadd_VMotor" type="integer" min="0" max="1">
+			<description><![CDATA[Must be connected to the VEye and properly set up.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   number of basic features (noIF) integer
+   number of degrees of freedom (noDim) integer
+   parameters (params) string]]></description>
+		</element>
+		<element name="neuadd_Sti" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="neuadd_LMu" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1]]></description>
+		</element>
+		<element name="neuadd_Water" type="integer" min="0" max="1">
+			<description><![CDATA[Output signal:
+0=on or above water surface
+1=under water (deeper than 1)
+0..1=in the transient area just below water surface
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="neuadd_Energy" type="integer" min="0" max="1">
+			<description><![CDATA[The current energy level divided by the initial energy level.
+Usually falls from initial 1.0 down to 0.0 and then the creature dies. It can rise above 1.0 if enough food is ingested
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_Ch" type="integer" min="0" max="1">
+			<description><![CDATA[Combines all input signals into a single multichannel output; Note: ChSel and ChMux are the only neurons which support multiple channels. Other neurons discard everything except the first channel.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_ChMux" type="integer" min="0" max="1">
+			<description><![CDATA[Outputs the selected channel from the second (multichannel) input. The first input is used as the selector value (-1=select first channel, .., 1=last channel)
+
+Characteristics:
+   uses 2 inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_ChSel" type="integer" min="0" max="1">
+			<description><![CDATA[Outputs a single channel (selected by the "ch" parameter) from multichannel input
+
+Characteristics:
+   uses single input
+   provides output value
+   does not require location in body
+
+
+Properties:
+   channel (ch) integer]]></description>
+		</element>
+		<element name="neuadd_Rnd" type="integer" min="0" max="1">
+			<description><![CDATA[Generates random noise (subsequent random values in the range of -1..+1)
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="neuadd_Sin" type="integer" min="0" max="1">
+			<description><![CDATA[Output frequency = f0+input
+
+Characteristics:
+   uses single input
+   provides output value
+   does not require location in body
+
+
+Properties:
+   base frequency (f0) float -1..1
+   time (t) float 0..6.28319]]></description>
+		</element>
+		<element name="ncl_N" type="integer" min="0" max="1">
+			<description><![CDATA[Standard neuron
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   Inertia (in) float 0..1
+   Force (fo) float 0..999
+   Sigmoid (si) float -99999..99999
+   State (s) float -1..1]]></description>
+		</element>
+		<element name="ncl_Nu" type="integer" min="0" max="1">
+			<description><![CDATA[Works like standard neuron (N) but the output value is scaled to 0...+1 instead of -1...+1.
+Having 0 as one of the saturation states should help in "gate circuits", where input signal is passed through or blocked depending on the other singal.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   Inertia (in) float 0..1
+   Force (fo) float 0..999
+   Sigmoid (si) float -99999..99999
+   State (s) float -1..1]]></description>
+		</element>
+		<element name="ncl_G" type="integer" min="0" max="1">
+			<description><![CDATA[Equilibrium sensor.
+0=the stick is horizontal
++1/-1=the stick is vertical
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Joint
+]]></description>
+		</element>
+		<element name="ncl_T" type="integer" min="0" max="1">
+			<description><![CDATA[Touch sensor.
+-1=no contact
+0=just touching
+>0=pressing, value depends on the force applied
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+
+
+Properties:
+   Range (r) float 0..1]]></description>
+		</element>
+		<element name="ncl_S" type="integer" min="0" max="1">
+			<description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
+Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="ncl_*" type="integer" min="0" max="1">
+			<description><![CDATA[Constant value
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="ncl_|" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1
+   bending range (r) float 0..1]]></description>
+		</element>
+		<element name="ncl_@" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1]]></description>
+		</element>
+		<element name="ncl_D" type="integer" min="0" max="1">
+			<description><![CDATA[Calculate the difference between the current and previous input value. Multiple inputs are aggregated with respect to their weights
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="ncl_Fuzzy" type="integer" min="0" max="1">
+			<description><![CDATA[Refer to publications to learn about this neuron
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   number of fuzzy sets (ns) integer
+   number of rules (nr) integer
+   fuzzy sets (fs) string
+   fuzzy rules (fr) string]]></description>
+		</element>
+		<element name="ncl_VEye" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   provides output value
+   should be located on a Part
+
+
+Properties:
+   target.x (tx) float
+   target.y (ty) float
+   target.z (tz) float
+   target shape (ts) string
+   perspective (p) float 0.1..10
+   scale (s) float 0.1..100
+   show hidden lines (h) integer 0..1
+   output lines count (each line needs four channels) (o) integer 0..99
+   debug (d) integer 0..1]]></description>
+		</element>
+		<element name="ncl_VMotor" type="integer" min="0" max="1">
+			<description><![CDATA[Must be connected to the VEye and properly set up.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+
+
+Properties:
+   number of basic features (noIF) integer
+   number of degrees of freedom (noDim) integer
+   parameters (params) string]]></description>
+		</element>
+		<element name="ncl_Sti" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="ncl_LMu" type="integer" min="0" max="1">
+			<description><![CDATA[Characteristics:
+   uses single input
+   does not provide output value
+   should be located on a Joint
+
+
+Properties:
+   power (p) float 0.01..1]]></description>
+		</element>
+		<element name="ncl_Water" type="integer" min="0" max="1">
+			<description><![CDATA[Output signal:
+0=on or above water surface
+1=under water (deeper than 1)
+0..1=in the transient area just below water surface
+
+Characteristics:
+   does not use inputs
+   provides output value
+   should be located on a Part
+]]></description>
+		</element>
+		<element name="ncl_Energy" type="integer" min="0" max="1">
+			<description><![CDATA[The current energy level divided by the initial energy level.
+Usually falls from initial 1.0 down to 0.0 and then the creature dies. It can rise above 1.0 if enough food is ingested
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="ncl_Ch" type="integer" min="0" max="1">
+			<description><![CDATA[Combines all input signals into a single multichannel output; Note: ChSel and ChMux are the only neurons which support multiple channels. Other neurons discard everything except the first channel.
+
+Characteristics:
+   supports any number of inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="ncl_ChMux" type="integer" min="0" max="1">
+			<description><![CDATA[Outputs the selected channel from the second (multichannel) input. The first input is used as the selector value (-1=select first channel, .., 1=last channel)
+
+Characteristics:
+   uses 2 inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="ncl_ChSel" type="integer" min="0" max="1">
+			<description><![CDATA[Outputs a single channel (selected by the "ch" parameter) from multichannel input
+
+Characteristics:
+   uses single input
+   provides output value
+   does not require location in body
+
+
+Properties:
+   channel (ch) integer]]></description>
+		</element>
+		<element name="ncl_Rnd" type="integer" min="0" max="1">
+			<description><![CDATA[Generates random noise (subsequent random values in the range of -1..+1)
+
+Characteristics:
+   does not use inputs
+   provides output value
+   does not require location in body
+]]></description>
+		</element>
+		<element name="ncl_Sin" type="integer" min="0" max="1">
+			<description><![CDATA[Output frequency = f0+input
+
+Characteristics:
+   uses single input
+   provides output value
+   does not require location in body
+
+
+Properties:
+   base frequency (f0) float -1..1
+   time (t) float 0..6.28319]]></description>
+		</element>
+		<element name="nnspeed" type="float" min="0" max="1000" default="1">
+			<description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description>
+		</element>
+		<element name="odeairdrag" type="float" min="0" max="0.5" default="0.01">
+			<description><![CDATA[A drag force ("air drag") proportional to the velocity of mass centers of moving parts]]></description>
+		</element>
+		<element name="odecol2bounce" type="float" min="0" max="1" default="0.1"/>
+		<element name="odecol2bouncevel" type="float" min="0" max="1" default="0.01"/>
+		<element name="odecol2mumax" type="float" min="0" max="10" default="1">
+			<description><![CDATA[Mu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)]]></description>
+		</element>
+		<element name="odecol2mumin" type="float" min="0" max="10" default="0.1">
+			<description><![CDATA[Mu coefficient for Parts with minimal friction (i.e. "fffff" in f1)]]></description>
+		</element>
+		<element name="odecol2softcfm" type="float" min="0" max="1" default="0"/>
+		<element name="odecolbounce" type="float" min="0" max="1" default="0.1"/>
+		<element name="odecolbouncevel" type="float" min="0" max="1" default="0.01"/>
+		<element name="odecolmumax" type="float" min="0" max="10" default="5">
+			<description><![CDATA[Mu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)]]></description>
+		</element>
+		<element name="odecolmumin" type="float" min="0" max="10" default="0.1">
+			<description><![CDATA[Mu coefficient for Parts with minimal friction (i.e. "fffff" in f1)]]></description>
+		</element>
+		<element name="odecolsoftcfm" type="float" min="0" max="1" default="0"/>
+		<element name="odemusclemax" type="float" min="0" max="100" default="10">
+			<description><![CDATA[i.e. "MMMMM" if f1]]></description>
+		</element>
+		<element name="odemusclemin" type="float" min="0" max="100" default="0">
+			<description><![CDATA[i.e. "mmmmm" in f1]]></description>
+		</element>
+		<element name="odemusclespeed" type="float" min="0" max="10" default="1">
+			<description><![CDATA[Muscle state cannot change faster than the supplied value]]></description>
+		</element>
+		<element name="odeseed" type="integer" min="0" max="2">
+			<description><![CDATA[Affects collisions.
+- 'Truly random' is closest to the standard ODE operation. Use Math.seed to influence randomness in ODE collisions
+- 'Deterministic' automatically calculates random seed in each step based on the current simulation (world) state, which makes the simulation repeatable but more random than 'Fixed'
+- 'Fixed' is completely deterministic and does not depend on Math.seed. This might negatively affect ODE accuracy
+]]></description>
+		</element>
+		<element name="odeshape" type="integer" min="0" max="1"/>
+		<element name="odestep" type="float" min="0.001" max="1" default="0.05"/>
+		<element name="odewaterbuoy" type="float" min="0" max="2" default="1"/>
+		<element name="odewaterdrag" type="float" min="0.001" max="1" default="0.5"/>
+		<element name="overwrite" type="integer" min="0" max="1">
+			<description><![CDATA[Overwite existing files or create their backups]]></description>
+		</element>
+		<element name="randinit" type="float" min="0" max="10" default="0.01">
+			<description><![CDATA[Initialize all neuron states with uniform distribution random numbers]]></description>
+		</element>
+		<element name="resetonexpdef" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[If turned on: when a new experiment definition is selected, default values are loaded for most of the simulator parameters, and gene pools and populations are cleared.
+When turned off: parameters from previous experiment definition will remain.]]></description>
+		</element>
+		<element name="running" type="integer" min="0" max="1">
+			<description><![CDATA[for synchronizing the user interface state]]></description>
+		</element>
+		<element name="signals" type="WorldSignals"/>
+		<element name="simil_method" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="simil_neuro" type="float" min="0" max="100" default="0.5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="simil_partdeg" type="float" min="0" max="100" default="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="simil_parts" type="float" min="0" max="100" default="0">
+			<description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description>
+		</element>
+		<element name="simspeed" type="integer">
+			<description><![CDATA[steps/second]]></description>
+		</element>
+		<element name="simtype" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[MechaStick is a fast and simple primary Framsticks simulation engine.
+ODE is Open Dynamics Engine by Russel Smith et al.
+
+NOTE: switching between simulation engines causes removal of all objects in the world (e.g. creatures).]]></description>
+		</element>
+		<element name="symAlphaSteps" type="integer" min="2" max="50" default="20">
+			<description><![CDATA[Default number of samples per full angle (#1)]]></description>
+		</element>
+		<element name="symBetaSteps" type="integer" min="2" max="50" default="20">
+			<description><![CDATA[Default number of samples per full angle (#2)]]></description>
+		</element>
+		<element name="symPosSteps" type="integer" min="2" max="50" default="10">
+			<description><![CDATA[Default number of samples per stick length]]></description>
+		</element>
+		<element name="symResultA" type="float"/>
+		<element name="symResultB" type="float"/>
+		<element name="symResultC" type="float"/>
+		<element name="symResultD" type="float"/>
+		<element name="time" type="integer"/>
+		<element name="touchrange" type="float" min="0" max="100" default="1"/>
+		<element name="usercode" type="string">
+			<description><![CDATA[This script overrides the experiment definition]]></description>
+		</element>
+		<element name="vmdebug" type="integer" min="0" max="1"/>
+		<element name="world" type="World"/>
+		<element name="wrldbnd" type="integer" min="0" max="2" default="1"/>
+		<element name="wrldg" type="float" min="0" max="10" default="1">
+			<description><![CDATA[You can adjust gravity for your experiments.
+The "official" setting used to evaluate and compare creatures is 1.]]></description>
+		</element>
+		<element name="wrldmap" type="string">
+			<description><![CDATA[Description of the world (Type: Blocks or Heighfield). Enter
+   r <sizex> <sizey> [seed]
+to generate a random landscape, or
+   m <sizex> <sizey> digits
+   M <sizex> <sizey> numbers
+to provide height values.
+
+See also the WorldMap object.]]></description>
+		</element>
+		<element name="wrldsiz" type="float" min="10" max="1000" default="20">
+			<description><![CDATA[Side length of the world]]></description>
+		</element>
+		<element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
+		<element name="wrldwat" type="float" min="-20" max="30" default="-1"/>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="beep" function="true" type="void">
+			<description><![CDATA[Plays a default system sound]]></description>
+<arguments/></element>
+		<element name="calculateSymmetry" function="true" type="float">
+			<description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using default precision parameters (symPosSteps,symAlphaSteps,symBetaSteps). Returns the symmetry plane, too (sets symResultA,B,C,D).
+Note: may take a long time for large creatures.]]></description>
+			<arguments>
+				<argument name="model" type="Model"/>
+			</arguments>
+		</element>
+		<element name="calculateSymmetry2" function="true" type="float">
+			<description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using specified precision parameters. Returns the symmetry plane, too (sets symResultA,B,C,D).
+Note: may take a long time for large creatures.]]></description>
+			<arguments>
+				<argument name="model" type="Model"/>
+				<argument name="posSteps" type="integer"/>
+				<argument name="alphaSteps" type="integer"/>
+				<argument name="betaSteps" type="integer"/>
+			</arguments>
+		</element>
+		<element name="calculateSymmetryForPlane" function="true" type="float">
+			<description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model and given a specific plane defined by coefficients A, B, C, D.]]></description>
+			<arguments>
+				<argument name="model" type="Model"/>
+				<argument name="A" type="float"/>
+				<argument name="B" type="float"/>
+				<argument name="C" type="float"/>
+				<argument name="D" type="float"/>
+			</arguments>
+		</element>
+		<element name="checkpoint" function="true" type="void">
+			<description><![CDATA[This function was previously called "autosave".]]></description>
+<arguments/></element>
+		<element name="clear" function="true"/>
+		<element name="crossOver" function="true" type="Geno">
+			<description><![CDATA[returns crossed over genotype]]></description>
+			<arguments>
+				<argument type="Geno"/>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="eval" function="true" type="void">
+			<arguments>
+				<argument name="script expression" type="string"/>
+			</arguments>
+		</element>
+		<element name="evaluateDistance" function="true" type="float">
+			<description><![CDATA[calculate dissimilarity between two models created from Geno objects]]></description>
+			<arguments>
+				<argument type="Geno"/>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="export" function="true" type="void">
+			<description><![CDATA[Save some data to file. arguments:
+- filename
+- flags: composed of the following bit values:
+   1 - experiment (works like "save" and all other bits are ignored)
+   2 - genotypes
+   4 - simulator parameters
+   8 - simulator stats
+   16 - genepool settings
+   32 - population settings
+   64 - do autosave
+- selected genepool
+- selected population]]></description>
+			<arguments>
+				<argument name="filename" type="string"/>
+				<argument name="options" type="integer"/>
+				<argument name="genepool" type="integer"/>
+				<argument name="population" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getSimplest" function="true" type="Geno">
+			<description><![CDATA[returns the simplest genotype for a given encoding (format). 0 means f0, 4 means f4, etc.]]></description>
+			<arguments>
+				<argument name="format" type="integer"/>
+			</arguments>
+		</element>
+		<element name="import" function="true" type="void">
+			<description><![CDATA[Load some data from file. The second optional argument selects what section(s) will be imported:
+ 1 - experiment (works like "load" and can reset the simulator state!)
+ 2 - genotypes
+ 4 - simulator parameters
+ 8 - genepool settings
+ 16 - population settings
+ 32 - new groups will be created for imported genepools and populations
+64 - allow switching to a different expdef while importing parameters (4)
+
+The standard behavior (without the second argument) is to import genotypes, parameters, and genepool and population settings (2+4+8+16). Note that "64" is not included by default, because the expdef change resets all simulator parameters, which contradicts the usual meaning of "import" in Framsticks ("add data", as opposed to "load" meaning "replace data"). Moreover, using the "64" option in scripts can be dengerous, especially all expdef and show scripts should always declare the proper expdef name in their header rather than change the expdef directly. Without the "64" option, it is always safe to "import" any file in a script regardless of the current simulator state.]]></description>
+			<arguments>
+				<argument name="filename" type="string"/>
+				<argument name="options" type="integer"/>
+			</arguments>
+		</element>
+		<element name="init" function="true" type="void">
+			<description><![CDATA[Performs initialization procedures, like resetting counters, states, gene pools, etc.]]></description>
+<arguments/></element>
+		<element name="load" function="true" type="void">
+			<description><![CDATA[Load experiment file (calls onExpLoad() in the current experiment definition). This function is intended to replace the simulator state; the old state is cleared by automatically calling "resetToDefaults()" (only if "resetonexpdef" is enabled). Use "import" if you don't want to loose the old simulator state.]]></description>
+			<arguments>
+				<argument name="filename" type="string"/>
+			</arguments>
+		</element>
+		<element name="loadexpdef" function="true" type="void"><arguments/></element>
+		<element name="loadNeurons" function="true" type="void">
+			<arguments>
+				<argument name="directory path" type="string"/>
+			</arguments>
+		</element>
+		<element name="message" function="true" type="void">
+			<description><![CDATA[The second argument can be:
+ -1 = debugging message
+ 0 = information
+ 1 = warning
+ 2 = error
+ 3 = critical error]]></description>
+			<arguments>
+				<argument name="text" type="string"/>
+				<argument name="level" type="integer"/>
+			</arguments>
+		</element>
+		<element name="mutate" function="true" type="Geno">
+			<description><![CDATA[returns mutated Geno object from supplied Geno]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="new" function="true" type="Simulator"><arguments/></element>
+		<element name="operReport" function="true" type="void">
+			<description><![CDATA[Show available genetic operators]]></description>
+<arguments/></element>
+		<element name="print" function="true" type="void">
+			<description><![CDATA[One argument: message to be printed]]></description>
+			<arguments>
+				<argument name="text" type="string"/>
+			</arguments>
+		</element>
+		<element name="rayIntersection" function="true" type="float">
+			<arguments>
+				<argument name="position x" type="float"/>
+				<argument name="position y" type="float"/>
+				<argument name="position z" type="float"/>
+				<argument name="direction x" type="float"/>
+				<argument name="direction y" type="float"/>
+				<argument name="direction z" type="float"/>
+				<argument name="max distance" type="float"/>
+			</arguments>
+		</element>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+		<element name="resetToDefaults" function="true" type="void">
+			<description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description>
+<arguments/></element>
+		<element name="save" function="true" type="void">
+			<description><![CDATA[Save experiment file (calls onExpSave() in the current experiment definition)]]></description>
+			<arguments>
+				<argument name="filename" type="string"/>
+			</arguments>
+		</element>
+		<element name="sleep" function="true" type="void">
+			<description><![CDATA[Suspends the execution for a specified interval]]></description>
+			<arguments>
+				<argument name="milliseconds" type="integer"/>
+			</arguments>
+		</element>
+		<element name="sound" function="true" type="void">
+			<description><![CDATA[Generates a simple tone on the speaker]]></description>
+			<arguments>
+				<argument name="freqency in Hz" type="integer"/>
+				<argument name="length in milliseconds" type="integer"/>
+			</arguments>
+		</element>
+		<element name="start" function="true" type="void">
+			<description><![CDATA[called by the user interface]]></description>
+<arguments/></element>
+		<element name="step" function="true" type="void"><arguments/></element>
+		<element name="stop" function="true" type="void">
+			<description><![CDATA[the expdef script calls this to stop simulation]]></description>
+<arguments/></element>
+		<element name="toHTML" function="true" type="string">
+			<description><![CDATA[returns genotype expressed as colored HTML]]></description>
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="toHTMLshort" function="true" type="string">
+			<description><![CDATA[returns genotype (abbreviated if needed) expressed as colored HTML]]></description>
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="validate" function="true" type="Geno">
+			<description><![CDATA[returns validated (if possible) Geno object from supplied Geno]]></description>
+			<arguments>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+		<element name="wrldchg" function="true" type="void"><arguments/></element>
+	</type>
+	<type name="Similarity" context="Global context">
+		<element name="simil_method" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="simil_neuro" type="float" min="0" max="100" default="0.5">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="simil_partdeg" type="float" min="0" max="100" default="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="simil_parts" type="float" min="0" max="100" default="0">
+			<description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description>
+		</element>
+		<element name="evaluateDistance" function="true" type="float">
+			<description><![CDATA[calculate dissimilarity between two models created from Geno objects]]></description>
+			<arguments>
+				<argument type="Geno"/>
+				<argument type="Geno"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Simulator" context="Global context">
+<description><![CDATA[The Framsticks simulator.]]></description>
+		<element name="autosaveperiod" type="integer" min="0" max="100000">
+			<description><![CDATA[Save simulation state once every n-th event
+(events are defined by the script. For 'standard.expdef' it is after each death).
+Save EXPT file first to initialize name for autosave files.]]></description>
+		</element>
+		<element name="createrr" type="integer" min="0" max="2" default="1"/>
+		<element name="creatwarnfail" type="integer" min="0" max="1">
+			<description><![CDATA[Creatures grown with warnings will not be simulated.]]></description>
+		</element>
+		<element name="expdef" type="string">
+			<description><![CDATA[Choose the experiment framework
+(in Windows GUI, confirm by pressing 'Apply')
+
+Stop the simulation before selecting another experiment definition.
+It is a good practice to initialize the experiment before running the simulation.]]></description>
+		</element>
+		<element name="expdef_info" type="string"/>
+		<element name="expdef_title" type="string"/>
+		<element name="filecomm" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[Display comments encountered in opened files]]></description>
+		</element>
+		<element name="genolib" type="GenePools"/>
+		<element name="groupchk" type="integer" min="0" max="1"/>
+		<element name="importchk" type="integer" min="0" max="1"/>
+		<element name="livelib" type="Populations"/>
+		<element name="loadchk" type="integer" min="0" max="1"/>
+		<element name="maxjoint" type="float" min="0" max="100" default="2"/>
+		<element name="minjoint" type="float" min="0" max="100" default="0"/>
+		<element name="overwrite" type="integer" min="0" max="1">
+			<description><![CDATA[Overwite existing files or create their backups]]></description>
+		</element>
+		<element name="resetonexpdef" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[If turned on: when a new experiment definition is selected, default values are loaded for most of the simulator parameters, and gene pools and populations are cleared.
+When turned off: parameters from previous experiment definition will remain.]]></description>
+		</element>
+		<element name="running" type="integer" min="0" max="1">
+			<description><![CDATA[for synchronizing the user interface state]]></description>
+		</element>
+		<element name="simspeed" type="integer">
+			<description><![CDATA[steps/second]]></description>
+		</element>
+		<element name="time" type="integer"/>
+		<element name="usercode" type="string">
+			<description><![CDATA[This script overrides the experiment definition]]></description>
+		</element>
+		<element name="vmdebug" type="integer" min="0" max="1"/>
+		<element name="world" type="World"/>
+		<element name="beep" function="true" type="void">
+			<description><![CDATA[Plays a default system sound]]></description>
+<arguments/></element>
+		<element name="checkpoint" function="true" type="void">
+			<description><![CDATA[This function was previously called "autosave".]]></description>
+<arguments/></element>
+		<element name="eval" function="true" type="void">
+			<arguments>
+				<argument name="script expression" type="string"/>
+			</arguments>
+		</element>
+		<element name="export" function="true" type="void">
+			<description><![CDATA[Save some data to file. arguments:
+- filename
+- flags: composed of the following bit values:
+   1 - experiment (works like "save" and all other bits are ignored)
+   2 - genotypes
+   4 - simulator parameters
+   8 - simulator stats
+   16 - genepool settings
+   32 - population settings
+   64 - do autosave
+- selected genepool
+- selected population]]></description>
+			<arguments>
+				<argument name="filename" type="string"/>
+				<argument name="options" type="integer"/>
+				<argument name="genepool" type="integer"/>
+				<argument name="population" type="integer"/>
+			</arguments>
+		</element>
+		<element name="import" function="true" type="void">
+			<description><![CDATA[Load some data from file. The second optional argument selects what section(s) will be imported:
+ 1 - experiment (works like "load" and can reset the simulator state!)
+ 2 - genotypes
+ 4 - simulator parameters
+ 8 - genepool settings
+ 16 - population settings
+ 32 - new groups will be created for imported genepools and populations
+64 - allow switching to a different expdef while importing parameters (4)
+
+The standard behavior (without the second argument) is to import genotypes, parameters, and genepool and population settings (2+4+8+16). Note that "64" is not included by default, because the expdef change resets all simulator parameters, which contradicts the usual meaning of "import" in Framsticks ("add data", as opposed to "load" meaning "replace data"). Moreover, using the "64" option in scripts can be dengerous, especially all expdef and show scripts should always declare the proper expdef name in their header rather than change the expdef directly. Without the "64" option, it is always safe to "import" any file in a script regardless of the current simulator state.]]></description>
+			<arguments>
+				<argument name="filename" type="string"/>
+				<argument name="options" type="integer"/>
+			</arguments>
+		</element>
+		<element name="init" function="true" type="void">
+			<description><![CDATA[Performs initialization procedures, like resetting counters, states, gene pools, etc.]]></description>
+<arguments/></element>
+		<element name="load" function="true" type="void">
+			<description><![CDATA[Load experiment file (calls onExpLoad() in the current experiment definition). This function is intended to replace the simulator state; the old state is cleared by automatically calling "resetToDefaults()" (only if "resetonexpdef" is enabled). Use "import" if you don't want to loose the old simulator state.]]></description>
+			<arguments>
+				<argument name="filename" type="string"/>
+			</arguments>
+		</element>
+		<element name="loadexpdef" function="true" type="void"><arguments/></element>
+		<element name="loadNeurons" function="true" type="void">
+			<arguments>
+				<argument name="directory path" type="string"/>
+			</arguments>
+		</element>
+		<element name="message" function="true" type="void">
+			<description><![CDATA[The second argument can be:
+ -1 = debugging message
+ 0 = information
+ 1 = warning
+ 2 = error
+ 3 = critical error]]></description>
+			<arguments>
+				<argument name="text" type="string"/>
+				<argument name="level" type="integer"/>
+			</arguments>
+		</element>
+		<element name="new" function="true" type="Simulator"><arguments/></element>
+		<element name="print" function="true" type="void">
+			<description><![CDATA[One argument: message to be printed]]></description>
+			<arguments>
+				<argument name="text" type="string"/>
+			</arguments>
+		</element>
+		<element name="resetToDefaults" function="true" type="void">
+			<description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description>
+<arguments/></element>
+		<element name="save" function="true" type="void">
+			<description><![CDATA[Save experiment file (calls onExpSave() in the current experiment definition)]]></description>
+			<arguments>
+				<argument name="filename" type="string"/>
+			</arguments>
+		</element>
+		<element name="sleep" function="true" type="void">
+			<description><![CDATA[Suspends the execution for a specified interval]]></description>
+			<arguments>
+				<argument name="milliseconds" type="integer"/>
+			</arguments>
+		</element>
+		<element name="sound" function="true" type="void">
+			<description><![CDATA[Generates a simple tone on the speaker]]></description>
+			<arguments>
+				<argument name="freqency in Hz" type="integer"/>
+				<argument name="length in milliseconds" type="integer"/>
+			</arguments>
+		</element>
+		<element name="start" function="true" type="void">
+			<description><![CDATA[called by the user interface]]></description>
+<arguments/></element>
+		<element name="step" function="true" type="void"><arguments/></element>
+		<element name="stop" function="true" type="void">
+			<description><![CDATA[the expdef script calls this to stop simulation]]></description>
+<arguments/></element>
+	</type>
+	<type name="stats" context="Global context">
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="gen_count" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="gen_mfailed" type="integer">
+			<description><![CDATA[couldn't be performed]]></description>
+		</element>
+		<element name="gen_minvalid" type="integer">
+			<description><![CDATA[couldn't be repaired]]></description>
+		</element>
+		<element name="gen_mutimpr" type="float">
+			<description><![CDATA[total cumulative mutation change]]></description>
+		</element>
+		<element name="gen_mvalid" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="gen_mvalidated" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="gen_xofailed" type="integer">
+			<description><![CDATA[couldn't be performed]]></description>
+		</element>
+		<element name="gen_xoimpr" type="float">
+			<description><![CDATA[total cumulative crossover change]]></description>
+		</element>
+		<element name="gen_xoinvalid" type="integer">
+			<description><![CDATA[couldn't be repaired]]></description>
+		</element>
+		<element name="gen_xovalid" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="gen_xovalidated" type="integer">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="st_avg_c_velocity" type="float"/>
+		<element name="st_avg_c_vertpos" type="float"/>
+		<element name="st_avg_c_vertvelocity" type="float"/>
+		<element name="st_avg_center_x" type="float"/>
+		<element name="st_avg_center_y" type="float"/>
+		<element name="st_avg_center_z" type="float"/>
+		<element name="st_avg_distance" type="float"/>
+		<element name="st_avg_fit" type="float"/>
+		<element name="st_avg_fit2" type="float"/>
+		<element name="st_avg_gnum" type="float"/>
+		<element name="st_avg_instances" type="float"/>
+		<element name="st_avg_lifespan" type="float"/>
+		<element name="st_avg_num" type="float"/>
+		<element name="st_avg_numconnections" type="float"/>
+		<element name="st_avg_numjoints" type="float"/>
+		<element name="st_avg_numneurons" type="float"/>
+		<element name="st_avg_numparts" type="float"/>
+		<element name="st_avg_pos_x" type="float"/>
+		<element name="st_avg_pos_y" type="float"/>
+		<element name="st_avg_pos_z" type="float"/>
+		<element name="st_avg_size_x" type="float"/>
+		<element name="st_avg_size_y" type="float"/>
+		<element name="st_avg_size_z" type="float"/>
+		<element name="st_avg_velocity" type="float"/>
+		<element name="st_avg_vertpos" type="float"/>
+		<element name="st_avg_vertvel" type="float"/>
+		<element name="st_count" type="integer"/>
+		<element name="st_max_c_velocity" type="float"/>
+		<element name="st_max_c_vertpos" type="float"/>
+		<element name="st_max_c_vertvelocity" type="float"/>
+		<element name="st_max_center_x" type="float"/>
+		<element name="st_max_center_y" type="float"/>
+		<element name="st_max_center_z" type="float"/>
+		<element name="st_max_distance" type="float"/>
+		<element name="st_max_fit" type="float"/>
+		<element name="st_max_fit2" type="float"/>
+		<element name="st_max_gnum" type="float"/>
+		<element name="st_max_instances" type="float"/>
+		<element name="st_max_lifespan" type="float"/>
+		<element name="st_max_num" type="float"/>
+		<element name="st_max_numconnections" type="float"/>
+		<element name="st_max_numjoints" type="float"/>
+		<element name="st_max_numneurons" type="float"/>
+		<element name="st_max_numparts" type="float"/>
+		<element name="st_max_pos_x" type="float"/>
+		<element name="st_max_pos_y" type="float"/>
+		<element name="st_max_pos_z" type="float"/>
+		<element name="st_max_size_x" type="float"/>
+		<element name="st_max_size_y" type="float"/>
+		<element name="st_max_size_z" type="float"/>
+		<element name="st_max_velocity" type="float"/>
+		<element name="st_max_vertpos" type="float"/>
+		<element name="st_max_vertvel" type="float"/>
+		<element name="st_min_c_velocity" type="float"/>
+		<element name="st_min_c_vertpos" type="float"/>
+		<element name="st_min_c_vertvelocity" type="float"/>
+		<element name="st_min_center_x" type="float"/>
+		<element name="st_min_center_y" type="float"/>
+		<element name="st_min_center_z" type="float"/>
+		<element name="st_min_distance" type="float"/>
+		<element name="st_min_fit" type="float"/>
+		<element name="st_min_fit2" type="float"/>
+		<element name="st_min_gnum" type="float"/>
+		<element name="st_min_instances" type="float"/>
+		<element name="st_min_lifespan" type="float"/>
+		<element name="st_min_num" type="float"/>
+		<element name="st_min_numconnections" type="float"/>
+		<element name="st_min_numjoints" type="float"/>
+		<element name="st_min_numneurons" type="float"/>
+		<element name="st_min_numparts" type="float"/>
+		<element name="st_min_pos_x" type="float"/>
+		<element name="st_min_pos_y" type="float"/>
+		<element name="st_min_pos_z" type="float"/>
+		<element name="st_min_size_x" type="float"/>
+		<element name="st_min_size_y" type="float"/>
+		<element name="st_min_size_z" type="float"/>
+		<element name="st_min_velocity" type="float"/>
+		<element name="st_min_vertpos" type="float"/>
+		<element name="st_min_vertvel" type="float"/>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="clrstats" function="true" type="void">
+			<description><![CDATA[]]></description>
+<arguments/></element>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+	</type>
+	<type name="String" context="Global context">
+<description><![CDATA[String functions library.]]></description>
+		<element name="char" function="true" type="string">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+		<element name="code" function="true" type="integer">
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="format" function="true" type="string">
+			<description><![CDATA[Works like the standard C library "sprintf()" but only one %-argument is accepted.
+Format string: %[-][+][0][width[.precision]]type
+ -: left adjust (default is right adjust)
+ +: place a sign (+ or -) before a number
+ 0: the value should be zero padded
+ width: minimum field width
+ precision: minimum number of decimal digits
+ type: d=decimal integer, x/X=hexadecimal integer, f/g=floating point number, e="scientific" style floating point, t=time
+Examples:
+ String.format("|%07.2f|",Math.pi) -> ="|0003.14|"
+ String.format("|%04x|",255) -> ="|00ff|"
+ String.format("|%7s|","text") -> ="|   text|"
+ String.format("|%-7d|",12345) -> ="|12345  |"
+ String.format("%t",Math.time) -> ="Sun Apr 29 19:22:02 2007"
+ String.format("%T",Math.time) -> ="2007-05-29 19:22:02"
+]]></description>
+			<arguments>
+				<argument name="format" type="string"/>
+				<argument name="value" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="indexOf" function="true" type="integer">
+			<description><![CDATA[String.indexOf("abcdef","cd") -> 2
+String.indexOf("abcdef","dc") -> -1
+]]></description>
+			<arguments>
+				<argument type="string"/>
+				<argument name="substring" type="string"/>
+			</arguments>
+		</element>
+		<element name="indexOfStart" function="true" type="integer">
+			<description><![CDATA[String.indexOfStart("abcdef","cd",1) -> 2
+String.indexOfStart("abcdef","cd",3) -> -1
+]]></description>
+			<arguments>
+				<argument type="string"/>
+				<argument name="substring" type="string"/>
+				<argument name="start index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="left" function="true" type="string">
+			<description><![CDATA[String.left("abcdef",3) -> ="abc"]]></description>
+			<arguments>
+				<argument type="string"/>
+				<argument name="number of characters" type="integer"/>
+			</arguments>
+		</element>
+		<element name="len" function="true" type="integer">
+			<description><![CDATA[String.len("abcdef") -> 6]]></description>
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="parseFloat" function="true" type="float">
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="parseInt" function="true" type="integer">
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="replace" function="true" type="string">
+			<description><![CDATA[String.replace("abcdef","cd","X") -> "abXef"]]></description>
+			<arguments>
+				<argument name="search" type="string"/>
+				<argument name="substitute" type="string"/>
+			</arguments>
+		</element>
+		<element name="right" function="true" type="string">
+			<description><![CDATA[String.right("abcdef",3) -> ="def"]]></description>
+			<arguments>
+				<argument type="string"/>
+				<argument name="number of characters" type="integer"/>
+			</arguments>
+		</element>
+		<element name="split" function="true" type="Vector">
+			<description><![CDATA[return the vector of substrings, cut at separator positions.
+subsequent separators give empty words: split("word1---word2-word3","-") -> ["word1","","","word2","word3"]]]></description>
+			<arguments>
+				<argument type="string"/>
+				<argument name="word separator" type="string"/>
+			</arguments>
+		</element>
+		<element name="split2" function="true" type="Vector">
+			<description><![CDATA[return the vector of substrings, cut at separator positions.
+subsequent separators are treated as one: split2("word1---word2-word3","-") -> ["word1","word2","word3"]]]></description>
+			<arguments>
+				<argument type="string"/>
+				<argument name="word separator" type="string"/>
+			</arguments>
+		</element>
+		<element name="substr" function="true" type="string">
+			<description><![CDATA[String.substr("abcdef",3,2) -> ="de"]]></description>
+			<arguments>
+				<argument type="string"/>
+				<argument name="first character" type="integer"/>
+				<argument name="number of characters" type="integer"/>
+			</arguments>
+		</element>
+		<element name="toLower" function="true" type="string">
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+		<element name="toUpper" function="true" type="string">
+			<arguments>
+				<argument type="string"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Symmetry" context="Global context">
+		<element name="symAlphaSteps" type="integer" min="2" max="50" default="20">
+			<description><![CDATA[Default number of samples per full angle (#1)]]></description>
+		</element>
+		<element name="symBetaSteps" type="integer" min="2" max="50" default="20">
+			<description><![CDATA[Default number of samples per full angle (#2)]]></description>
+		</element>
+		<element name="symPosSteps" type="integer" min="2" max="50" default="10">
+			<description><![CDATA[Default number of samples per stick length]]></description>
+		</element>
+		<element name="symResultA" type="float"/>
+		<element name="symResultB" type="float"/>
+		<element name="symResultC" type="float"/>
+		<element name="symResultD" type="float"/>
+		<element name="calculateSymmetry" function="true" type="float">
+			<description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using default precision parameters (symPosSteps,symAlphaSteps,symBetaSteps). Returns the symmetry plane, too (sets symResultA,B,C,D).
+Note: may take a long time for large creatures.]]></description>
+			<arguments>
+				<argument name="model" type="Model"/>
+			</arguments>
+		</element>
+		<element name="calculateSymmetry2" function="true" type="float">
+			<description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using specified precision parameters. Returns the symmetry plane, too (sets symResultA,B,C,D).
+Note: may take a long time for large creatures.]]></description>
+			<arguments>
+				<argument name="model" type="Model"/>
+				<argument name="posSteps" type="integer"/>
+				<argument name="alphaSteps" type="integer"/>
+				<argument name="betaSteps" type="integer"/>
+			</arguments>
+		</element>
+		<element name="calculateSymmetryForPlane" function="true" type="float">
+			<description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model and given a specific plane defined by coefficients A, B, C, D.]]></description>
+			<arguments>
+				<argument name="model" type="Model"/>
+				<argument name="A" type="float"/>
+				<argument name="B" type="float"/>
+				<argument name="C" type="float"/>
+				<argument name="D" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Vector" context="Global context">
+<description><![CDATA[Vector is 1-dimensional array, indexed by integer value (starting from 0). Multidimensional arrays can be simulated by putting other Vector objects into the Vector.
+Example:
+var v=Vector.new();
+v.add(123); v.add("string");]]></description>
+		<element name="avg" type="float"/>
+		<element name="size" type="integer"/>
+		<element name="stdev" type="float">
+			<description><![CDATA[=sqrt(sum((element[i]-avg)^2)/(size-1)) which is estimated population std.dev. from sample std.dev.]]></description>
+		</element>
+		<element name="toString" type="string"/>
+		<element name="add" function="true" type="void">
+			<arguments>
+				<argument name="value" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="clear" function="true" type="void"><arguments/></element>
+		<element name="find" function="true" type="integer">
+			<description><![CDATA[returns the element index or -1 if not found]]></description>
+			<arguments>
+				<argument name="value" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="get" function="true" type="untyped">
+			<arguments>
+				<argument name="position" type="integer"/>
+			</arguments>
+		</element>
+		<element name="new" function="true" type="Vector"><arguments/></element>
+		<element name="remove" function="true" type="void">
+			<arguments>
+				<argument name="position" type="integer"/>
+			</arguments>
+		</element>
+		<element name="set" function="true" type="void">
+			<arguments>
+				<argument name="position" type="integer"/>
+				<argument name="value" type="untyped"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="World" context="Global context">
+<description><![CDATA[Environment properties.]]></description>
+		<element name="nnspeed" type="float" min="0" max="1000" default="1">
+			<description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description>
+		</element>
+		<element name="signals" type="WorldSignals"/>
+		<element name="simtype" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[MechaStick is a fast and simple primary Framsticks simulation engine.
+ODE is Open Dynamics Engine by Russel Smith et al.
+
+NOTE: switching between simulation engines causes removal of all objects in the world (e.g. creatures).]]></description>
+		</element>
+		<element name="wrldbnd" type="integer" min="0" max="2" default="1"/>
+		<element name="wrldg" type="float" min="0" max="10" default="1">
+			<description><![CDATA[You can adjust gravity for your experiments.
+The "official" setting used to evaluate and compare creatures is 1.]]></description>
+		</element>
+		<element name="wrldmap" type="string">
+			<description><![CDATA[Description of the world (Type: Blocks or Heighfield). Enter
+   r <sizex> <sizey> [seed]
+to generate a random landscape, or
+   m <sizex> <sizey> digits
+   M <sizex> <sizey> numbers
+to provide height values.
+
+See also the WorldMap object.]]></description>
+		</element>
+		<element name="wrldsiz" type="float" min="10" max="1000" default="20">
+			<description><![CDATA[Side length of the world]]></description>
+		</element>
+		<element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
+		<element name="wrldwat" type="float" min="-20" max="30" default="-1"/>
+		<element name="wrldchg" function="true" type="void"><arguments/></element>
+	</type>
+	<type name="WorldMap" context="Global context">
+<description><![CDATA[Environment details for "Blocks" and "Heightfield" world type. The most important concept is a "Map", which is the array of Map elements. Internally, Maps have more elements than could be deduced from the user-supplied World.wrldsiz, as additional rows of element are added to provide smooth transitions to the flat surroundings.
+
+Blocks: x/ysize=World.wrldsiz+4 rows of blocks (from which only 2+World.wrldsiz rows are placed within the world boundaries)
+
+Smooth: x/ysize=World.wrldsiz+2 rows of vertices (creating World.wrldsiz+1 rows of triangles, everything within the world boundaries)
+]]></description>
+		<element name="xsize" type="integer"/>
+		<element name="ysize" type="integer"/>
+		<element name="getHeight" function="true" type="float">
+			<description><![CDATA[Height at any 2d coordinate]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+			</arguments>
+		</element>
+		<element name="getMap" function="true" type="Object">
+			<description><![CDATA[retrieve map cell object]]></description>
+			<arguments>
+				<argument name="x" type="integer"/>
+				<argument name="y" type="integer"/>
+			</arguments>
+		</element>
+		<element name="intersect" function="true" type="Vector">
+			<description><![CDATA[Calculate the intersection point between the world surface and the ray projected from "3d point" towards the given direction. 3D points are actually 3-elements Vector objects. The resulting vector contains the additional fourth element - the intersection point distance. The function returns null if there is no intersection.
+
+See "standard_events.inc" file, which uses "intersect" for calculating the world coordinates corresponding to the user-clicked screen location.
+Bugs: This function does not currently handle the heightfield environment correctly (works as if it was flat)]]></description>
+			<arguments>
+				<argument name="3d point" type="Vector"/>
+				<argument name="3d direction" type="Vector"/>
+				<argument name="range" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="WorldSignals" context="Global context">
+<description><![CDATA[Use this object to create stationary signals, not associated with any moving object and receive signals from any location in the world. There are Creature and Neuro-based variants of this object that automatically operate from the creature's or neuron's position.
+
+See also: Signal]]></description>
+		<element name="size" type="integer">
+			<description><![CDATA[Number of signals in this set.]]></description>
+		</element>
+		<element name="add" function="true" type="Signal">
+			<description><![CDATA[Create a new signal]]></description>
+			<arguments>
+				<argument name="position" type="XYZ"/>
+				<argument name="channel" type="string"/>
+			</arguments>
+		</element>
+		<element name="clear" function="true" type="void">
+			<description><![CDATA[Delete all signals]]></description>
+<arguments/></element>
+		<element name="get" function="true" type="Signal">
+			<description><![CDATA[Access individual signals (index=0 .. size-1)]]></description>
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="receive" function="true" type="float">
+			<description><![CDATA[Receive the aggregated signal power in a given channel.]]></description>
+			<arguments>
+				<argument name="position" type="XYZ"/>
+				<argument name="channel" type="string"/>
+			</arguments>
+		</element>
+		<element name="receiveFilter" function="true" type="float">
+			<description><![CDATA[Receive the aggregated signal power in a given channel.
+
+Additional filtering options:
+- Max distance only receives the neighbor signals (based on their physical location)
+- Flavor filtering: only signals having the flavor close to the specified one will be received. The filter value is the maximum allowed difference.]]></description>
+			<arguments>
+				<argument name="position" type="XYZ"/>
+				<argument name="channel" type="string"/>
+				<argument name="max distance" type="float"/>
+				<argument name="flavor" type="float"/>
+				<argument name="filter" type="float"/>
+			</arguments>
+		</element>
+		<element name="receiveSet" function="true" type="Vector">
+			<description><![CDATA[Get all signals in the specified range. Returns a readonly vector object containing Signal objects (individual signals can be accessed as result[0] throught result[result.size-1]).]]></description>
+			<arguments>
+				<argument name="position" type="XYZ"/>
+				<argument name="channel" type="string"/>
+				<argument name="max distance" type="float"/>
+			</arguments>
+		</element>
+		<element name="receiveSingle" function="true" type="Signal">
+			<description><![CDATA[Find the signal source having the highest signal power (including the distance)]]></description>
+			<arguments>
+				<argument name="position" type="XYZ"/>
+				<argument name="channel" type="string"/>
+				<argument name="max distance" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="XYZ" context="Global context">
+<description><![CDATA[3D vector]]></description>
+		<element name="length" type="float"/>
+		<element name="toString" type="string"/>
+		<element name="x" type="float"/>
+		<element name="y" type="float"/>
+		<element name="z" type="float"/>
+		<element name="add" function="true" type="void">
+			<description><![CDATA[Note: it does not return a new object, just modifies the existing one]]></description>
+			<arguments>
+				<argument type="XYZ"/>
+			</arguments>
+		</element>
+		<element name="clone" function="true" type="XYZ">
+			<description><![CDATA[Note: copying object references does not create new objects. Use clone() if a new object is needed.
+
+Example:
+var o1=(1,2,3), o2=o1, o3=o1.clone();
+o1.y=9999;
+//o2 is now (1,9999,3) but o3 is still (1,2,3)]]></description>
+<arguments/></element>
+		<element name="get" function="true" type="float">
+			<description><![CDATA[this function makes the XYZ objects "indexable" (so you can use [] for accessing subsequent fields, like in Vector)]]></description>
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="new" function="true" type="XYZ">
+			<description><![CDATA[3D vectors objects can be also created using the (x,y,z) notation, i.e. var v=(1,2,3) is the same as var v=XYZ.new(1,2,3);]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="normalize" function="true" type="void">
+			<description><![CDATA[scales the vector length to 1.0]]></description>
+<arguments/></element>
+		<element name="revRotate" function="true" type="void">
+			<arguments>
+				<argument type="Orient"/>
+			</arguments>
+		</element>
+		<element name="rotate" function="true" type="void">
+			<arguments>
+				<argument type="Orient"/>
+			</arguments>
+		</element>
+		<element name="scale" function="true" type="void">
+			<arguments>
+				<argument type="float"/>
+			</arguments>
+		</element>
+		<element name="set" function="true" type="void">
+			<arguments>
+				<argument type="XYZ"/>
+			</arguments>
+		</element>
+		<element name="set3" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="sub" function="true" type="void">
+			<description><![CDATA[Note: it does not return a new object, just modifies the existing one]]></description>
+			<arguments>
+				<argument type="XYZ"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="ExpParams" context="Experiment definition">
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+	</type>
+	<type name="ExpState" context="Experiment definition">
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+	</type>
+	<type name="n" context="Neuron definitions">
+		<element name="d" type="string"/>
+		<element name="getInputCount" type="integer"/>
+		<element name="i" type="string"/>
+		<element name="j" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="p" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="Vstyle" type="string"/>
+		<element name="getInputNeuroDef" function="true" type="NeuroDef">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputNeuroIndex" function="true" type="integer">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputWeight" function="true" type="float">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Neuro" context="Neuron definitions">
+<description><![CDATA[Live Neuron object.]]></description>
+		<element name="channelCount" type="integer"/>
+		<element name="creature" type="Creature"/>
+		<element name="currState" type="float">
+			<description><![CDATA[the only difference from the "state" field is that currState, when written, changes the internal neuron state immediately (which disturbs the regular synchronous NN operation). This feature should only be used while controlling the neuron 'from outside' (like a neuro probe) and not in the neuron definition.]]></description>
+		</element>
+		<element name="def" type="NeuroDef"/>
+		<element name="fields" type="Fields">
+			<description><![CDATA[Neurons can have different fields depending on their class. Script neurons have their fields defined using the "prop:" syntax. If you develop a custom neuron script you should use the Fields object for accessing your own neuron fields. The Neuro.fields property is meant for accessing the neuron fields from the outside script.
+Examples:
+var c=Populations.createFromString("X[N]");
+Simulator.print("standard neuron inertia="+c.getNeuro(0).fields.in);
+c=Populations.createFromString("X[Nn,e:0.1]");
+Simulator.print("noisy neuron error rate="+c.getNeuro(0).fields.e);
+
+The Interface object can be used to discover which fields are available for a certain neuron object:
+c=Populations.createFromString("X[N]");
+var iobj=Interface.makeFrom(c.getNeuro(0).fields);
+var i;
+for(i=0;i<iobj.properties;i++)
+ Simulator.print(iobj.getId(i)+" ("+iobj.getName(i)+")");]]></description>
+		</element>
+		<element name="getInputCount" type="integer"/>
+		<element name="hold" type="integer" min="0" max="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="inputSum" type="float"/>
+		<element name="joint" type="MechJoint"/>
+		<element name="part" type="MechPart"/>
+		<element name="position_x" type="float"/>
+		<element name="position_y" type="float"/>
+		<element name="position_z" type="float"/>
+		<element name="signals" type="NeuroSignals"/>
+		<element name="state" type="float">
+			<description><![CDATA[when read, returns the current neuron state.
+When written, sets the next neuron state (for use in the neuron definition)]]></description>
+		</element>
+		<element name="weightedInputSum" type="float"/>
+		<element name="getInputChannelCount" function="true" type="integer">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputState" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputStateChannel" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+				<argument name="channel" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputSum" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputWeight" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getStateChannel" function="true" type="float">
+			<arguments>
+				<argument name="channel" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getWeightedInputState" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getWeightedInputStateChannel" function="true" type="float">
+			<arguments>
+				<argument name="input" type="integer"/>
+				<argument name="channel" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getWeightedInputSum" function="true" type="float">
+			<description><![CDATA[uses any number of inputs starting with the specified input. getWeightedInputSum(0)=weightedInputSum]]></description>
+			<arguments>
+				<argument name="input" type="integer"/>
+			</arguments>
+		</element>
+		<element name="setCurrStateChannel" function="true" type="void">
+			<description><![CDATA[like "currState"]]></description>
+			<arguments>
+				<argument name="channel" type="integer"/>
+				<argument name="value" type="float"/>
+			</arguments>
+		</element>
+		<element name="setStateChannel" function="true" type="void">
+			<arguments>
+				<argument name="channel" type="integer"/>
+				<argument name="value" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="this" context="Fitness formula">
+<description><![CDATA[A Genotype with the associated performance information. All but one Genotype objects are placed in Genotype Groups. There is also a single static Genotype object not associated with a group, which is used as a temporary storage by genetic operators and some functions from GenePools.]]></description>
+		<element name="convtrace1" type="string"/>
+		<element name="distance" type="float"/>
+		<element name="energ0" type="float"/>
+		<element name="f0genotype" type="string">
+			<description><![CDATA[converted to f0 genotype]]></description>
+		</element>
+		<element name="fit" type="float"/>
+		<element name="fit2" type="float">
+			<description><![CDATA[Fitnes shifted by (avg-n*stddev)]]></description>
+		</element>
+		<element name="geno" type="Geno">
+			<description><![CDATA[Geno object for this Genotype]]></description>
+		</element>
+		<element name="genotype" type="string"/>
+		<element name="gnum" type="integer"/>
+		<element name="info" type="string">
+			<description><![CDATA[Additional information or comments]]></description>
+		</element>
+		<element name="instances" type="integer"/>
+		<element name="isValid" type="integer" min="0" max="1"/>
+		<element name="lifespan" type="float">
+			<description><![CDATA[Average life span]]></description>
+		</element>
+		<element name="name" type="string"/>
+		<element name="nncon" type="float">
+			<description><![CDATA[(deprecated) old name for numconnections]]></description>
+		</element>
+		<element name="nnsiz" type="float">
+			<description><![CDATA[(deprecated) old name for numneurons]]></description>
+		</element>
+		<element name="num" type="integer"/>
+		<element name="numconnections" type="float"/>
+		<element name="numjoints" type="float"/>
+		<element name="numneurons" type="float"/>
+		<element name="numparts" type="float"/>
+		<element name="popsiz" type="integer">
+			<description><![CDATA[(deprecated) old name for instances]]></description>
+		</element>
+		<element name="simi" type="float"/>
+		<element name="strjoints" type="float">
+			<description><![CDATA[(deprecated) old name for numjoints]]></description>
+		</element>
+		<element name="strsiz" type="float">
+			<description><![CDATA[(deprecated) old name for numparts]]></description>
+		</element>
+		<element name="uid" type="string">
+			<description><![CDATA[Unique identifier]]></description>
+		</element>
+		<element name="user1" type="untyped"/>
+		<element name="user2" type="untyped"/>
+		<element name="user3" type="untyped"/>
+		<element name="velocity" type="float">
+			<description><![CDATA[Average velocity]]></description>
+		</element>
+		<element name="vertpos" type="float"/>
+		<element name="vertvel" type="float"/>
+		<element name="getModel" function="true" type="Model"><arguments/></element>
+		<element name="getNormalized" function="true" type="float">
+			<arguments>
+				<argument name="property name or index" type="untyped"/>
+			</arguments>
+		</element>
+		<element name="mutate" function="true" type="void"><arguments/></element>
+	</type>
+	<type name="Creature" context="Visual style definition">
+<description><![CDATA[The object inside the simulated world, including its physical structure, neural network and performance data. Food pieces, obstacles and other movable objects can be implemented as Creatures even though the are not "alive". See also: Population.]]></description>
+		<element name="bodysim" type="integer" min="0" max="1" default="1">
+			<description><![CDATA[(Physical) body simulation can be disabled for individual objects which makes them immovable. Disabled objects can still participate in collisions depending on their collisions masks.
+
+Bugs: the standard collision handler does not work for disabled objects when ODE simulation is used. It means that these objects won't physically interact with other objects. The custom (scripting) handlers work as expected.]]></description>
+		</element>
+		<element name="buildproblems" type="integer"/>
+		<element name="c_velocity" type="float"/>
+		<element name="c_vertpos" type="float"/>
+		<element name="c_vertvelocity" type="float"/>
+		<element name="center_x" type="float">
+			<description><![CDATA[Center of gravity]]></description>
+		</element>
+		<element name="center_y" type="float">
+			<description><![CDATA[Center of gravity]]></description>
+		</element>
+		<element name="center_z" type="float">
+			<description><![CDATA[Center of gravity]]></description>
+		</element>
+		<element name="distance" type="float"/>
+		<element name="drive" type="XYZ">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="energ0" type="float"/>
+		<element name="energy" type="float"/>
+		<element name="energy_b" type="float"/>
+		<element name="energy_m" type="float"/>
+		<element name="energy_p" type="float"/>
+		<element name="geno" type="Geno">
+			<description><![CDATA[Source genotype for this creature]]></description>
+		</element>
+		<element name="genotype" type="string"/>
+		<element name="gnum" type="integer"/>
+		<element name="group" type="untyped"/>
+		<element name="idleen" type="float"/>
+		<element name="index" type="integer">
+			<description><![CDATA[Index of this Creature in its Population.]]></description>
+		</element>
+		<element name="info" type="string">
+			<description><![CDATA[Additional info or comments]]></description>
+		</element>
+		<element name="lifespan" type="integer"/>
+		<element name="liveModel" type="Model">
+			<description><![CDATA[A Model object that is a copy of the current (temporary) geometry of this creature]]></description>
+		</element>
+		<element name="localDrive" type="XYZ">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="model" type="Model">
+			<description><![CDATA[Source Model for this creature]]></description>
+		</element>
+		<element name="name" type="string"/>
+		<element name="nnenabled" type="integer" min="0" max="1"/>
+		<element name="numjoints" type="integer"/>
+		<element name="numneurons" type="integer"/>
+		<element name="numparts" type="integer"/>
+		<element name="orient" type="Orient">
+			<description><![CDATA[by convention the creature orientation is equal to its first part orientation]]></description>
+		</element>
+		<element name="othermask" type="integer" min="0" max="2147483647" default="0"/>
+		<element name="perf" type="integer" min="0" max="2">
+			<description><![CDATA[Initial value of this property is taken from Population.enableperf]]></description>
+		</element>
+		<element name="pos_x" type="float">
+			<description><![CDATA[(pos_x,pos_y,pos_z) is the point of minimal coordinates ("bottom left corner") of the creature, including imaginary Part sizes (Part.s, usually 1.0). See also: Creature.moveAbs]]></description>
+		</element>
+		<element name="pos_y" type="float">
+			<description><![CDATA[See Creature.pos_x]]></description>
+		</element>
+		<element name="pos_z" type="float">
+			<description><![CDATA[See Creature.pos_x]]></description>
+		</element>
+		<element name="selfcol" type="integer" min="0" max="1">
+			<description><![CDATA[Enable/disable detection of self-collisions (within a creature body). They can only occur when using the ODE simulation engine. If enabled, the creature will have its sticks collide during lifespan.]]></description>
+		</element>
+		<element name="selfcolstate" type="integer" min="0" max="1">
+			<description><![CDATA[Current self-collision state]]></description>
+		</element>
+		<element name="selfmask" type="integer" min="0" max="2147483647" default="0"/>
+		<element name="signals" type="CreatureSignals"/>
+		<element name="size_x" type="float">
+			<description><![CDATA[(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including the imaginary part sizes (Part.s, usually 1.0). A creature consisting of a single default part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius).
+See also: Creature.moveAbs]]></description>
+		</element>
+		<element name="size_y" type="float">
+			<description><![CDATA[See Creature.size_x]]></description>
+		</element>
+		<element name="size_z" type="float">
+			<description><![CDATA[See Creature.size_x]]></description>
+		</element>
+		<element name="uid" type="string"/>
+		<element name="user1" type="untyped"/>
+		<element name="user2" type="untyped"/>
+		<element name="user3" type="untyped"/>
+		<element name="velocity" type="float"/>
+		<element name="vertpos" type="float"/>
+		<element name="vertvel" type="float"/>
+		<element name="currentGeometryAsF0" function="true" type="string"><arguments/></element>
+		<element name="getJoint" function="true" type="Joint">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getMechJoint" function="true" type="MechJoint">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getMechPart" function="true" type="MechPart">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getNeuro" function="true" type="Neuro">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getNeuroDef" function="true" type="NeuroDef">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getPart" function="true" type="Part">
+			<arguments>
+				<argument name="index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="localToWorld" function="true" type="XYZ">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="move" function="true" type="void">
+			<description><![CDATA[Shift the creature by a given vector.]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="moveAbs" function="true" type="void">
+			<description><![CDATA[Moves the creature so that its origin (pos_x,pos_y,pos_z) is placed at the given location. The origin is the point of minimal coordinates ("bottom left corner"), including imaginary part sizes (Part.s, usually 1.0).
+Assuming a simple single-stick creature "X" having parts at (0,0,0) and (1,0,0),
+
+origin (pos_x,pos_y,pos_z) = (-1,-1,-1)
+size (size_x,size_y,size_z) = (2,1,1)
+
+The following example places the bottom of a creature at a given location (x,y,z):
+Creature.moveAbs(x-(Creature.size_x/2),y-(Creature.size_y/2),z-1.0)
+(assuming that the part size is 1.0)]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="moveLocal" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="rotate" function="true" type="void">
+			<description><![CDATA[Rotate the creature around X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise the further simulation could be disturbed.]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="rotateLocal" function="true" type="void">
+			<description><![CDATA[Rotate the creature around (local) X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise the further simulation could be disturbed.]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="worldToLocal" function="true" type="XYZ">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Element" context="Visual style definition">
+<description><![CDATA[Information about current visual element: Part, Joint or Neuro. To be used in _build() or _update() functions.
+
+This is a link between a creature's element (part/joint/neuron) and the geometry object (Element.node).
+Calling Element.useXXX() functions connects the static object references (Creature, Model, Part, Joint, Neuro, MechPart, MechJoint) to the proper creature elements. All these objects are invalid before doing that! E.g. you have to call "Element.useCreature()" before referring to "Creature.energy" in your _build() and _update() functions.]]></description>
+		<element name="node" type="integer"/>
+		<element name="useCreature" function="true"/>
+		<element name="useJoint" function="true"/>
+		<element name="useJointPart1" function="true"/>
+		<element name="useJointPart2" function="true"/>
+		<element name="useMechJoint" function="true"/>
+		<element name="useMechJointPart1" function="true"/>
+		<element name="useMechJointPart2" function="true"/>
+		<element name="useMechPart" function="true"/>
+		<element name="useModel" function="true"/>
+		<element name="useNeuro" function="true"/>
+		<element name="useNeuroJoint" function="true"/>
+		<element name="useNeuroPart" function="true"/>
+		<element name="usePart" function="true"/>
+	</type>
+	<type name="GeomBuilder" context="Visual style definition">
+<description><![CDATA[Scene graph access (build and manipulate the 3d object tree)]]></description>
+		<element name="code" type="string"/>
+		<element name="currentNode" type="integer"/>
+		<element name="defaultStyle" type="string"/>
+		<element name="matrix00" type="float"/>
+		<element name="matrix01" type="float"/>
+		<element name="matrix02" type="float"/>
+		<element name="matrix03" type="float"/>
+		<element name="matrix10" type="float"/>
+		<element name="matrix11" type="float"/>
+		<element name="matrix12" type="float"/>
+		<element name="matrix13" type="float"/>
+		<element name="matrix20" type="float"/>
+		<element name="matrix21" type="float"/>
+		<element name="matrix22" type="float"/>
+		<element name="matrix23" type="float"/>
+		<element name="matrix30" type="float"/>
+		<element name="matrix31" type="float"/>
+		<element name="matrix32" type="float"/>
+		<element name="matrix33" type="float"/>
+		<element name="rootNode" type="integer"/>
+		<element name="updatingNode" type="integer"/>
+		<element name="add" function="true" type="void">
+			<description><![CDATA[add a child node to the current node]]></description>
+			<arguments>
+				<argument name="node" type="integer"/>
+			</arguments>
+		</element>
+		<element name="addBranch" function="true">
+			<description><![CDATA[create the branch node as a child of the current node and make it the new current node]]></description>
+		</element>
+		<element name="addTransform" function="true">
+			<description><![CDATA[create the transform node as a child of the current node and make it the new current node.]]></description>
+		</element>
+		<element name="dump" function="true" type="void">
+			<arguments>
+				<argument name="node" type="integer"/>
+				<argument name="level" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getBranch" function="true" type="integer">
+			<arguments>
+				<argument name="branch node" type="integer"/>
+				<argument name="branch index" type="integer"/>
+			</arguments>
+		</element>
+		<element name="matrixMove" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="matrixMove1" function="true" type="void">
+			<description><![CDATA[MechPart.pos can be used here]]></description>
+			<arguments>
+				<argument name="xyz" type="integer"/>
+			</arguments>
+		</element>
+		<element name="matrixOrient" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="matrixOrient1" function="true" type="void">
+			<description><![CDATA[MechPart.orient can be used here]]></description>
+			<arguments>
+				<argument name="xyz" type="integer"/>
+			</arguments>
+		</element>
+		<element name="matrixReset" function="true"/>
+		<element name="matrixRotate" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="matrixRotate1" function="true" type="void">
+			<arguments>
+				<argument name="xyz" type="integer"/>
+			</arguments>
+		</element>
+		<element name="matrixScale" function="true" type="void">
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+				<argument name="z" type="float"/>
+			</arguments>
+		</element>
+		<element name="setMatrix" function="true" type="void">
+			<description><![CDATA[copy current matrix into specified node]]></description>
+			<arguments>
+				<argument name="transform node" type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="GL" context="Visual style definition">
+<description><![CDATA[OpenGL constants used in GeomBuilder and Material functions.]]></description>
+		<element name="ALPHA_TEST" type="integer"/>
+		<element name="AMBIENT" type="integer"/>
+		<element name="AMBIENT_AND_DIFFUSE" type="integer"/>
+		<element name="BLEND" type="integer"/>
+		<element name="COLOR_MATERIAL" type="integer"/>
+		<element name="CULL_FACE" type="integer"/>
+		<element name="DIFFUSE" type="integer"/>
+		<element name="EMISSION" type="integer"/>
+		<element name="LIGHTING" type="integer"/>
+		<element name="LINE_LOOP" type="integer"/>
+		<element name="LINE_STRIP" type="integer"/>
+		<element name="LINES" type="integer"/>
+		<element name="POINTS" type="integer"/>
+		<element name="QUAD_STRIP" type="integer"/>
+		<element name="QUADS" type="integer"/>
+		<element name="SPECULAR" type="integer"/>
+		<element name="TEXTURE_2D" type="integer"/>
+		<element name="TRIANGLE_FAN" type="integer"/>
+		<element name="TRIANGLE_STRIP" type="integer"/>
+		<element name="TRIANGLES" type="integer"/>
+	</type>
+	<type name="j" context="Visual style definition">
+		<element name="dx" type="float" min="-2" max="2" default="0"/>
+		<element name="dy" type="float" min="-2" max="2" default="0"/>
+		<element name="dz" type="float" min="-2" max="2" default="0"/>
+		<element name="i" type="string"/>
+		<element name="p1" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="p2" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="rotstif" type="float" min="0" max="1" default="1"/>
+		<element name="rx" type="float"/>
+		<element name="ry" type="float"/>
+		<element name="rz" type="float"/>
+		<element name="stam" type="float" min="0" max="1" default="0.25"/>
+		<element name="stif" type="float" min="0" max="1" default="1"/>
+		<element name="Vstyle" type="string"/>
+	</type>
+	<type name="Loader" context="Visual style definition">
+<description><![CDATA[Loads 3d objects files.
+Visual styles placed in subdirectories (like "matrix") automatically access the parent directory if the file is not found in their subdirectory.]]></description>
+		<element name="loaded" type="integer"/>
+		<element name="load" function="true"/>
+	</type>
+	<type name="m" context="Visual style definition">
+		<element name="se" type="float"/>
+		<element name="Vstyle" type="string"/>
+	</type>
+	<type name="Material" context="Visual style definition">
+<description><![CDATA[Manipulate 3d objects surface properties (Material objects can be associated with geometry nodes).]]></description>
+		<element name="ambient" type="integer"/>
+		<element name="colormat" type="integer"/>
+		<element name="diffuse" type="integer"/>
+		<element name="emission" type="integer"/>
+		<element name="object" type="Object"/>
+		<element name="shininess" type="float"/>
+		<element name="specular" type="integer"/>
+		<element name="texture" type="string"/>
+		<element name="translucent" type="integer"/>
+		<element name="care" function="true"/>
+		<element name="disable" function="true"/>
+		<element name="dontcare" function="true"/>
+		<element name="enable" function="true"/>
+		<element name="new" function="true"/>
+		<element name="setFlat" function="true"/>
+		<element name="setSmooth" function="true"/>
+	</type>
+	<type name="MechJoint" context="Visual style definition">
+<description><![CDATA[Current joint properties during the simulation]]></description>
+		<element name="absorient" type="integer"/>
+		<element name="calcorient" type="integer"/>
+		<element name="dx" type="float"/>
+		<element name="dy" type="float"/>
+		<element name="dz" type="float"/>
+		<element name="length" type="float"/>
+		<element name="orient" type="integer"/>
+		<element name="rotstif" type="float"/>
+		<element name="rotstress" type="float"/>
+		<element name="rx" type="float"/>
+		<element name="ry" type="float"/>
+		<element name="rz" type="float"/>
+		<element name="stif" type="float"/>
+		<element name="stress" type="float"/>
+	</type>
+	<type name="MechPart" context="Visual style definition">
+<description><![CDATA[Current part properties during the simulation]]></description>
+		<element name="fr" type="float"/>
+		<element name="m" type="float"/>
+		<element name="orient" type="integer"/>
+		<element name="pos" type="integer"/>
+		<element name="s" type="float"/>
+		<element name="vol" type="float"/>
+		<element name="x" type="float"/>
+		<element name="y" type="float"/>
+		<element name="z" type="float"/>
+	</type>
+	<type name="n" context="Visual style definition">
+		<element name="class" type="string"/>
+		<element name="d" type="string"/>
+		<element name="getInputCount" type="integer"/>
+		<element name="i" type="string"/>
+		<element name="j" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="p" type="integer" min="-1" max="999999" default="-1"/>
+		<element name="state" type="float"/>
+		<element name="Vstyle" type="string"/>
+		<element name="getInputNeuroDef" function="true" type="NeuroDef">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputNeuroIndex" function="true" type="integer">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+		<element name="getInputWeight" function="true" type="float">
+			<arguments>
+				<argument type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="p" context="Visual style definition">
+		<element name="as" type="float" min="0" max="1" default="0.25"/>
+		<element name="dn" type="float" min="0.2" max="5" default="1"/>
+		<element name="fr" type="float" min="0" max="4" default="0.4"/>
+		<element name="i" type="string"/>
+		<element name="ing" type="float" min="0" max="1" default="0.25"/>
+		<element name="m" type="float" min="0.1" max="999" default="1"/>
+		<element name="rx" type="float"/>
+		<element name="ry" type="float"/>
+		<element name="rz" type="float"/>
+		<element name="s" type="float" min="0.1" max="10" default="1"/>
+		<element name="Vstyle" type="string"/>
+		<element name="x" type="float"/>
+		<element name="y" type="float"/>
+		<element name="z" type="float"/>
+	</type>
+	<type name="Scene" context="Visual style definition">
+<description><![CDATA[Additional properties to be used in the current view, currently only the background settings]]></description>
+		<element name="backcolor" type="integer"/>
+		<element name="worldtexture" type="string"/>
+	</type>
+	<type name="VertexBuilder" context="Visual style definition">
+		<element name="material" type="Object"/>
+		<element name="node" type="integer">
+			<description><![CDATA[This field returns the geometry node for use in GeomBuilder. You have to set all relevant geometry properties before using this field. The usual sequence:
+1. newXXX - selects the geometry type (see your OpenGL manual for explanation)
+2. Set all properties (add vertices, normals, colors, texture coordinates, material). All unspecified properties are assumed to have default values.
+3. Use the resulting node ( GeomBuilder.add(VertexBuilder.node) )]]></description>
+		</element>
+		<element name="twosided" type="integer" min="0" max="1"/>
+		<element name="addCalculatedNormal" function="true">
+			<description><![CDATA[calculate the normal vector from 3 coordinates. integer arguments are the vertices' indices. 0,1,2... = first, second, third vertex, -1,-2,-3,... = last, last-1, last-2 vertex]]></description>
+		</element>
+		<element name="addColor" function="true"/>
+		<element name="addNormal" function="true"/>
+		<element name="addNormal_1" function="true">
+			<description><![CDATA[use addNormal instead of this function]]></description>
+		</element>
+		<element name="addTexCoord" function="true"/>
+		<element name="addVertex" function="true"/>
+		<element name="genTexCoords" function="true"/>
+		<element name="genTexCoordsXY" function="true"/>
+		<element name="genTexCoordsXZ" function="true"/>
+		<element name="genTexCoordsYZ" function="true"/>
+		<element name="new" function="true" type="void">
+			<arguments>
+				<argument name="type" type="integer"/>
+			</arguments>
+		</element>
+		<element name="newLineLoop" function="true"/>
+		<element name="newLines" function="true"/>
+		<element name="newLineStrip" function="true"/>
+		<element name="newPoints" function="true"/>
+		<element name="newPolygon" function="true"/>
+		<element name="newQuads" function="true"/>
+		<element name="newQuadStrip" function="true"/>
+		<element name="newTriangleFan" function="true"/>
+		<element name="newTriangles" function="true"/>
+		<element name="newTriangleStrip" function="true"/>
+	</type>
+	<type name="VisParams" context="Visual style definition">
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="modelpan" type="integer" min="0" max="3">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="shownames" type="integer" min="0" max="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="worldpan" type="integer" min="0" max="3">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+	</type>
+	<type name="VisualModel" context="Visual style definition">
+<description><![CDATA[Visual representation of the Creature object.]]></description>
+		<element name="args" type="string">
+			<description><![CDATA[style parameters: Vstyle=name(args)]]></description>
+		</element>
+		<element name="color" type="integer">
+			<description><![CDATA[0xBBGGRR, 0x808080=normal, 0x000000=black, 0xffffff=extra bright]]></description>
+		</element>
+		<element name="jointshadow" type="float"/>
+		<element name="partshadow" type="float"/>
+		<element name="rootNode" type="integer"/>
+		<element name="style" type="string">
+			<description><![CDATA[visual style applied to this object]]></description>
+		</element>
+		<element name="getArg" function="true" type="string">
+			<description><![CDATA[retrieve single style argument, as in:
+Vstyle=name(a=1,b=3)
+VisualModel.getArg("a") returns 1]]></description>
+			<arguments>
+				<argument name="name" type="string"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="VisualStyle" context="Visual style definition">
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="code" type="string"/>
+		<element name="info" type="string"/>
+		<element name="modelpan" type="integer" min="0" max="3">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="name" type="string"/>
+		<element name="neurons" type="integer" min="0" max="1"/>
+		<element name="shownames" type="integer" min="0" max="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="smooth" type="integer" min="0" max="1"/>
+		<element name="style" type="string"/>
+		<element name="tex" type="integer" min="0" max="2"/>
+		<element name="worldpan" type="integer" min="0" max="3">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="rebuild" function="true"/>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+		<element name="streload" function="true"/>
+	</type>
+	<type name="World" context="Visual style definition">
+<description><![CDATA[Environment properties.]]></description>
+		<element name="nnspeed" type="float" min="0" max="1000" default="1">
+			<description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description>
+		</element>
+		<element name="signals" type="WorldSignals"/>
+		<element name="simtype" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[MechaStick is a fast and simple primary Framsticks simulation engine.
+ODE is Open Dynamics Engine by Russel Smith et al.
+
+NOTE: switching between simulation engines causes removal of all objects in the world (e.g. creatures).]]></description>
+		</element>
+		<element name="wrldbnd" type="integer" min="0" max="2" default="1"/>
+		<element name="wrldg" type="float" min="0" max="10" default="1">
+			<description><![CDATA[You can adjust gravity for your experiments.
+The "official" setting used to evaluate and compare creatures is 1.]]></description>
+		</element>
+		<element name="wrldmap" type="string">
+			<description><![CDATA[Description of the world (Type: Blocks or Heighfield). Enter
+   r <sizex> <sizey> [seed]
+to generate a random landscape, or
+   m <sizex> <sizey> digits
+   M <sizex> <sizey> numbers
+to provide height values.
+
+See also the WorldMap object.]]></description>
+		</element>
+		<element name="wrldsiz" type="float" min="10" max="1000" default="20">
+			<description><![CDATA[Side length of the world]]></description>
+		</element>
+		<element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
+		<element name="wrldwat" type="float" min="-20" max="30" default="-1"/>
+		<element name="wrldchg" function="true" type="void"><arguments/></element>
+	</type>
+	<type name="WorldMap" context="Visual style definition">
+<description><![CDATA[Environment details for "Blocks" and "Heightfield" world type. The most important concept is a "Map", which is the array of Map elements. Internally, Maps have more elements than could be deduced from the user-supplied World.wrldsiz, as additional rows of element are added to provide smooth transitions to the flat surroundings.
+
+Blocks: x/ysize=World.wrldsiz+4 rows of blocks (from which only 2+World.wrldsiz rows are placed within the world boundaries)
+
+Smooth: x/ysize=World.wrldsiz+2 rows of vertices (creating World.wrldsiz+1 rows of triangles, everything within the world boundaries)
+]]></description>
+		<element name="xsize" type="integer"/>
+		<element name="ysize" type="integer"/>
+		<element name="getHeight" function="true" type="float">
+			<description><![CDATA[Height at any 2d coordinate]]></description>
+			<arguments>
+				<argument name="x" type="float"/>
+				<argument name="y" type="float"/>
+			</arguments>
+		</element>
+		<element name="getMap" function="true" type="Object">
+			<description><![CDATA[retrieve map cell object]]></description>
+			<arguments>
+				<argument name="x" type="integer"/>
+				<argument name="y" type="integer"/>
+			</arguments>
+		</element>
+		<element name="intersect" function="true" type="Vector">
+			<description><![CDATA[Calculate the intersection point between the world surface and the ray projected from "3d point" towards the given direction. 3D points are actually 3-elements Vector objects. The resulting vector contains the additional fourth element - the intersection point distance. The function returns null if there is no intersection.
+
+See "standard_events.inc" file, which uses "intersect" for calculating the world coordinates corresponding to the user-clicked screen location.
+Bugs: This function does not currently handle the heightfield environment correctly (works as if it was flat)]]></description>
+			<arguments>
+				<argument name="3d point" type="Vector"/>
+				<argument name="3d direction" type="Vector"/>
+				<argument name="range" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="Signal" context="Signal label formula">
+<description><![CDATA[Signals broadcast information in a channel (being an abstract communication medium that could be imagined as sound, smell, vision or anything else). There are no sender-receiver associations, although the receiving party can filter out signals (two standard filtering methods are: physical neighborhood and one-dimensional attribute called flavor). Signals attached to neurons and creatures (created in Creature.signals and Neuro.signals) automatically follow the owner's location. Environmental signals (in World.signals) are stationary.
+
+Receiving: 
+There are 2 kinds of data you can receive:
+1. aggregating functions (receive and receiveFilter) calculate the overall power of the received signal (based on the distance and the source power).
+2.receiveSet and receiveSingle fetch the individual Signal object(s) so it is possible to transmit something else than just a single number (by using Signal.value) and do more sophisticated processing.
+
+Creating: Use "add" in Creature.signals, Neuro.signals, or World.signals.]]></description>
+		<element name="channel" type="string">
+			<description><![CDATA[Channel name, readonly.]]></description>
+		</element>
+		<element name="flavor" type="float">
+			<description><![CDATA[Signal flavor is can be used to differentiate between signals in a single channel. ]]></description>
+		</element>
+		<element name="pos" type="XYZ">
+			<description><![CDATA[Signal position, readonly.]]></description>
+		</element>
+		<element name="power" type="float">
+			<description><![CDATA[Signal power affects the aggregated signal value returned from receive() and receiveFilter().]]></description>
+		</element>
+		<element name="value" type="untyped">
+			<description><![CDATA[Signal value can be any type. On the receiver side it is only available by accessing the individual Signal objects, i.e. after calling receiveSet() or receiveSingle(). The aggregating function receive() and receiveFilter() ignore this attribute.]]></description>
+		</element>
+		<element name="remove" function="true">
+			<description><![CDATA[Deletes the signal]]></description>
+		</element>
+	</type>
+	<type name="ClassBrowser" context="Command line interface">
+<description><![CDATA[Object reference, can be used to provide online hints.]]></description>
+		<element name="resultCount" type="integer"/>
+		<element name="getLabel" function="true" type="string">
+			<description><![CDATA[Short texual label of the search result.]]></description>
+			<arguments>
+				<argument name="item" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getText" function="true" type="string">
+			<description><![CDATA[Complete result text.]]></description>
+			<arguments>
+				<argument name="item" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getType" function="true" type="integer">
+			<description><![CDATA[0 = Unknown
+1 = Context
+2 = Class
+3 = Member
+4 = Integer field
+5 = Float field
+6 = String field
+7 = Object field
+8 = Function]]></description>
+			<arguments>
+				<argument name="item" type="integer"/>
+			</arguments>
+		</element>
+		<element name="getTypeName" function="true" type="string">
+			<arguments>
+				<argument name="item" type="integer"/>
+			</arguments>
+		</element>
+		<element name="search" function="true" type="integer">
+			<description><![CDATA[Searches the class reference and returns the number of  hits (results). getXXX(item) function can be used to retrieve the results.]]></description>
+			<arguments>
+				<argument name="Text" type="string"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="CLI" context="Command line interface">
+<description><![CDATA[Commandline support functions.]]></description>
+		<element name="cmdhandler" type="string"/>
+		<element name="msgtype" type="integer" min="0" max="1"/>
+		<element name="script" type="string"/>
+		<element name="stdin" type="Object"/>
+		<element name="stdout" type="Object"/>
+		<element name="addMacro" function="true" type="void">
+			<arguments>
+				<argument name="name" type="string"/>
+				<argument name="numargs" type="integer"/>
+				<argument name="definition" type="string"/>
+				<argument name="helptext" type="string"/>
+			</arguments>
+		</element>
+		<element name="execute" function="true" type="void">
+			<arguments>
+				<argument name="command" type="string"/>
+			</arguments>
+		</element>
+		<element name="listMacros" function="true" type="void"><arguments/></element>
+		<element name="print" function="true" type="void">
+			<arguments>
+				<argument name="text" type="string"/>
+			</arguments>
+		</element>
+		<element name="println" function="true" type="void">
+			<arguments>
+				<argument name="text" type="string"/>
+			</arguments>
+		</element>
+		<element name="quit" function="true"/>
+		<element name="removeMacro" function="true" type="void">
+			<description><![CDATA[(numargs==-2) means remove all macros matching the name, otherwise only one definition is removed]]></description>
+			<arguments>
+				<argument name="name" type="string"/>
+				<argument name="numargs" type="integer"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="CreatureCharts" context="Command line interface">
+<description><![CDATA[Manages charts for monitoring creatures performance.
+This class has no corresponding static object. If you want to use it, you have to create an object or get a reference to the existing object.]]></description>
+		<element name="creature" type="untyped"/>
+		<element name="selected" type="integer"/>
+		<element name="add" function="true">
+			<description><![CDATA[return the new Window object with chart as its client
+arguments: property to be tracked]]></description>
+		</element>
+		<element name="addSelected" function="true">
+			<description><![CDATA[Add the chart for currenly selected property]]></description>
+		</element>
+		<element name="createChart" function="true">
+			<description><![CDATA[return the new chart object (can be client for Window)
+arguments: property to be tracked]]></description>
+		</element>
+		<element name="removeAll" function="true"/>
+		<element name="resetAll" function="true">
+			<description><![CDATA[Removes all data from the chart windows.]]></description>
+		</element>
+	</type>
+	<type name="CreatureSelection" context="Command line interface">
+		<element name="count" type="integer"/>
+		<element name="add" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="get" function="true"/>
+		<element name="remove" function="true"/>
+	</type>
+	<type name="DynaChart" context="Command line interface">
+<description><![CDATA[Line chart (visual object). Can be used as the client object in the Window.]]></description>
+		<element name="xscale" type="integer" min="1" max="20"/>
+		<element name="add" function="true">
+			<description><![CDATA[add new value]]></description>
+		</element>
+		<element name="clear" function="true" type="void"><arguments/></element>
+		<element name="new" function="true" type="DynaChart"><arguments/></element>
+	</type>
+	<type name="DynaChart2D" context="Command line interface">
+<description><![CDATA[2D Line chart (visual object). Can be used as the client object in the Window.]]></description>
+		<element name="memory" type="integer" min="1" max="1000" default="100">
+			<description><![CDATA[maximum number of (x,y) pairs drawn in the graph.]]></description>
+		</element>
+		<element name="add" function="true" type="void">
+			<description><![CDATA[add (x,y) values for the next graph point]]></description>
+			<arguments>
+				<argument name="x coordinate" type="float"/>
+				<argument name="y coordinate" type="float"/>
+			</arguments>
+		</element>
+		<element name="clear" function="true" type="void"><arguments/></element>
+		<element name="new" function="true" type="DynaChart2D"><arguments/></element>
+	</type>
+	<type name="GLDisplay" context="Command line interface">
+<description><![CDATA[OpenGL display for the Framsticks Theater application.]]></description>
+		<element name="active" type="integer" min="0" max="1"/>
+		<element name="banner" type="string"/>
+		<element name="desiredsimspeed" type="float" min="0" max="999999" default="0">
+			<description><![CDATA[Desired simulation speed in steps/second. 0 = simulation is disabled.]]></description>
+		</element>
+		<element name="fps" type="float">
+			<description><![CDATA[Frames Per Second (measured)]]></description>
+		</element>
+		<element name="fpsvisible" type="integer" min="0" max="1"/>
+		<element name="maxfps" type="integer" min="1" max="100" default="30"/>
+		<element name="messagesVisible" type="integer" min="0" max="1"/>
+		<element name="messagesWindow" type="Object">
+			<description><![CDATA[get window object (class Window)]]></description>
+		</element>
+		<element name="minfps" type="integer" min="1" max="100" default="5"/>
+		<element name="simsteps" type="integer" min="0" max="999999" default="0">
+			<description><![CDATA[0 = simulation is disabled. In most cases you should use desiredsimspeed as it ensures automatic throttle control.]]></description>
+		</element>
+		<element name="size_x" type="integer"/>
+		<element name="size_y" type="integer"/>
+		<element name="userspeed" type="float" min="0" max="100" default="1">
+			<description><![CDATA[User interface sets this property to adjust simulation speed.]]></description>
+		</element>
+		<element name="clearMessages" function="true"/>
+		<element name="createWindow" function="true" type="Window">
+			<description><![CDATA[create and return the new window object.]]></description>
+			<arguments>
+				<argument name="style" type="integer"/>
+				<argument name="title" type="string"/>
+				<argument name="client" type="Object"/>
+			</arguments>
+		</element>
+		<element name="deleteWindow" function="true" type="void">
+			<arguments>
+				<argument type="Window"/>
+			</arguments>
+		</element>
+		<element name="draw" function="true"/>
+		<element name="newCreatureCharts" function="true"/>
+		<element name="newSimStatsCharts" function="true"/>
+		<element name="quit" function="true"/>
+		<element name="resume" function="true"/>
+		<element name="stop" function="true"/>
+	</type>
+	<type name="NeuroDiagram" context="Command line interface">
+<description><![CDATA[Can be used as the client object in the Window.]]></description>
+		<element name="hide" function="true" type="void"><arguments/></element>
+		<element name="new" function="true"/>
+		<element name="showCreature" function="true" type="void">
+			<arguments>
+				<argument type="Creature"/>
+			</arguments>
+		</element>
+		<element name="showModel" function="true" type="void">
+			<arguments>
+				<argument type="Model"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="RowFormat" context="Command line interface">
+<description><![CDATA[Used for creating simple listings of objects (in command line applications). There is only one shared RowFormat object. In order to use RowFormat you should first configure it, by adding column definitions (prepare or addColumn), i.e. defining column names and widths. Then, the "format" method can be invoked on a number of objects (of the same class) returning the formatted rows of the table.
+
+Example:
+RowFormat.clear();
+RowFormat.prepare(Genotype.*,"name/20,strsiz/5,nnsiz/5,fit/6");
+CLI.println(RowFormat.format(Genotype.*));]]></description>
+		<element name="fieldsep" type="string">
+			<description><![CDATA[The character used for separating columns]]></description>
+		</element>
+		<element name="fillchar" type="string">
+			<description><![CDATA[The characted used for padding the columns contents]]></description>
+		</element>
+		<element name="header" type="string">
+			<description><![CDATA[Contains the field names with the same formatting applied (i.e. with fill and separators)]]></description>
+		</element>
+		<element name="addColumn" function="true" type="void">
+			<description><![CDATA[Low level call, adds a single column. "prepare" is better.]]></description>
+			<arguments>
+				<argument name="Field#" type="integer"/>
+				<argument name="Column width" type="integer"/>
+			</arguments>
+		</element>
+		<element name="clear" function="true" type="void">
+			<description><![CDATA[Remove all existing column definitions.]]></description>
+<arguments/></element>
+		<element name="format" function="true" type="string">
+			<description><![CDATA[Returns the formatted string taking data from the supplied object.]]></description>
+			<arguments>
+				<argument name="Object" type="Object"/>
+			</arguments>
+		</element>
+		<element name="prepare" function="true" type="void">
+			<description><![CDATA[Adds a number of columns, described as FIELD_NAME/WIDTH, columns are separated by "," (comma). Existing column definitions are not removed. Usually you will need to call "clear()" before "prepare".]]></description>
+			<arguments>
+				<argument name="Object" type="Object"/>
+				<argument name="Column Descriptions" type="string"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="ShowManager" context="Command line interface">
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="code" type="string"/>
+		<element name="dispinfo" type="integer" min="0" max="2"/>
+		<element name="expdef" type="string"/>
+		<element name="info" type="string"/>
+		<element name="mode" type="integer" min="0" max="2"/>
+		<element name="name" type="string"/>
+		<element name="regname" type="string"/>
+		<element name="show" type="string"/>
+		<element name="showlog" type="integer" min="0" max="1"/>
+		<element name="switchmode" type="integer" min="0" max="2"/>
+		<element name="switchshows" type="string">
+			<description><![CDATA[names of the shows participating in automatic switching (comma separated). Use * as a wildcard.]]></description>
+		</element>
+		<element name="switchtime" type="integer" min="0" max="9999">
+			<description><![CDATA[time between switching (seconds)]]></description>
+		</element>
+		<element name="userspeed" type="integer" min="0" max="5" default="3"/>
+		<element name="about" function="true"/>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="dummy" function="true">
+			<description><![CDATA[This is the empty item in the Theater's menu]]></description>
+		</element>
+		<element name="reload" function="true"/>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+	</type>
+	<type name="SignalView" context="Command line interface">
+		<element name="labels" type="string">
+			<description><![CDATA[The label formula should return a text to be displayed over the signal source, presumably by reading some values from the supplied Signal object. It is especially useful for more sophisticated signal usage scenarios with Signal.value holding object references (the default signal label only shows <XXX Object at xxxxx> in such cases)]]></description>
+		</element>
+		<element name="mode" type="integer" min="0" max="2"/>
+		<element name="addMap" function="true" type="void">
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="color" type="integer"/>
+			</arguments>
+		</element>
+		<element name="addSignals" function="true" type="void">
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="color" type="integer"/>
+				<argument name="angle_x" type="integer"/>
+				<argument name="angle_y" type="integer"/>
+				<argument name="angle_z" type="integer"/>
+			</arguments>
+		</element>
+		<element name="addSignalsFilter" function="true" type="void">
+			<arguments>
+				<argument name="channel" type="string"/>
+				<argument name="color" type="integer"/>
+				<argument name="angle_x" type="integer"/>
+				<argument name="angle_y" type="integer"/>
+				<argument name="angle_z" type="integer"/>
+				<argument name="flavor" type="integer"/>
+				<argument name="filter" type="integer"/>
+			</arguments>
+		</element>
+		<element name="clear" function="true"/>
+	</type>
+	<type name="SimStatsCharts" context="Command line interface">
+<description><![CDATA[Manages charts for monitoring simulator statistics.
+This class has no corresponding static object. If you want to use it, you have to create an object or get a reference to the existing object.]]></description>
+		<element name="selected" type="integer"/>
+		<element name="add" function="true"/>
+		<element name="createChart" function="true"/>
+		<element name="removeAll" function="true"/>
+		<element name="resetAll" function="true">
+			<description><![CDATA[Removes all data from the chart windows.]]></description>
+		</element>
+		<element name="sscAddSelected" function="true"/>
+	</type>
+	<type name="TrackingCam" context="Command line interface">
+<description><![CDATA[Camera object with the automatic target tracking ability.]]></description>
+		<element name="cam_change" type="integer" min="0" max="5" default="3"/>
+		<element name="cam_chspeed" type="float" min="0.1" max="10" default="1"/>
+		<element name="cam_dir" type="float" min="0" max="360" default="30"/>
+		<element name="cam_distrac" type="integer" min="0" max="1" default="0">
+			<description><![CDATA[Suspend automatic tracking when the camera is moved manually]]></description>
+		</element>
+		<element name="cam_h" type="float" min="0" max="360" default="45">
+			<description><![CDATA[0=side view, 90=top view]]></description>
+		</element>
+		<element name="cam_restrac" type="integer" min="0" max="100" default="10">
+			<description><![CDATA[Restore automatic tracking after some period of time
+(0 to never restore automatic tracking)]]></description>
+		</element>
+		<element name="cam_tracking" type="integer" min="0" max="3" default="1"/>
+		<element name="cam_trspeed" type="float" min="0.1" max="10" default="5"/>
+		<element name="cam_zoom" type="float" min="0.2" max="3" default="0.8"/>
+		<element name="cam_restore" function="true" type="void">
+			<description><![CDATA[Update camera position and restore automatic tracking]]></description>
+<arguments/></element>
+		<element name="moveTarget" function="true" type="void">
+			<description><![CDATA[notify about the target location/size change]]></description>
+			<arguments>
+				<argument name="location x" type="float"/>
+				<argument name="location y" type="float"/>
+				<argument name="location z" type="float"/>
+				<argument name="target size" type="float"/>
+			</arguments>
+		</element>
+		<element name="setTarget" function="true" type="void">
+			<description><![CDATA[select a new target for the camera]]></description>
+			<arguments>
+				<argument name="location x" type="float"/>
+				<argument name="location y" type="float"/>
+				<argument name="location z" type="float"/>
+				<argument name="target size" type="float"/>
+			</arguments>
+		</element>
+		<element name="setViewDir" function="true" type="void">
+			<description><![CDATA[heading: 0..360, height: -90..+90]]></description>
+			<arguments>
+				<argument name="heading angle" type="float"/>
+				<argument name="height angle" type="float"/>
+			</arguments>
+		</element>
+	</type>
+	<type name="VisualStyle" context="Command line interface">
+		<element name="changedProperty" type="integer"/>
+		<element name="changedPropertyId" type="string"/>
+		<element name="code" type="string"/>
+		<element name="info" type="string"/>
+		<element name="modelpan" type="integer" min="0" max="3">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="name" type="string"/>
+		<element name="neurons" type="integer" min="0" max="1"/>
+		<element name="shownames" type="integer" min="0" max="1">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="smooth" type="integer" min="0" max="1"/>
+		<element name="style" type="string"/>
+		<element name="tex" type="integer" min="0" max="2"/>
+		<element name="worldpan" type="integer" min="0" max="3">
+			<description><![CDATA[]]></description>
+		</element>
+		<element name="add" function="true"/>
+		<element name="addGroup" function="true"/>
+		<element name="clear" function="true"/>
+		<element name="rebuild" function="true"/>
+		<element name="remove" function="true"/>
+		<element name="removeGroup" function="true"/>
+		<element name="streload" function="true"/>
+	</type>
+	<type name="Window" context="Command line interface">
+<description><![CDATA[Window object, used in the Framsticks Theater application.
+This class has no corresponding static object. If you want to use it, you have to create an object or get a reference to the existing object.
+ See also: GLDisplay]]></description>
+		<element name="backcolor" type="integer">
+			<description><![CDATA[format: 0xAABBGGRR (alpha,blue,green,red)]]></description>
+		</element>
+		<element name="client" type="Object">
+			<description><![CDATA[what is displayed in the window]]></description>
+		</element>
+		<element name="pos_x" type="integer"/>
+		<element name="pos_y" type="integer"/>
+		<element name="size_x" type="integer"/>
+		<element name="size_y" type="integer"/>
+		<element name="style" type="integer">
+			<description><![CDATA[bitfield:
+1 - border
+2 - title
+4 - Opaque background
+8 - Close button
+16 - resizable]]></description>
+		</element>
+		<element name="title" type="string"/>
+	</type>
+</framscript>
Index: /java/FramclipsePlugin/license.txt
===================================================================
--- /java/FramclipsePlugin/license.txt	(revision 12)
+++ /java/FramclipsePlugin/license.txt	(revision 12)
@@ -0,0 +1,27 @@
+Copyright (c) 2007 Jan Kuźniak, http://jan.kuzniak.pl
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Except as contained in this notice, the name(s) of the above 
+copyright holders shall not be used in advertising or otherwise to 
+promote the sale, use or other dealings in this Software without 
+prior written authorization.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
Index: /java/FramclipsePlugin/plugin.xml
===================================================================
--- /java/FramclipsePlugin/plugin.xml	(revision 12)
+++ /java/FramclipsePlugin/plugin.xml	(revision 12)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            name="Framclipse Framscript Editor"
+            extensions="script"
+            icon="src/main/resources/frams.gif"
+            contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
+            class="com.framsticks.framclipse.editors.FramscriptEditor"
+            id="com.framsticks.framclipse.editors.FramscriptEditor">
+      </editor>
+   </extension>
+   
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            name="Framclipse Neuro Editor"
+            extensions="neuro"
+            icon="src/main/resources/frams.gif"
+            contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
+            class="com.framsticks.framclipse.editors.NeuroEditor"
+            id="com.framsticks.framclipse.editors.NeuroEditor">
+      </editor>
+   </extension>
+   
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            name="Framclipse Expdef Editor"
+            extensions="expdef"
+            icon="src/main/resources/frams.gif"
+            contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
+            class="com.framsticks.framclipse.editors.ExpdefEditor"
+            id="com.framsticks.framclipse.editors.ExpdefEditor">
+      </editor>
+   </extension>
+   
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            name="Framclipse Style Editor"
+            extensions="style"
+            icon="src/main/resources/frams.gif"
+            contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
+            class="com.framsticks.framclipse.editors.StyleEditor"
+            id="com.framsticks.framclipse.editors.StyleEditor">
+      </editor>
+   </extension>
+   
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            name="Framclipse Show Editor"
+            extensions="show"
+            icon="src/main/resources/frams.gif"
+            contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
+            class="com.framsticks.framclipse.editors.ShowEditor"
+            id="com.framsticks.framclipse.editors.ShowEditor">
+      </editor>
+   </extension>
+   
+   <!-- partitioning -->
+   
+   <extension
+         id="com.framsticks.framclipse.editors.ExpdefDocumentSetupParticipant"
+         name="Expdef Document Setup"
+         point="org.eclipse.core.filebuffers.documentSetup">
+      <participant
+            extensions="expdef"
+            class="com.framsticks.framclipse.editors.configuration.ExpdefDocumentSetupParticipant">
+      </participant>
+   </extension>
+   
+   <extension
+         id="com.framsticks.framclipse.editors.FramscriptDocumentSetupParticipant"
+         name="Framscript Document Setup"
+         point="org.eclipse.core.filebuffers.documentSetup">
+      <participant
+            extensions="script"
+            class="com.framsticks.framclipse.editors.configuration.FramscriptDocumentSetupParticipant">
+      </participant>
+   </extension>
+   
+   <extension
+         id="com.framsticks.framclipse.editors.NeuroDocumentSetupParticipant"
+         name="Neuro Document Setup"
+         point="org.eclipse.core.filebuffers.documentSetup">
+      <participant
+            extensions="neuro"
+            class="com.framsticks.framclipse.editors.configuration.NeuroDocumentSetupParticipant">
+      </participant>
+   </extension>
+   
+   <extension
+         id="com.framsticks.framclipse.editors.ShowDocumentSetupParticipant"
+         name="Show Document Setup"
+         point="org.eclipse.core.filebuffers.documentSetup">
+      <participant
+            extensions="show"
+            class="com.framsticks.framclipse.editors.configuration.ShowDocumentSetupParticipant">
+      </participant>
+   </extension>
+   
+   <extension
+         id="com.framsticks.framclipse.editors.StyleDocumentSetupParticipant"
+         name="Style Document Setup"
+         point="org.eclipse.core.filebuffers.documentSetup">
+      <participant
+            extensions="style"
+            class="com.framsticks.framclipse.editors.configuration.StyleDocumentSetupParticipant">
+      </participant>
+   </extension>
+</plugin>
Index: /java/FramclipsePlugin/pom.xml
===================================================================
--- /java/FramclipsePlugin/pom.xml	(revision 12)
+++ /java/FramclipsePlugin/pom.xml	(revision 12)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>pl.kuzniak</groupId>
+	<artifactId>framclipse</artifactId>
+	<version>1.0-SNAPSHOT</version>
+	<name>Framclipse</name>
+	<dependencies>
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-log4j12</artifactId>
+			<version>1.1.0</version>
+		</dependency>
+	</dependencies>
+	<repositories>
+		<repository>
+			<id>codehaus</id>
+			<name>Codehaus maven repository</name>
+			<url>http://dist.codehaus.org/</url>
+			<layout>legacy</layout>
+		</repository>
+		<repository>
+			<snapshots />
+			<id>ibiblio</id>
+			<name>Maven Repository Switchboard</name>
+			<url>http://www.ibiblio.org/maven2</url>
+		</repository>
+	</repositories>
+	<pluginRepositories>
+		<pluginRepository>
+			<id>snapshots</id>
+			<name>snapshot plugins</name>
+			<url>http://snapshots.maven.codehaus.org/maven2</url>
+		</pluginRepository>
+		<pluginRepository>
+			<id>apache.snapshots</id>
+			<name>Apache Snapshot Plugins</name>
+			<url>http://people.apache.org/repo/m2-snapshot-repository</url>
+		</pluginRepository>
+	</pluginRepositories>
+	<build>
+		<sourceDirectory>src/main/java</sourceDirectory>
+		<plugins>
+			<plugin>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-eclipse-plugin</artifactId>
+				<configuration>
+					<projectnatures>
+						<projectnature>
+							org.eclipse.jdt.core.javanature
+						</projectnature>
+						<projectnature>
+							org.eclipse.pde.PluginNature
+						</projectnature>
+					</projectnatures>
+					<buildcommands>
+						<buildcommand>
+							org.eclipse.jdt.core.javabuilder
+						</buildcommand>
+						<buildcommand>
+							org.eclipse.pde.ManifestBuilder
+						</buildcommand>
+						<buildcommand>
+							org.eclipse.pde.SchemaBuilder
+						</buildcommand>
+					</buildcommands>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.felix.plugins</groupId>
+				<artifactId>maven-osgi-plugin</artifactId>
+				<extensions>true</extensions>
+				<version>0.8.0-SNAPSHOT</version>
+				<configuration>
+					<manifestFile>META-INF/MANIFEST.MF</manifestFile>
+					<osgiManifest>
+						<bundleName>
+							Framclipse
+						</bundleName>
+						<bundleSymbolicName>
+							com.framsticks.framclipse;singleton:=true
+						</bundleSymbolicName>
+						<bundleLocalization>plugin</bundleLocalization>
+						<bundleDescription>
+							An Eclipse Plugin to manage a remote
+							Continuum instance.
+						</bundleDescription>
+						<bundleActivator>
+							com.framsticks.framclipse.Framclipse
+						</bundleActivator>
+						<requireBundle>
+							org.eclipse.ui,
+							org.eclipse.core.runtime,
+							org.eclipse.jface.text,
+							org.eclipse.ui.editors,
+							org.eclipse.ui.workbench.texteditor
+ 						</requireBundle>
+						<bundleVendor>Jan Kuźniak</bundleVendor>
+					</osgiManifest>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+</project>
