Changeset 906


Ignore:
Timestamp:
01/09/20 04:21:58 (5 years ago)
Author:
sz
Message:

Updated for Framsticks50rc14.

Notable changes for the script creators:

  • more descriptive field names for Creature and Population (e.g. Creature:perf_measuring, nn_active, physics_active, ... Population: intitial_perf_measuring...)
  • Dictionary.hasKey(), for(item in dict) ... , for(key in dict.keys) ...
  • _propertyAdd/Remove/Exists... etc. functions (instead of many unrelated names) in ExpProperties? and ExpState?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/Framclipse/com.framsticks.framclipse/res/framscript.xml

    r769 r906  
    5454                </element>
    5555                <element name="about" function="true" flags="34"/>
    56                 <element name="regname" type="string" flags="35"/>
    5756                <element name="prev_show" type="string" flags="35"/>
    58                 <element name="mode" type="integer" min="0" max="2" flags="35"/>
    5957                <element name="switchmode" type="integer" min="0" max="3" flags="32"/>
    6058                <element name="switchtime" type="integer" min="0" max="9999" flags="32">
     
    141139                </element>
    142140                <element name="energy" type="float"/>
    143                 <element name="perf" type="integer" min="0" max="2">
    144                         <description><![CDATA[Initial value of this property is taken from Population.enableperf]]></description>
    145                 </element>
    146                 <element name="nnenabled" type="integer" min="0" max="1"/>
    147                 <element name="bodysim" type="integer" min="0" max="1" default="1">
    148                         <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.
     141                <element name="perf" type="integer" min="0" max="2" deprecated="true" flags="8226">
     142                        <description><![CDATA[Replaced by perf_measuring]]></description>
     143                </element>
     144                <element name="perf_measuring" type="integer" min="0" max="2">
     145                        <description><![CDATA[The initial value of this property is taken from Population.initial_perf_measuring]]></description>
     146                </element>
     147                <element name="nnenabled" type="integer" min="0" max="2" deprecated="true" flags="8226">
     148                        <description><![CDATA[Replaced by nn_active]]></description>
     149                </element>
     150                <element name="nn_active" type="integer" min="0" max="2">
     151                        <description><![CDATA[The initial value of this property is taken from Population.nn_active]]></description>
     152                </element>
     153                <element name="bodysim" type="integer" min="0" max="1" default="1" deprecated="true" flags="8226">
     154                        <description><![CDATA[Replaced by physics_active]]></description>
     155                </element>
     156                <element name="physics_active" type="integer" min="0" max="1" default="1">
     157                        <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. The initial value of this property is taken from Population.initial_physics_active.
    149158
    150159Bugs: 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>
    151160                </element>
    152                 <element name="selfcol" type="integer" min="0" max="1">
    153                         <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>
    154                 </element>
    155                 <element name="selfcolstate" function="true" type="integer" flags="32">
    156                         <description><![CDATA[Current self-collision state. In old versions this was a field, not a function.]]></description>
     161                <element name="selfcol" type="integer" min="0" max="1" deprecated="true" flags="8226">
     162                        <description><![CDATA[Replaced by self_collisions]]></description>
     163                </element>
     164                <element name="self_collisions" type="integer" min="0" max="1">
     165                        <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.  The initial value of this property is taken from Population.initial_self_collisions.]]></description>
     166                </element>
     167                <element name="selfcolstate" function="true" type="integer" deprecated="true" flags="8224">
     168                        <description><![CDATA[Replaced by selfCollisionsCount()]]></description>
     169<arguments/></element>
     170                <element name="selfCollisionsCount" function="true" type="integer" flags="32">
     171                        <description><![CDATA[Returns the number of self-collisions detected in the creature.]]></description>
    157172<arguments/></element>
    158173                <element name="lifespan" type="integer">
     
    524539                </element>
    525540                <element name="energy" type="float"/>
    526                 <element name="perf" type="integer" min="0" max="2">
    527                         <description><![CDATA[Initial value of this property is taken from Population.enableperf]]></description>
    528                 </element>
    529                 <element name="nnenabled" type="integer" min="0" max="1"/>
    530                 <element name="bodysim" type="integer" min="0" max="1" default="1">
    531                         <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.
     541                <element name="perf_measuring" type="integer" min="0" max="2">
     542                        <description><![CDATA[The initial value of this property is taken from Population.initial_perf_measuring]]></description>
     543                </element>
     544                <element name="nn_active" type="integer" min="0" max="2">
     545                        <description><![CDATA[The initial value of this property is taken from Population.nn_active]]></description>
     546                </element>
     547                <element name="physics_active" type="integer" min="0" max="1" default="1">
     548                        <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. The initial value of this property is taken from Population.initial_physics_active.
    532549
    533550Bugs: 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>
    534551                </element>
    535                 <element name="selfcol" type="integer" min="0" max="1">
    536                         <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>
     552                <element name="self_collisions" type="integer" min="0" max="1">
     553                        <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.  The initial value of this property is taken from Population.initial_self_collisions.]]></description>
    537554                </element>
    538555                <element name="lifespan" type="integer">
     
    594611        d={ "name":"John", "age":44 };
    595612Iterating:
    596         for(var i=0;i<d.size;i++) Simulator.print(d.getKey(i)+" is "+d.get(i));]]></description>
     613        for(var v in d) Simulator.print(v); //values
     614        for(var k in d.keys) Simulator.print(k+" is "+d[k]); //keys
     615        for(var i=0;i<d.size;i++) Simulator.print(d.getKey(i)+" is "+d.get(i)); //by index]]></description>
    597616                <element name="clear" function="true" type="void" flags="256"><arguments/></element>
    598617                <element name="size" type="integer" flags="257"/>
     
    604623                </element>
    605624                <element name="get" function="true" type="untyped" flags="256">
    606                         <description><![CDATA[Retrieves the named or indexed element (depending on the argument type: string or int). null is returned for nonexistent keys.
    607 object.get(key) can be shortened to 'object[key]']]></description>
     625                        <description><![CDATA[Retrieves the named or indexed element (depending on the argument type: string or int). Accessing nonexistent keys is an error (use hasKey() if necessary).
     626object.get(key) can be shortened to object[key].]]></description>
    608627                        <arguments>
    609628                                <argument name="key" type="untyped"/>
     
    611630                </element>
    612631                <element name="getKey" function="true" type="string" flags="256">
    613                         <description><![CDATA[Returns the key of the indexed element (0 <= index < size)]]></description>
     632                        <description><![CDATA[Returns the key of the indexed element (0 <= index < size).]]></description>
    614633                        <arguments>
    615634                                <argument name="index" type="integer"/>
     635                        </arguments>
     636                </element>
     637                <element name="hasKey" function="true" type="integer" flags="256">
     638                        <description><![CDATA[Returns 1 (interpreted as true) if dictionary contains the supplied key, or 0 (false) otherwise.
     639Example:
     640   if (obj.hasKey("a"))
     641      x = obj->a;]]></description>
     642                        <arguments>
     643                                <argument name="key" type="string"/>
    616644                        </arguments>
    617645                </element>
     
    647675                        </arguments>
    648676                </element>
     677                <element name="iterator" type="Object" flags="257"/>
     678                <element name="keys" type="Object" flags="257">
     679                        <description><![CDATA[Iterate over this object to get all keys: for(k in dict.keys) ...]]></description>
     680                </element>
    649681        </type>
    650682        <type name="EnergyParticles" context="Global context">
     
    763795                </element>
    764796                <element name="createDirect" function="true" type="File" flags="32">
     797                        <description><![CDATA[Returns null if the file can't be created]]></description>
    765798                        <arguments>
    766799                                <argument name="filename" type="string"/>
     
    775808                </element>
    776809                <element name="appendDirect" function="true" type="File " flags="32">
     810                        <description><![CDATA[Returns null if the file can't be appended]]></description>
    777811                        <arguments>
    778812                                <argument name="filename" type="string"/>
     
    784818<arguments/></element>
    785819                <element name="open" function="true" type="File " flags="32">
     820                        <description><![CDATA[Returns null if the file can't be read]]></description>
    786821                        <arguments>
    787822                                <argument name="filename" type="string"/>
     
    11761211                        </arguments>
    11771212                </element>
    1178                 <element name="clear" function="true" flags="34"/>
    1179                 <element name="add" function="true" flags="34"/>
    1180                 <element name="remove" function="true" flags="34"/>
    1181                 <element name="addGroup" function="true" flags="34"/>
    1182                 <element name="removeGroup" function="true" flags="34"/>
    1183                 <element name="changedProperty" type="integer" flags="35"/>
    1184                 <element name="changedPropertyId" type="string" flags="35"/>
     1213                <element name="_propertyClear" function="true" type="void" flags="34">
     1214                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     1215<arguments/></element>
     1216                <element name="_propertyAdd" function="true" type="void" flags="34">
     1217                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     1218                        <arguments>
     1219                                <argument name="id" type="string"/>
     1220                                <argument name="type description" type="string"/>
     1221                                <argument name="name" type="string"/>
     1222                                <argument name="flags" type="integer"/>
     1223                                <argument name="help text" type="string"/>
     1224                        </arguments>
     1225                </element>
     1226                <element name="_propertyRemove" function="true" type="void" flags="34">
     1227                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     1228                        <arguments>
     1229                                <argument name="index" type="integer"/>
     1230                        </arguments>
     1231                </element>
     1232                <element name="_propertyChange" function="true" type="void" flags="34">
     1233                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     1234                        <arguments>
     1235                                <argument name="id" type="string"/>
     1236                                <argument name="type description" type="string"/>
     1237                                <argument name="name" type="string"/>
     1238                                <argument name="flags" type="integer"/>
     1239                                <argument name="help text" type="string"/>
     1240                        </arguments>
     1241                </element>
     1242                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     1243                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     1244                        <arguments>
     1245                                <argument name="name" type="string"/>
     1246                        </arguments>
     1247                </element>
     1248                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     1249                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     1250                        <arguments>
     1251                                <argument name="index" type="integer"/>
     1252                        </arguments>
     1253                </element>
     1254                <element name="_propertyExists" function="true" type="integer" flags="34">
     1255                        <arguments>
     1256                                <argument name="name" type="string"/>
     1257                        </arguments>
     1258                </element>
     1259                <element name="_property_changed_index" type="integer" flags="35"/>
     1260                <element name="_property_changed_id" type="string" flags="35"/>
    11851261                <element name="genoper_f0" type="integer" min="0" max="0" flags="65">
    11861262                        <description><![CDATA[]]></description>
     
    11981274                        <description><![CDATA[]]></description>
    11991275                </element>
     1276                <element name="genoper_f8" type="integer" min="0" max="0" flags="65">
     1277                        <description><![CDATA[]]></description>
     1278                </element>
    12001279                <element name="genoper_f9" type="integer" min="0" max="0" flags="65">
    12011280                        <description><![CDATA[]]></description>
     
    12051284                </element>
    12061285                <element name="genoper_fn" type="integer" min="0" max="0" flags="65">
     1286                        <description><![CDATA[]]></description>
     1287                </element>
     1288                <element name="genoper_fB" type="integer" min="0" max="0" flags="65">
     1289                        <description><![CDATA[]]></description>
     1290                </element>
     1291                <element name="genoper_fH" type="integer" min="0" max="0" flags="65">
     1292                        <description><![CDATA[]]></description>
     1293                </element>
     1294                <element name="genoper_fL" type="integer" min="0" max="0" flags="65">
    12071295                        <description><![CDATA[]]></description>
    12081296                </element>
     
    16341722                <element name="f4_mut_exmod" type="string" max="30">
    16351723                        <description><![CDATA[Modifiers that will not be added nor deleted during mutation
    1636 (all: ,LlRrCcQqFfMmIiEeWwAaSs)]]></description>
     1724(all: LlRrCcQqFfMmIiEeWwAaSsDdGgBbHh)]]></description>
     1725                </element>
     1726                <element name="f8_mut_chg_begin_arg" type="float" min="0" max="100" default="7.0">
     1727                        <description><![CDATA[mutation: probability of changing a beginning argument]]></description>
     1728                </element>
     1729                <element name="f8_mut_chg_arg" type="float" min="0" max="100" default="7.0">
     1730                        <description><![CDATA[mutation: probability of changing a production's argument]]></description>
     1731                </element>
     1732                <element name="f8_mut_del_comm" type="float" min="0" max="100" default="8.0">
     1733                        <description><![CDATA[mutation: probability of deleting a command]]></description>
     1734                </element>
     1735                <element name="f8_mut_insert_comm" type="float" min="0" max="100" default="8.0">
     1736                        <description><![CDATA[mutation: probability of inserting commands]]></description>
     1737                </element>
     1738                <element name="f8_mut_enc" type="float" min="0" max="100" default="8.0">
     1739                        <description><![CDATA[mutation: probability of encapsulating commands]]></description>
     1740                </element>
     1741                <element name="f8_mut_chg_cond_sign" type="float" min="0" max="100" default="7.0">
     1742                        <description><![CDATA[mutation: probability of changing a condition sign]]></description>
     1743                </element>
     1744                <element name="f8_mut_add_param" type="float" min="0" max="100" default="8.0">
     1745                        <description><![CDATA[mutation: probability of adding a parameter to the production]]></description>
     1746                </element>
     1747                <element name="f8_mut_add_cond" type="float" min="0" max="100" default="8.0">
     1748                        <description><![CDATA[mutation: probability of adding a condition to the subproduction]]></description>
     1749                </element>
     1750                <element name="f8_mut_add_subprod" type="float" min="0" max="100" default="8.0">
     1751                        <description><![CDATA[mutation: probability of adding a subproduction]]></description>
     1752                </element>
     1753                <element name="f8_mut_chg_iter_number" type="float" min="0" max="100" default="7.0">
     1754                        <description><![CDATA[mutation: probability of changing a number of iterations]]></description>
     1755                </element>
     1756                <element name="f8_mut_del_param" type="float" min="0" max="100" default="8.0">
     1757                        <description><![CDATA[mutation: probability of deleting a parameter]]></description>
     1758                </element>
     1759                <element name="f8_mut_del_cond" type="float" min="0" max="100" default="8.0">
     1760                        <description><![CDATA[mutation: probability of deleting a condition]]></description>
     1761                </element>
     1762                <element name="f8_mut_add_loop" type="float" min="0" max="100" default="0.0">
     1763                        <description><![CDATA[mutation: probability of adding a loop]]></description>
     1764                </element>
     1765                <element name="f8_mut_del_loop" type="float" min="0" max="100" default="0.0">
     1766                        <description><![CDATA[mutation: probability of deleting a loop]]></description>
     1767                </element>
     1768                <element name="f8_mut_del_prod" type="float" min="0" max="100" default="8.0">
     1769                        <description><![CDATA[mutation: probability of deleting a production]]></description>
    16371770                </element>
    16381771                <element name="f9_mut" type="float" min="0" max="1" default="0.1">
     
    164917821.0 => each child is identical to one parent (no crossover).]]></description>
    16501783                </element>
     1784                <element name="fn_xover_random" type="integer" min="0" max="1" default="1">
     1785                        <description><![CDATA[If active, the amount of linear mix is random in each crossover operation, so the "Fraction inherited in linear mix crossover" parameter is ignored.]]></description>
     1786                </element>
    16511787                <element name="fn_mut_bound_low" type="string" default="[-10.0, -10.0]">
    16521788                        <description><![CDATA[A vector of lower bounds (one real value for each variable)]]></description>
     
    16571793                <element name="fn_mut_stddev" type="string" default="[0.1, 0.1]">
    16581794                        <description><![CDATA[A vector of standard deviations (one real value for each variable)]]></description>
     1795                </element>
     1796                <element name="fn_mut_single_var" type="integer" min="0" max="1" default="0">
     1797                        <description><![CDATA[If active, only a single randomly selected variable will be mutated in each mutation operation. Otherwise all variables will be mutated.]]></description>
     1798                </element>
     1799                <element name="fB_mut_substitution" type="float" min="0" max="1" default="0.6">
     1800                        <description><![CDATA[Probability of mutation by changing single random letter in genotype]]></description>
     1801                </element>
     1802                <element name="fB_mut_insertion" type="float" min="0" max="1" default="0.095">
     1803                        <description><![CDATA[Probability of mutation by inserting characters in random place of genotype]]></description>
     1804                </element>
     1805                <element name="fB_mut_nclassins" type="float" min="0" max="1" default="0.005">
     1806                        <description><![CDATA[Probability of mutation by inserting neuron class definition in random place of genotype]]></description>
     1807                </element>
     1808                <element name="fB_mut_deletion" type="float" min="0" max="1" default="0.1">
     1809                        <description><![CDATA[Probability of mutation by deleting random characters in genotype]]></description>
     1810                </element>
     1811                <element name="fB_mut_duplication" type="float" min="0" max="1" default="0.0">
     1812                        <description><![CDATA[Probability of mutation by copying single *gene* of genotype and appending it to the beginning of this genotype]]></description>
     1813                </element>
     1814                <element name="fB_mut_translocation" type="float" min="0" max="1" default="0.15">
     1815                        <description><![CDATA[Probability of mutation by replacing two substrings in genotype]]></description>
     1816                </element>
     1817                <element name="fB_cross_gene_transfer" type="float" min="0" max="1" default="0.0">
     1818                        <description><![CDATA[Probability of crossing over by transferring single genes from both parents to beginning of each other]]></description>
     1819                </element>
     1820                <element name="fB_cross_crossover" type="float" min="0" max="1" default="1.0">
     1821                        <description><![CDATA[Probability of crossing over by random distribution of genes from both parents to both children]]></description>
     1822                </element>
     1823                <element name="fH_mut_addition" type="float" min="0" max="1" default="0.3">
     1824                        <description><![CDATA[Probability of adding new element to genotype]]></description>
     1825                </element>
     1826                <element name="fH_mut_add_joint" type="float" min="0" max="1" default="0.33">
     1827                        <description><![CDATA[Probability of adding new stick handle]]></description>
     1828                </element>
     1829                <element name="fH_mut_add_neuron" type="float" min="0" max="1" default="0.33">
     1830                        <description><![CDATA[Probability of adding new neuron handle]]></description>
     1831                </element>
     1832                <element name="fH_mut_add_connection" type="float" min="0" max="1" default="0.33">
     1833                        <description><![CDATA[Probability of adding new connection handle]]></description>
     1834                </element>
     1835                <element name="fH_mut_deletion" type="float" min="0" max="1" default="0.1">
     1836                        <description><![CDATA[Probability of removing element from genotype]]></description>
     1837                </element>
     1838                <element name="fH_mut_handle" type="float" min="0" max="1" default="0.3">
     1839                        <description><![CDATA[Probability of changing values in vectors of handle]]></description>
     1840                </element>
     1841                <element name="fH_mut_property" type="float" min="0" max="1" default="0.3">
     1842                        <description><![CDATA[Probability of changing properties of handles]]></description>
     1843                </element>
     1844                <element name="fL_maxdefinedwords" type="integer" min="0" max="100" default="10">
     1845                        <description><![CDATA[Maximum number of words that can be defined in L-System]]></description>
     1846                </element>
     1847                <element name="fL_axm_mut_prob" type="float" min="0" max="1" default="0.2">
     1848                        <description><![CDATA[Probability of performing mutation operations on axiom]]></description>
     1849                </element>
     1850                <element name="fL_rul_mut_prob" type="float" min="0" max="1" default="0.8">
     1851                        <description><![CDATA[Probability of performing mutation operations on the successor of random rule]]></description>
     1852                </element>
     1853                <element name="fL_mut_addition" type="float" min="0" max="1" default="0.2">
     1854                        <description><![CDATA[Probability of adding random existing word to the axiom or one of successors]]></description>
     1855                </element>
     1856                <element name="fL_mut_add_stick" type="float" min="0" max="1" default="0.2">
     1857                        <description><![CDATA[Probability of adding stick]]></description>
     1858                </element>
     1859                <element name="fL_mut_add_neuro" type="float" min="0" max="1" default="0.2">
     1860                        <description><![CDATA[Probability of adding neuron]]></description>
     1861                </element>
     1862                <element name="fL_mut_add_conn" type="float" min="0" max="1" default="0.2">
     1863                        <description><![CDATA[Probability of adding connection]]></description>
     1864                </element>
     1865                <element name="fL_mut_add_rot" type="float" min="0" max="1" default="0.2">
     1866                        <description><![CDATA[Probability of adding one of rotation words]]></description>
     1867                </element>
     1868                <element name="fL_mut_add_branch" type="float" min="0" max="1" default="0.2">
     1869                        <description><![CDATA[Probability of adding branch with rotation and stick]]></description>
     1870                </element>
     1871                <element name="fL_mut_add_other" type="float" min="0" max="1" default="0.4">
     1872                        <description><![CDATA[Probability of adding other word, defined in genotype]]></description>
     1873                </element>
     1874                <element name="fL_mut_worddefaddition" type="float" min="0" max="1" default="0.05">
     1875                        <description><![CDATA[Probability of adding new word definition to the genotype]]></description>
     1876                </element>
     1877                <element name="fL_mut_ruleaddition" type="float" min="0" max="1" default="0.1">
     1878                        <description><![CDATA[Probability of adding new rule definition for existing word]]></description>
     1879                </element>
     1880                <element name="fL_mut_rulecond" type="float" min="0" max="1" default="0.1">
     1881                        <description><![CDATA[Probability of modifying random rule condition]]></description>
     1882                </element>
     1883                <element name="fL_mut_changeword" type="float" min="0" max="1" default="0.3">
     1884                        <description><![CDATA[Probability of changing word name or formula of a random word from axiom or one of successors]]></description>
     1885                </element>
     1886                <element name="fL_mut_changeword_formula" type="float" min="0" max="1" default="0.7">
     1887                        <description><![CDATA[Probability of changing formula in word]]></description>
     1888                </element>
     1889                <element name="fL_mut_changeword_name" type="float" min="0" max="1" default="0.3">
     1890                        <description><![CDATA[Probability of changing name in word]]></description>
     1891                </element>
     1892                <element name="fL_mut_changeiter" type="float" min="0" max="1" default="0.3">
     1893                        <description><![CDATA[Probability of changing number of iterations of L-Systems]]></description>
     1894                </element>
     1895                <element name="fL_mut_changeiter_step" type="float" min="0" max="1" default="1.0">
     1896                        <description><![CDATA[Minimal step that should be used for changing iterations in L-Systems]]></description>
     1897                </element>
     1898                <element name="fL_mut_deletion" type="float" min="0" max="1" default="0.2">
     1899                        <description><![CDATA[Probability of deleting random word from axiom or random successor (also deletes rule if there is only one word in successor)]]></description>
    16591900                </element>
    16601901        </type>
     
    23392580http://www.framsticks.com/bib/Komosinski-et-al-2001
    23402581http://www.framsticks.com/bib/Komosinski-and-Kubiak-2011
    2341 http://www.framsticks.com/bib/Komosinski-2016]]></description>
     2582http://www.framsticks.com/bib/Komosinski-2016
     2583https://doi.org/10.1007/978-3-030-16692-2_8]]></description>
     2584                <element name="simil_method" type="integer" min="0" max="1" default="0">
     2585                        <description><![CDATA[]]></description>
     2586                </element>
    23422587                <element name="simil_parts" type="float" min="0" max="100" default="0.0">
    23432588                        <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description>
     
    23542599                <element name="simil_fixedZaxis" type="integer" min="0" max="1" default="0">
    23552600                        <description><![CDATA[]]></description>
     2601                </element>
     2602                <element name="simil_weightedMDS" type="integer" min="0" max="1" default="0">
     2603                        <description><![CDATA[If activated, weighted MDS with vertex (i.e., Part) degrees as weights is used for 3D alignment of body structure.]]></description>
    23562604                </element>
    23572605                <element name="evaluateDistance" function="true" type="float" flags="34">
     
    29363184                        <description><![CDATA[World ERP (error reduction parameter)]]></description>
    29373185                </element>
    2938                 <element name="odeworldcfm" type="float" min="0" max="1" default="1e-05">
     3186                <element name="odeworldcfm" type="float" min="0" max="1" default="1e-5">
    29393187                        <description><![CDATA[World CFM (constraint force mixing)]]></description>
    29403188                </element>
     
    31063354                        <description><![CDATA[Do creatures die when no energy?]]></description>
    31073355                </element>
    3108                 <element name="nnsim" type="integer" min="0" max="2" default="1">
     3356                <element name="nnsim" type="integer" min="0" max="2" default="1" deprecated="true" flags="8226">
     3357                        <description><![CDATA[Replaced by initial_nn_active]]></description>
     3358                </element>
     3359                <element name="initial_nn_active" type="integer" min="0" max="2" default="1">
    31093360                        <description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description>
     3361                </element>
     3362                <element name="nn_paused" type="integer" min="0" max="1" default="0">
     3363                        <description><![CDATA[Disables NN simulation for all creatures in the population]]></description>
    31103364                </element>
    31113365                <element name="perfperiod" type="integer" min="0" max="1000000" default="100">
     
    31213375                        <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>
    31223376                </element>
    3123                 <element name="enableperf" type="integer" min="0" max="2" default="1">
     3377                <element name="enableperf" type="integer" min="0" max="2" default="1" deprecated="true" flags="8226">
     3378                        <description><![CDATA[Replaced by initial_perf_measuring]]></description>
     3379                </element>
     3380                <element name="initial_perf_measuring" type="integer" min="0" max="2" default="1">
    31243381                        <description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description>
    31253382                </element>
     
    31623419                        <description><![CDATA[See selfmask.]]></description>
    31633420                </element>
    3164                 <element name="bodysim" type="integer" min="0" max="1" default="1">
    3165                         <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>
    3166                 </element>
    3167                 <element name="selfcol" type="integer" min="0" max="1" default="0">
    3168                         <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>
     3421                <element name="bodysim" type="integer" min="0" max="1" default="1" deprecated="true" flags="8226">
     3422                        <description><![CDATA[Replaced by initial_physics_active]]></description>
     3423                </element>
     3424                <element name="initial_physics_active" type="integer" min="0" max="1" default="1">
     3425                        <description><![CDATA[Enable/disable physical body simulation. This is the initial value of Creature.physics_active for all objects created in this group. For details, see the documentation of Creature.physics_active.]]></description>
     3426                </element>
     3427                <element name="selfcol" type="integer" min="0" max="1" default="0" deprecated="true" flags="8226">
     3428                        <description><![CDATA[Replaced by initial_self_collisions]]></description>
     3429                </element>
     3430                <element name="initial_self_collisions" type="integer" min="0" max="1" default="0">
     3431                        <description><![CDATA[Detect collisions within creature bodies (only applicable for the ODE simulation engine). This is the initial value of Creature.self_collisions 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>
    31693432                </element>
    31703433                <element name="em_stat" type="float" min="0" max="1" default="0.0">
     
    36053868                        <description><![CDATA[Useful for synchronizing the user interface state.]]></description>
    36063869                </element>
     3870                <element name="stop_on" type="integer" min="0" max="3" default="2">
     3871                        <description><![CDATA[If the simulation is running and a message is emitted with at least the selected severity, the simulation will be stopped.]]></description>
     3872                </element>
    36073873                <element name="step" function="true" type="void" flags="32"><arguments/></element>
    36083874                <element name="time" type="integer" deprecated="true" flags="8226">
     
    36693935                        <description><![CDATA[Most recently reported by the experiment definition script.]]></description>
    36703936                </element>
     3937                <element name="resetToDefaults" function="true" type="void">
     3938                        <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description>
     3939<arguments/></element>
    36713940                <element name="createrr" type="integer" min="0" max="2" default="1"/>
    36723941                <element name="groupchk" type="integer" min="0" max="1" default="1">
     
    36773946                </element>
    36783947                <element name="vmdebug" type="integer" min="0" max="1"/>
    3679                 <element name="resetToDefaults" function="true" type="void">
    3680                         <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description>
    3681 <arguments/></element>
     3948                <element name="vm_step_limit" type="integer" min="0" max="1000000000" default="0">
     3949                        <description><![CDATA[Abort any script (expdef, fitness formula, user script) when it performs too many operations - which can take more or less time depending on your machine performance. This can protect against infinite loops or unbearably long runs of untested scripts that would otherwise force you to kill the whole application. Use Simulator.vm_..._warning if you only need information about what script takes too much time without aborting it.]]></description>
     3950                </element>
     3951                <element name="vm_step_warning" type="integer" min="0" max="1000000000" default="0">
     3952                        <description><![CDATA[Display a warning when any script (expdef, fitness formula, user script) performs too many operations - which can take more or less time depending on your machine performance. Use Simulator.vm_..._limit to prevent the application from becoming unresponsive by aborting misbehaving scripts.]]></description>
     3953                </element>
     3954                <element name="vm_time_limit" type="float" min="0" max="1e+09" default="0.0">
     3955                        <description><![CDATA[Abort any script (expdef, fitness formula, user script) when it takes too much time - measured in seconds. The actual amount of work depends on your machine performance. This can protect against infinite loops or unbearably long runs of untested scripts that would otherwise force you to kill the whole application. Use Simulator.vm_..._warning if you only need information about what script takes too much time without aborting it.]]></description>
     3956                </element>
     3957                <element name="vm_time_warning" type="float" min="0" max="1e+09" default="0.0">
     3958                        <description><![CDATA[Display a warning when any script (expdef, fitness formula, user script) takes too much time - measured in seconds. The actual amount of work depends on your machine performance. Use Simulator.vm_..._limit to prevent the application from becoming unresponsive by aborting misbehaving scripts.]]></description>
     3959                </element>
    36823960                <element name="new" function="true" type="Simulator" flags="32"><arguments/></element>
    36833961                <element name="slaves" type="SlaveSimulators" flags="35"/>
     
    37033981                        <description><![CDATA[Current application version as an integer.]]></description>
    37043982                </element>
    3705                 <element name="clear" function="true" flags="34"/>
    3706                 <element name="add" function="true" flags="34"/>
    3707                 <element name="remove" function="true" flags="34"/>
    3708                 <element name="addGroup" function="true" flags="34"/>
    3709                 <element name="removeGroup" function="true" flags="34"/>
    3710                 <element name="changedProperty" type="integer" flags="35"/>
    3711                 <element name="changedPropertyId" type="string" flags="35"/>
     3983                <element name="_propertyClear" function="true" type="void" flags="34">
     3984                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     3985<arguments/></element>
     3986                <element name="_propertyAdd" function="true" type="void" flags="34">
     3987                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     3988                        <arguments>
     3989                                <argument name="id" type="string"/>
     3990                                <argument name="type description" type="string"/>
     3991                                <argument name="name" type="string"/>
     3992                                <argument name="flags" type="integer"/>
     3993                                <argument name="help text" type="string"/>
     3994                        </arguments>
     3995                </element>
     3996                <element name="_propertyRemove" function="true" type="void" flags="34">
     3997                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     3998                        <arguments>
     3999                                <argument name="index" type="integer"/>
     4000                        </arguments>
     4001                </element>
     4002                <element name="_propertyChange" function="true" type="void" flags="34">
     4003                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     4004                        <arguments>
     4005                                <argument name="id" type="string"/>
     4006                                <argument name="type description" type="string"/>
     4007                                <argument name="name" type="string"/>
     4008                                <argument name="flags" type="integer"/>
     4009                                <argument name="help text" type="string"/>
     4010                        </arguments>
     4011                </element>
     4012                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     4013                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     4014                        <arguments>
     4015                                <argument name="name" type="string"/>
     4016                        </arguments>
     4017                </element>
     4018                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     4019                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     4020                        <arguments>
     4021                                <argument name="index" type="integer"/>
     4022                        </arguments>
     4023                </element>
     4024                <element name="_propertyExists" function="true" type="integer" flags="34">
     4025                        <arguments>
     4026                                <argument name="name" type="string"/>
     4027                        </arguments>
     4028                </element>
     4029                <element name="_property_changed_index" type="integer" flags="35"/>
     4030                <element name="_property_changed_id" type="string" flags="35"/>
    37124031                <element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
    37134032                <element name="wrldsiz" type="float" min="10" max="10000" default="20.0">
     
    37834102                        <description><![CDATA[World ERP (error reduction parameter)]]></description>
    37844103                </element>
    3785                 <element name="odeworldcfm" type="float" min="0" max="1" default="1e-05">
     4104                <element name="odeworldcfm" type="float" min="0" max="1" default="1e-5">
    37864105                        <description><![CDATA[World CFM (constraint force mixing)]]></description>
    37874106                </element>
     
    38824201                        <description><![CDATA[]]></description>
    38834202                </element>
     4203                <element name="genoper_f8" type="integer" min="0" max="0" flags="65">
     4204                        <description><![CDATA[]]></description>
     4205                </element>
    38844206                <element name="genoper_f9" type="integer" min="0" max="0" flags="65">
    38854207                        <description><![CDATA[]]></description>
     
    38894211                </element>
    38904212                <element name="genoper_fn" type="integer" min="0" max="0" flags="65">
     4213                        <description><![CDATA[]]></description>
     4214                </element>
     4215                <element name="genoper_fB" type="integer" min="0" max="0" flags="65">
     4216                        <description><![CDATA[]]></description>
     4217                </element>
     4218                <element name="genoper_fH" type="integer" min="0" max="0" flags="65">
     4219                        <description><![CDATA[]]></description>
     4220                </element>
     4221                <element name="genoper_fL" type="integer" min="0" max="0" flags="65">
    38914222                        <description><![CDATA[]]></description>
    38924223                </element>
     
    43184649                <element name="f4_mut_exmod" type="string" max="30">
    43194650                        <description><![CDATA[Modifiers that will not be added nor deleted during mutation
    4320 (all: ,LlRrCcQqFfMmIiEeWwAaSs)]]></description>
     4651(all: LlRrCcQqFfMmIiEeWwAaSsDdGgBbHh)]]></description>
     4652                </element>
     4653                <element name="f8_mut_chg_begin_arg" type="float" min="0" max="100" default="7.0">
     4654                        <description><![CDATA[mutation: probability of changing a beginning argument]]></description>
     4655                </element>
     4656                <element name="f8_mut_chg_arg" type="float" min="0" max="100" default="7.0">
     4657                        <description><![CDATA[mutation: probability of changing a production's argument]]></description>
     4658                </element>
     4659                <element name="f8_mut_del_comm" type="float" min="0" max="100" default="8.0">
     4660                        <description><![CDATA[mutation: probability of deleting a command]]></description>
     4661                </element>
     4662                <element name="f8_mut_insert_comm" type="float" min="0" max="100" default="8.0">
     4663                        <description><![CDATA[mutation: probability of inserting commands]]></description>
     4664                </element>
     4665                <element name="f8_mut_enc" type="float" min="0" max="100" default="8.0">
     4666                        <description><![CDATA[mutation: probability of encapsulating commands]]></description>
     4667                </element>
     4668                <element name="f8_mut_chg_cond_sign" type="float" min="0" max="100" default="7.0">
     4669                        <description><![CDATA[mutation: probability of changing a condition sign]]></description>
     4670                </element>
     4671                <element name="f8_mut_add_param" type="float" min="0" max="100" default="8.0">
     4672                        <description><![CDATA[mutation: probability of adding a parameter to the production]]></description>
     4673                </element>
     4674                <element name="f8_mut_add_cond" type="float" min="0" max="100" default="8.0">
     4675                        <description><![CDATA[mutation: probability of adding a condition to the subproduction]]></description>
     4676                </element>
     4677                <element name="f8_mut_add_subprod" type="float" min="0" max="100" default="8.0">
     4678                        <description><![CDATA[mutation: probability of adding a subproduction]]></description>
     4679                </element>
     4680                <element name="f8_mut_chg_iter_number" type="float" min="0" max="100" default="7.0">
     4681                        <description><![CDATA[mutation: probability of changing a number of iterations]]></description>
     4682                </element>
     4683                <element name="f8_mut_del_param" type="float" min="0" max="100" default="8.0">
     4684                        <description><![CDATA[mutation: probability of deleting a parameter]]></description>
     4685                </element>
     4686                <element name="f8_mut_del_cond" type="float" min="0" max="100" default="8.0">
     4687                        <description><![CDATA[mutation: probability of deleting a condition]]></description>
     4688                </element>
     4689                <element name="f8_mut_add_loop" type="float" min="0" max="100" default="0.0">
     4690                        <description><![CDATA[mutation: probability of adding a loop]]></description>
     4691                </element>
     4692                <element name="f8_mut_del_loop" type="float" min="0" max="100" default="0.0">
     4693                        <description><![CDATA[mutation: probability of deleting a loop]]></description>
     4694                </element>
     4695                <element name="f8_mut_del_prod" type="float" min="0" max="100" default="8.0">
     4696                        <description><![CDATA[mutation: probability of deleting a production]]></description>
    43214697                </element>
    43224698                <element name="f9_mut" type="float" min="0" max="1" default="0.1">
     
    433347091.0 => each child is identical to one parent (no crossover).]]></description>
    43344710                </element>
     4711                <element name="fn_xover_random" type="integer" min="0" max="1" default="1">
     4712                        <description><![CDATA[If active, the amount of linear mix is random in each crossover operation, so the "Fraction inherited in linear mix crossover" parameter is ignored.]]></description>
     4713                </element>
    43354714                <element name="fn_mut_bound_low" type="string" default="[-10.0, -10.0]">
    43364715                        <description><![CDATA[A vector of lower bounds (one real value for each variable)]]></description>
     
    43424721                        <description><![CDATA[A vector of standard deviations (one real value for each variable)]]></description>
    43434722                </element>
    4344                 <element name="genkonw0" type="integer" min="0" max="1">
    4345                         <description><![CDATA[]]></description>
    4346                 </element>
    4347                 <element name="genkonw1" type="integer" min="0" max="1">
    4348                         <description><![CDATA[]]></description>
    4349                 </element>
    4350                 <element name="genkonw2" type="integer" min="0" max="1">
    4351                         <description><![CDATA[]]></description>
    4352                 </element>
    4353                 <element name="genkonw3" type="integer" min="0" max="1">
    4354                         <description><![CDATA[]]></description>
    4355                 </element>
    4356                 <element name="genkonw4" type="integer" min="0" max="1">
    4357                         <description><![CDATA[]]></description>
    4358                 </element>
    4359                 <element name="genkonw5" type="integer" min="0" max="1">
    4360                         <description><![CDATA[]]></description>
    4361                 </element>
    4362                 <element name="genkonw6" type="integer" min="0" max="1">
    4363                         <description><![CDATA[]]></description>
    4364                 </element>
     4723                <element name="fn_mut_single_var" type="integer" min="0" max="1" default="0">
     4724                        <description><![CDATA[If active, only a single randomly selected variable will be mutated in each mutation operation. Otherwise all variables will be mutated.]]></description>
     4725                </element>
     4726                <element name="fB_mut_substitution" type="float" min="0" max="1" default="0.6">
     4727                        <description><![CDATA[Probability of mutation by changing single random letter in genotype]]></description>
     4728                </element>
     4729                <element name="fB_mut_insertion" type="float" min="0" max="1" default="0.095">
     4730                        <description><![CDATA[Probability of mutation by inserting characters in random place of genotype]]></description>
     4731                </element>
     4732                <element name="fB_mut_nclassins" type="float" min="0" max="1" default="0.005">
     4733                        <description><![CDATA[Probability of mutation by inserting neuron class definition in random place of genotype]]></description>
     4734                </element>
     4735                <element name="fB_mut_deletion" type="float" min="0" max="1" default="0.1">
     4736                        <description><![CDATA[Probability of mutation by deleting random characters in genotype]]></description>
     4737                </element>
     4738                <element name="fB_mut_duplication" type="float" min="0" max="1" default="0.0">
     4739                        <description><![CDATA[Probability of mutation by copying single *gene* of genotype and appending it to the beginning of this genotype]]></description>
     4740                </element>
     4741                <element name="fB_mut_translocation" type="float" min="0" max="1" default="0.15">
     4742                        <description><![CDATA[Probability of mutation by replacing two substrings in genotype]]></description>
     4743                </element>
     4744                <element name="fB_cross_gene_transfer" type="float" min="0" max="1" default="0.0">
     4745                        <description><![CDATA[Probability of crossing over by transferring single genes from both parents to beginning of each other]]></description>
     4746                </element>
     4747                <element name="fB_cross_crossover" type="float" min="0" max="1" default="1.0">
     4748                        <description><![CDATA[Probability of crossing over by random distribution of genes from both parents to both children]]></description>
     4749                </element>
     4750                <element name="fH_mut_addition" type="float" min="0" max="1" default="0.3">
     4751                        <description><![CDATA[Probability of adding new element to genotype]]></description>
     4752                </element>
     4753                <element name="fH_mut_add_joint" type="float" min="0" max="1" default="0.33">
     4754                        <description><![CDATA[Probability of adding new stick handle]]></description>
     4755                </element>
     4756                <element name="fH_mut_add_neuron" type="float" min="0" max="1" default="0.33">
     4757                        <description><![CDATA[Probability of adding new neuron handle]]></description>
     4758                </element>
     4759                <element name="fH_mut_add_connection" type="float" min="0" max="1" default="0.33">
     4760                        <description><![CDATA[Probability of adding new connection handle]]></description>
     4761                </element>
     4762                <element name="fH_mut_deletion" type="float" min="0" max="1" default="0.1">
     4763                        <description><![CDATA[Probability of removing element from genotype]]></description>
     4764                </element>
     4765                <element name="fH_mut_handle" type="float" min="0" max="1" default="0.3">
     4766                        <description><![CDATA[Probability of changing values in vectors of handle]]></description>
     4767                </element>
     4768                <element name="fH_mut_property" type="float" min="0" max="1" default="0.3">
     4769                        <description><![CDATA[Probability of changing properties of handles]]></description>
     4770                </element>
     4771                <element name="fL_maxdefinedwords" type="integer" min="0" max="100" default="10">
     4772                        <description><![CDATA[Maximum number of words that can be defined in L-System]]></description>
     4773                </element>
     4774                <element name="fL_axm_mut_prob" type="float" min="0" max="1" default="0.2">
     4775                        <description><![CDATA[Probability of performing mutation operations on axiom]]></description>
     4776                </element>
     4777                <element name="fL_rul_mut_prob" type="float" min="0" max="1" default="0.8">
     4778                        <description><![CDATA[Probability of performing mutation operations on the successor of random rule]]></description>
     4779                </element>
     4780                <element name="fL_mut_addition" type="float" min="0" max="1" default="0.2">
     4781                        <description><![CDATA[Probability of adding random existing word to the axiom or one of successors]]></description>
     4782                </element>
     4783                <element name="fL_mut_add_stick" type="float" min="0" max="1" default="0.2">
     4784                        <description><![CDATA[Probability of adding stick]]></description>
     4785                </element>
     4786                <element name="fL_mut_add_neuro" type="float" min="0" max="1" default="0.2">
     4787                        <description><![CDATA[Probability of adding neuron]]></description>
     4788                </element>
     4789                <element name="fL_mut_add_conn" type="float" min="0" max="1" default="0.2">
     4790                        <description><![CDATA[Probability of adding connection]]></description>
     4791                </element>
     4792                <element name="fL_mut_add_rot" type="float" min="0" max="1" default="0.2">
     4793                        <description><![CDATA[Probability of adding one of rotation words]]></description>
     4794                </element>
     4795                <element name="fL_mut_add_branch" type="float" min="0" max="1" default="0.2">
     4796                        <description><![CDATA[Probability of adding branch with rotation and stick]]></description>
     4797                </element>
     4798                <element name="fL_mut_add_other" type="float" min="0" max="1" default="0.4">
     4799                        <description><![CDATA[Probability of adding other word, defined in genotype]]></description>
     4800                </element>
     4801                <element name="fL_mut_worddefaddition" type="float" min="0" max="1" default="0.05">
     4802                        <description><![CDATA[Probability of adding new word definition to the genotype]]></description>
     4803                </element>
     4804                <element name="fL_mut_ruleaddition" type="float" min="0" max="1" default="0.1">
     4805                        <description><![CDATA[Probability of adding new rule definition for existing word]]></description>
     4806                </element>
     4807                <element name="fL_mut_rulecond" type="float" min="0" max="1" default="0.1">
     4808                        <description><![CDATA[Probability of modifying random rule condition]]></description>
     4809                </element>
     4810                <element name="fL_mut_changeword" type="float" min="0" max="1" default="0.3">
     4811                        <description><![CDATA[Probability of changing word name or formula of a random word from axiom or one of successors]]></description>
     4812                </element>
     4813                <element name="fL_mut_changeword_formula" type="float" min="0" max="1" default="0.7">
     4814                        <description><![CDATA[Probability of changing formula in word]]></description>
     4815                </element>
     4816                <element name="fL_mut_changeword_name" type="float" min="0" max="1" default="0.3">
     4817                        <description><![CDATA[Probability of changing name in word]]></description>
     4818                </element>
     4819                <element name="fL_mut_changeiter" type="float" min="0" max="1" default="0.3">
     4820                        <description><![CDATA[Probability of changing number of iterations of L-Systems]]></description>
     4821                </element>
     4822                <element name="fL_mut_changeiter_step" type="float" min="0" max="1" default="1.0">
     4823                        <description><![CDATA[Minimal step that should be used for changing iterations in L-Systems]]></description>
     4824                </element>
     4825                <element name="fL_mut_deletion" type="float" min="0" max="1" default="0.2">
     4826                        <description><![CDATA[Probability of deleting random word from axiom or random successor (also deletes rule if there is only one word in successor)]]></description>
     4827                </element>
     4828                <element name="genkonw0" type="integer" min="0" max="1"/>
     4829                <element name="genkonw1" type="integer" min="0" max="1"/>
     4830                <element name="genkonw2" type="integer" min="0" max="1"/>
     4831                <element name="genkonw3" type="integer" min="0" max="1"/>
     4832                <element name="genkonw4" type="integer" min="0" max="1"/>
     4833                <element name="genkonw5" type="integer" min="0" max="1"/>
     4834                <element name="genkonw6" type="integer" min="0" max="1"/>
     4835                <element name="genkonw7" type="integer" min="0" max="1"/>
     4836                <element name="genkonw8" type="integer" min="0" max="1"/>
     4837                <element name="genkonw9" type="integer" min="0" max="1"/>
     4838                <element name="genkonw10" type="integer" min="0" max="1"/>
    43654839                <element name="randinit" type="float" min="0" max="10" default="0.01">
    43664840                        <description><![CDATA[Allowed range for initializing all neuron states with uniform distribution random numbers and zero mean. Set to 0 for deterministic initialization.]]></description>
     
    46225096   time (t) float 0..6.28319 (default 0)]]></description>
    46235097                </element>
     5098                <element name="simil_method" type="integer" min="0" max="1" default="0">
     5099                        <description><![CDATA[]]></description>
     5100                </element>
    46245101                <element name="simil_parts" type="float" min="0" max="100" default="0.0">
    46255102                        <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description>
     
    46365113                <element name="simil_fixedZaxis" type="integer" min="0" max="1" default="0">
    46375114                        <description><![CDATA[]]></description>
     5115                </element>
     5116                <element name="simil_weightedMDS" type="integer" min="0" max="1" default="0">
     5117                        <description><![CDATA[If activated, weighted MDS with vertex (i.e., Part) degrees as weights is used for 3D alignment of body structure.]]></description>
    46385118                </element>
    46395119                <element name="evaluateDistance" function="true" type="float" flags="34">
     
    48165296                        <description><![CDATA[Useful for synchronizing the user interface state.]]></description>
    48175297                </element>
     5298                <element name="stop_on" type="integer" min="0" max="3" default="2">
     5299                        <description><![CDATA[If the simulation is running and a message is emitted with at least the selected severity, the simulation will be stopped.]]></description>
     5300                </element>
    48185301                <element name="step" function="true" type="void" flags="32"><arguments/></element>
    48195302                <element name="time" type="integer" deprecated="true" flags="8226">
     
    48805363                        <description><![CDATA[Most recently reported by the experiment definition script.]]></description>
    48815364                </element>
     5365                <element name="resetToDefaults" function="true" type="void">
     5366                        <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description>
     5367<arguments/></element>
    48825368                <element name="createrr" type="integer" min="0" max="2" default="1"/>
    48835369                <element name="groupchk" type="integer" min="0" max="1" default="1">
     
    48885374                </element>
    48895375                <element name="vmdebug" type="integer" min="0" max="1"/>
    4890                 <element name="resetToDefaults" function="true" type="void">
    4891                         <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description>
    4892 <arguments/></element>
     5376                <element name="vm_step_limit" type="integer" min="0" max="1000000000" default="0">
     5377                        <description><![CDATA[Abort any script (expdef, fitness formula, user script) when it performs too many operations - which can take more or less time depending on your machine performance. This can protect against infinite loops or unbearably long runs of untested scripts that would otherwise force you to kill the whole application. Use Simulator.vm_..._warning if you only need information about what script takes too much time without aborting it.]]></description>
     5378                </element>
     5379                <element name="vm_step_warning" type="integer" min="0" max="1000000000" default="0">
     5380                        <description><![CDATA[Display a warning when any script (expdef, fitness formula, user script) performs too many operations - which can take more or less time depending on your machine performance. Use Simulator.vm_..._limit to prevent the application from becoming unresponsive by aborting misbehaving scripts.]]></description>
     5381                </element>
     5382                <element name="vm_time_limit" type="float" min="0" max="1e+09" default="0.0">
     5383                        <description><![CDATA[Abort any script (expdef, fitness formula, user script) when it takes too much time - measured in seconds. The actual amount of work depends on your machine performance. This can protect against infinite loops or unbearably long runs of untested scripts that would otherwise force you to kill the whole application. Use Simulator.vm_..._warning if you only need information about what script takes too much time without aborting it.]]></description>
     5384                </element>
     5385                <element name="vm_time_warning" type="float" min="0" max="1e+09" default="0.0">
     5386                        <description><![CDATA[Display a warning when any script (expdef, fitness formula, user script) takes too much time - measured in seconds. The actual amount of work depends on your machine performance. Use Simulator.vm_..._limit to prevent the application from becoming unresponsive by aborting misbehaving scripts.]]></description>
     5387                </element>
    48935388                <element name="new" function="true" type="Simulator" flags="32"><arguments/></element>
    48945389                <element name="slaves" type="SlaveSimulators" flags="35"/>
     
    50065501                        <description><![CDATA[]]></description>
    50075502<arguments/></element>
    5008                 <element name="clear" function="true" flags="34"/>
    5009                 <element name="add" function="true" flags="34"/>
    5010                 <element name="remove" function="true" flags="34"/>
    5011                 <element name="addGroup" function="true" flags="34"/>
    5012                 <element name="removeGroup" function="true" flags="34"/>
    5013                 <element name="changedProperty" type="integer" flags="35"/>
    5014                 <element name="changedPropertyId" type="string" flags="35"/>
     5503                <element name="_propertyClear" function="true" type="void" flags="34">
     5504                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5505<arguments/></element>
     5506                <element name="_propertyAdd" function="true" type="void" flags="34">
     5507                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5508                        <arguments>
     5509                                <argument name="id" type="string"/>
     5510                                <argument name="type description" type="string"/>
     5511                                <argument name="name" type="string"/>
     5512                                <argument name="flags" type="integer"/>
     5513                                <argument name="help text" type="string"/>
     5514                        </arguments>
     5515                </element>
     5516                <element name="_propertyRemove" function="true" type="void" flags="34">
     5517                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5518                        <arguments>
     5519                                <argument name="index" type="integer"/>
     5520                        </arguments>
     5521                </element>
     5522                <element name="_propertyChange" function="true" type="void" flags="34">
     5523                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5524                        <arguments>
     5525                                <argument name="id" type="string"/>
     5526                                <argument name="type description" type="string"/>
     5527                                <argument name="name" type="string"/>
     5528                                <argument name="flags" type="integer"/>
     5529                                <argument name="help text" type="string"/>
     5530                        </arguments>
     5531                </element>
     5532                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     5533                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5534                        <arguments>
     5535                                <argument name="name" type="string"/>
     5536                        </arguments>
     5537                </element>
     5538                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     5539                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5540                        <arguments>
     5541                                <argument name="index" type="integer"/>
     5542                        </arguments>
     5543                </element>
     5544                <element name="_propertyExists" function="true" type="integer" flags="34">
     5545                        <arguments>
     5546                                <argument name="name" type="string"/>
     5547                        </arguments>
     5548                </element>
     5549                <element name="_property_changed_index" type="integer" flags="35"/>
     5550                <element name="_property_changed_id" type="string" flags="35"/>
    50155551                <element name="st_count" type="integer" flags="1"/>
    50165552                <element name="st_min_numparts" type="float" flags="65"/>
     
    51805716                        </arguments>
    51815717                </element>
     5718                <element name="trim" function="true" type="string">
     5719                        <arguments>
     5720                                <argument type="string"/>
     5721                        </arguments>
     5722                </element>
    51825723                <element name="startsWith" function="true" type="integer">
    51835724                        <arguments>
     
    53075848                        <description><![CDATA[String prefix used in the Framsticks file format to indicate object fields that contain serialized objects.]]></description>
    53085849                </element>
     5850                <element name="ESC" type="string" flags="1"/>
     5851                <element name="NBSP" type="string" flags="1"/>
    53095852        </type>
    53105853        <type name="UserScripts" context="Global context">
    5311                 <element name="clear" function="true" flags="34"/>
    5312                 <element name="add" function="true" flags="34"/>
    5313                 <element name="remove" function="true" flags="34"/>
    5314                 <element name="addGroup" function="true" flags="34"/>
    5315                 <element name="removeGroup" function="true" flags="34"/>
    5316                 <element name="changedProperty" type="integer" flags="35"/>
    5317                 <element name="changedPropertyId" type="string" flags="35"/>
     5854                <element name="_propertyClear" function="true" type="void" flags="34">
     5855                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5856<arguments/></element>
     5857                <element name="_propertyAdd" function="true" type="void" flags="34">
     5858                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5859                        <arguments>
     5860                                <argument name="id" type="string"/>
     5861                                <argument name="type description" type="string"/>
     5862                                <argument name="name" type="string"/>
     5863                                <argument name="flags" type="integer"/>
     5864                                <argument name="help text" type="string"/>
     5865                        </arguments>
     5866                </element>
     5867                <element name="_propertyRemove" function="true" type="void" flags="34">
     5868                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5869                        <arguments>
     5870                                <argument name="index" type="integer"/>
     5871                        </arguments>
     5872                </element>
     5873                <element name="_propertyChange" function="true" type="void" flags="34">
     5874                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5875                        <arguments>
     5876                                <argument name="id" type="string"/>
     5877                                <argument name="type description" type="string"/>
     5878                                <argument name="name" type="string"/>
     5879                                <argument name="flags" type="integer"/>
     5880                                <argument name="help text" type="string"/>
     5881                        </arguments>
     5882                </element>
     5883                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     5884                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5885                        <arguments>
     5886                                <argument name="name" type="string"/>
     5887                        </arguments>
     5888                </element>
     5889                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     5890                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     5891                        <arguments>
     5892                                <argument name="index" type="integer"/>
     5893                        </arguments>
     5894                </element>
     5895                <element name="_propertyExists" function="true" type="integer" flags="34">
     5896                        <arguments>
     5897                                <argument name="name" type="string"/>
     5898                        </arguments>
     5899                </element>
     5900                <element name="_property_changed_index" type="integer" flags="35"/>
     5901                <element name="_property_changed_id" type="string" flags="35"/>
    53185902        </type>
    53195903        <type name="Vector" context="Global context">
     
    56366220        </type>
    56376221        <type name="ExpProperties" context="Experiment definition">
    5638                 <element name="clear" function="true" flags="34"/>
    5639                 <element name="add" function="true" flags="34"/>
    5640                 <element name="remove" function="true" flags="34"/>
    5641                 <element name="addGroup" function="true" flags="34"/>
    5642                 <element name="removeGroup" function="true" flags="34"/>
    5643                 <element name="changedProperty" type="integer" flags="35"/>
    5644                 <element name="changedPropertyId" type="string" flags="35"/>
     6222                <element name="_propertyClear" function="true" type="void" flags="34">
     6223                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6224<arguments/></element>
     6225                <element name="_propertyAdd" function="true" type="void" flags="34">
     6226                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6227                        <arguments>
     6228                                <argument name="id" type="string"/>
     6229                                <argument name="type description" type="string"/>
     6230                                <argument name="name" type="string"/>
     6231                                <argument name="flags" type="integer"/>
     6232                                <argument name="help text" type="string"/>
     6233                        </arguments>
     6234                </element>
     6235                <element name="_propertyRemove" function="true" type="void" flags="34">
     6236                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6237                        <arguments>
     6238                                <argument name="index" type="integer"/>
     6239                        </arguments>
     6240                </element>
     6241                <element name="_propertyChange" function="true" type="void" flags="34">
     6242                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6243                        <arguments>
     6244                                <argument name="id" type="string"/>
     6245                                <argument name="type description" type="string"/>
     6246                                <argument name="name" type="string"/>
     6247                                <argument name="flags" type="integer"/>
     6248                                <argument name="help text" type="string"/>
     6249                        </arguments>
     6250                </element>
     6251                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     6252                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6253                        <arguments>
     6254                                <argument name="name" type="string"/>
     6255                        </arguments>
     6256                </element>
     6257                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     6258                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6259                        <arguments>
     6260                                <argument name="index" type="integer"/>
     6261                        </arguments>
     6262                </element>
     6263                <element name="_propertyExists" function="true" type="integer" flags="34">
     6264                        <arguments>
     6265                                <argument name="name" type="string"/>
     6266                        </arguments>
     6267                </element>
     6268                <element name="_property_changed_index" type="integer" flags="35"/>
     6269                <element name="_property_changed_id" type="string" flags="35"/>
    56456270        </type>
    56466271        <type name="ExpState" context="Experiment definition">
    5647                 <element name="clear" function="true" flags="34"/>
    5648                 <element name="add" function="true" flags="34"/>
    5649                 <element name="remove" function="true" flags="34"/>
    5650                 <element name="addGroup" function="true" flags="34"/>
    5651                 <element name="removeGroup" function="true" flags="34"/>
    5652                 <element name="changedProperty" type="integer" flags="35"/>
    5653                 <element name="changedPropertyId" type="string" flags="35"/>
     6272                <element name="_propertyClear" function="true" type="void" flags="34">
     6273                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6274<arguments/></element>
     6275                <element name="_propertyAdd" function="true" type="void" flags="34">
     6276                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6277                        <arguments>
     6278                                <argument name="id" type="string"/>
     6279                                <argument name="type description" type="string"/>
     6280                                <argument name="name" type="string"/>
     6281                                <argument name="flags" type="integer"/>
     6282                                <argument name="help text" type="string"/>
     6283                        </arguments>
     6284                </element>
     6285                <element name="_propertyRemove" function="true" type="void" flags="34">
     6286                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6287                        <arguments>
     6288                                <argument name="index" type="integer"/>
     6289                        </arguments>
     6290                </element>
     6291                <element name="_propertyChange" function="true" type="void" flags="34">
     6292                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6293                        <arguments>
     6294                                <argument name="id" type="string"/>
     6295                                <argument name="type description" type="string"/>
     6296                                <argument name="name" type="string"/>
     6297                                <argument name="flags" type="integer"/>
     6298                                <argument name="help text" type="string"/>
     6299                        </arguments>
     6300                </element>
     6301                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     6302                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6303                        <arguments>
     6304                                <argument name="name" type="string"/>
     6305                        </arguments>
     6306                </element>
     6307                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     6308                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     6309                        <arguments>
     6310                                <argument name="index" type="integer"/>
     6311                        </arguments>
     6312                </element>
     6313                <element name="_propertyExists" function="true" type="integer" flags="34">
     6314                        <arguments>
     6315                                <argument name="name" type="string"/>
     6316                        </arguments>
     6317                </element>
     6318                <element name="_property_changed_index" type="integer" flags="35"/>
     6319                <element name="_property_changed_id" type="string" flags="35"/>
    56546320        </type>
    56556321        <type name="n" context="Neuron definitions">
     
    59506616                </element>
    59516617                <element name="energy" type="float"/>
    5952                 <element name="perf" type="integer" min="0" max="2">
    5953                         <description><![CDATA[Initial value of this property is taken from Population.enableperf]]></description>
    5954                 </element>
    5955                 <element name="nnenabled" type="integer" min="0" max="1"/>
    5956                 <element name="bodysim" type="integer" min="0" max="1" default="1">
    5957                         <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.
     6618                <element name="perf" type="integer" min="0" max="2" deprecated="true" flags="8226">
     6619                        <description><![CDATA[Replaced by perf_measuring]]></description>
     6620                </element>
     6621                <element name="perf_measuring" type="integer" min="0" max="2">
     6622                        <description><![CDATA[The initial value of this property is taken from Population.initial_perf_measuring]]></description>
     6623                </element>
     6624                <element name="nnenabled" type="integer" min="0" max="2" deprecated="true" flags="8226">
     6625                        <description><![CDATA[Replaced by nn_active]]></description>
     6626                </element>
     6627                <element name="nn_active" type="integer" min="0" max="2">
     6628                        <description><![CDATA[The initial value of this property is taken from Population.nn_active]]></description>
     6629                </element>
     6630                <element name="bodysim" type="integer" min="0" max="1" default="1" deprecated="true" flags="8226">
     6631                        <description><![CDATA[Replaced by physics_active]]></description>
     6632                </element>
     6633                <element name="physics_active" type="integer" min="0" max="1" default="1">
     6634                        <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. The initial value of this property is taken from Population.initial_physics_active.
    59586635
    59596636Bugs: 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>
    59606637                </element>
    5961                 <element name="selfcol" type="integer" min="0" max="1">
    5962                         <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>
    5963                 </element>
    5964                 <element name="selfcolstate" function="true" type="integer" flags="32">
    5965                         <description><![CDATA[Current self-collision state. In old versions this was a field, not a function.]]></description>
     6638                <element name="selfcol" type="integer" min="0" max="1" deprecated="true" flags="8226">
     6639                        <description><![CDATA[Replaced by self_collisions]]></description>
     6640                </element>
     6641                <element name="self_collisions" type="integer" min="0" max="1">
     6642                        <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.  The initial value of this property is taken from Population.initial_self_collisions.]]></description>
     6643                </element>
     6644                <element name="selfcolstate" function="true" type="integer" deprecated="true" flags="8224">
     6645                        <description><![CDATA[Replaced by selfCollisionsCount()]]></description>
     6646<arguments/></element>
     6647                <element name="selfCollisionsCount" function="true" type="integer" flags="32">
     6648                        <description><![CDATA[Returns the number of self-collisions detected in the creature.]]></description>
    59666649<arguments/></element>
    59676650                <element name="lifespan" type="integer">
     
    65657248        </type>
    65667249        <type name="VisProperties" context="Visual style definition">
    6567                 <element name="clear" function="true" flags="34"/>
    6568                 <element name="add" function="true" flags="34"/>
    6569                 <element name="remove" function="true" flags="34"/>
    6570                 <element name="addGroup" function="true" flags="34"/>
    6571                 <element name="removeGroup" function="true" flags="34"/>
    6572                 <element name="changedProperty" type="integer" flags="35"/>
    6573                 <element name="changedPropertyId" type="string" flags="35"/>
     7250                <element name="_propertyClear" function="true" type="void" flags="34">
     7251                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7252<arguments/></element>
     7253                <element name="_propertyAdd" function="true" type="void" flags="34">
     7254                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7255                        <arguments>
     7256                                <argument name="id" type="string"/>
     7257                                <argument name="type description" type="string"/>
     7258                                <argument name="name" type="string"/>
     7259                                <argument name="flags" type="integer"/>
     7260                                <argument name="help text" type="string"/>
     7261                        </arguments>
     7262                </element>
     7263                <element name="_propertyRemove" function="true" type="void" flags="34">
     7264                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7265                        <arguments>
     7266                                <argument name="index" type="integer"/>
     7267                        </arguments>
     7268                </element>
     7269                <element name="_propertyChange" function="true" type="void" flags="34">
     7270                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7271                        <arguments>
     7272                                <argument name="id" type="string"/>
     7273                                <argument name="type description" type="string"/>
     7274                                <argument name="name" type="string"/>
     7275                                <argument name="flags" type="integer"/>
     7276                                <argument name="help text" type="string"/>
     7277                        </arguments>
     7278                </element>
     7279                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     7280                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7281                        <arguments>
     7282                                <argument name="name" type="string"/>
     7283                        </arguments>
     7284                </element>
     7285                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     7286                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7287                        <arguments>
     7288                                <argument name="index" type="integer"/>
     7289                        </arguments>
     7290                </element>
     7291                <element name="_propertyExists" function="true" type="integer" flags="34">
     7292                        <arguments>
     7293                                <argument name="name" type="string"/>
     7294                        </arguments>
     7295                </element>
     7296                <element name="_property_changed_index" type="integer" flags="35"/>
     7297                <element name="_property_changed_id" type="string" flags="35"/>
    65747298                <element name="worldpan" type="integer" min="0" max="3" default="2" flags="192">
    65757299                        <description><![CDATA[]]></description>
     
    66447368                <element name="dust" type="integer" min="0" max="1" default="1"/>
    66457369                <element name="energy" type="integer" min="0" max="1" default="1"/>
    6646                 <element name="clear" function="true" flags="34"/>
    6647                 <element name="add" function="true" flags="34"/>
    6648                 <element name="remove" function="true" flags="34"/>
    6649                 <element name="addGroup" function="true" flags="34"/>
    6650                 <element name="removeGroup" function="true" flags="34"/>
    6651                 <element name="changedProperty" type="integer" flags="35"/>
    6652                 <element name="changedPropertyId" type="string" flags="35"/>
     7370                <element name="_propertyClear" function="true" type="void" flags="34">
     7371                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7372<arguments/></element>
     7373                <element name="_propertyAdd" function="true" type="void" flags="34">
     7374                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7375                        <arguments>
     7376                                <argument name="id" type="string"/>
     7377                                <argument name="type description" type="string"/>
     7378                                <argument name="name" type="string"/>
     7379                                <argument name="flags" type="integer"/>
     7380                                <argument name="help text" type="string"/>
     7381                        </arguments>
     7382                </element>
     7383                <element name="_propertyRemove" function="true" type="void" flags="34">
     7384                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7385                        <arguments>
     7386                                <argument name="index" type="integer"/>
     7387                        </arguments>
     7388                </element>
     7389                <element name="_propertyChange" function="true" type="void" flags="34">
     7390                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7391                        <arguments>
     7392                                <argument name="id" type="string"/>
     7393                                <argument name="type description" type="string"/>
     7394                                <argument name="name" type="string"/>
     7395                                <argument name="flags" type="integer"/>
     7396                                <argument name="help text" type="string"/>
     7397                        </arguments>
     7398                </element>
     7399                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     7400                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7401                        <arguments>
     7402                                <argument name="name" type="string"/>
     7403                        </arguments>
     7404                </element>
     7405                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     7406                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     7407                        <arguments>
     7408                                <argument name="index" type="integer"/>
     7409                        </arguments>
     7410                </element>
     7411                <element name="_propertyExists" function="true" type="integer" flags="34">
     7412                        <arguments>
     7413                                <argument name="name" type="string"/>
     7414                        </arguments>
     7415                </element>
     7416                <element name="_property_changed_index" type="integer" flags="35"/>
     7417                <element name="_property_changed_id" type="string" flags="35"/>
    66537418                <element name="worldpan" type="integer" min="0" max="3" default="2" flags="192">
    66547419                        <description><![CDATA[]]></description>
     
    70937858                        </arguments>
    70947859                </element>
    7095                 <element name="newFrame" function="true" type="GUIElement">
    7096                         <arguments>
    7097                                 <argument name="name" type="string"/>
    7098                         </arguments>
    7099                 </element>
    71007860                <element name="newModel" function="true" type="GUIElement">
    71017861                        <arguments>
     
    71557915                        </arguments>
    71567916                </element>
     7917                <element name="newBlocker" function="true" type="GUIElement">
     7918                        <arguments>
     7919                                <argument name="name" type="string"/>
     7920                        </arguments>
     7921                </element>
    71577922                <element name="get" function="true" type="GUIElement">
     7923                        <description><![CDATA[Returns null if there is no such element]]></description>
    71587924                        <arguments>
    71597925                                <argument name="name" type="string"/>
     
    72057971                <element name="KEY_RIGHT" type="integer" flags="1"/>
    72067972                <element name="SHARING_HTML" type="string" flags="1"/>
     7973                <element name="sharingButtonClicked" function="true" type="void">
     7974                        <arguments>
     7975                                <argument name="code" type="integer"/>
     7976                        </arguments>
     7977                </element>
    72077978                <element name="top_left" type="Element" flags="1"/>
    72087979                <element name="top_center" type="Element" flags="1"/>
     
    72117982                <element name="bottom_center" type="Element" flags="1"/>
    72127983                <element name="bottom_right" type="Element" flags="1"/>
     7984                <element name="rect" type="Rectangle" flags="1">
     7985                        <description><![CDATA[Available GUI area (excluding margins when applicable). List layout function receives its current list item area as GUI.rect]]></description>
     7986                </element>
    72137987        </type>
    72147988        <type name="GUIElement" context="Framsticks Theater">
     
    72177991                <element name="text" type="string"/>
    72187992                <element name="image" type="untyped"/>
     7993                <element name="tex_margin" type="float"/>
     7994                <element name="border_margin" type="float"/>
    72197995                <element name="bgcolor" type="integer"/>
    72207996                <element name="fgcolor" type="integer"/>
     
    72308006                <element name="height" type="float"/>
    72318007                <element name="tooltip" type="string"/>
    7232                 <element name="rowheight" type="float"/>
     8008                <element name="row_height" type="float"/>
    72338009                <element name="addItem" function="true" type="integer">
    72348010                        <arguments>
    7235                                 <argument name="label" type="string"/>
    7236                                 <argument name="image" type="string"/>
     8011                                <argument name="data" type="untyped"/>
    72378012                        </arguments>
    72388013                </element>
     
    72408015                        <arguments>
    72418016                                <argument name="position" type="integer"/>
    7242                                 <argument name="label" type="string"/>
    7243                                 <argument name="image" type="string"/>
    7244                         </arguments>
    7245                 </element>
    7246                 <element name="getItemLabel" function="true" type="string">
     8017                                <argument name="data" type="untyped"/>
     8018                        </arguments>
     8019                </element>
     8020                <element name="getItem" function="true" type="untyped">
    72478021                        <arguments>
    72488022                                <argument name="index" type="integer"/>
    72498023                        </arguments>
    72508024                </element>
    7251                 <element name="getItemImage" function="true" type="string">
     8025                <element name="setItem" function="true" type="void">
    72528026                        <arguments>
    72538027                                <argument name="index" type="integer"/>
    7254                         </arguments>
    7255                 </element>
    7256                 <element name="setItemLabel" function="true" type="void">
    7257                         <arguments>
    7258                                 <argument name="index" type="integer"/>
    7259                                 <argument name="label" type="string"/>
    7260                         </arguments>
    7261                 </element>
    7262                 <element name="setItemImage" function="true" type="void">
    7263                         <arguments>
    7264                                 <argument name="index" type="integer"/>
    7265                                 <argument name="image" type="string"/>
     8028                                <argument name="data" type="untyped"/>
    72668029                        </arguments>
    72678030                </element>
     
    72788041                </element>
    72798042                <element name="removeAllItems" function="true" type="void"><arguments/></element>
    7280                 <element name="itemcount" type="integer" flags="1"/>
     8043                <element name="items" type="untyped">
     8044                        <description><![CDATA[List items can be defined by a Vector object or callback function (returning item for index). Item can be any object. Built-in display function supports string and Vector items.
     8045Example:
     8046GUI->list.addItem("string item");
     8047GUI->list.addItem(["item text","picture"]);]]></description>
     8048                </element>
     8049                <element name="item_count" type="integer">
     8050                        <description><![CDATA[Number of items is readonly for Vector lists (reflects the current Vector size). The number of items in the Callback list must be set explicitly.
     8051Example:
     8052GUI->list.items=function listfun; GUI->list.item_count=1000;
     8053function listfun(i) {return "Item #"+i;}]]></description>
     8054                </element>
     8055                <element name="item_display" type="untyped">
     8056                        <description><![CDATA[Called when the list item is constructed or updated. Use GUI.newXXX() to add the desired GUI elements for the item. List items are reused, check if the element already exists before adding.
     8057Example:
     8058function myDisplay(list_element,list_index)
     8059{
     8060if (!GUI->mylabel) GUI.newLabel("mylabel",);
     8061GUI->mylabel.text=list_element.getItem(list_index);
     8062}]]></description>
     8063                </element>
     8064                <element name="item_layout" type="untyped">
     8065                        <description><![CDATA[Called when the list item is resized (this happens after item_display). Place your elements inside the area defined by GUI.rect
     8066Example:
     8067function myLayout(list_element,list_index)
     8068{
     8069GUI->mylabel.rect=GUI.rect;
     8070}]]></description>
     8071                </element>
    72818072                <element name="rect" type="Rectangle"/>
    7282                 <element name="absoluteRect" type="Rectangle"/>
     8073                <element name="absolute_rect" type="Rectangle"/>
    72838074                <element name="setRect" function="true" type="void">
    72848075                        <arguments>
     
    72958086                        </arguments>
    72968087                </element>
     8088                <element name="transform" type="Transform"/>
    72978089                <element name="setAutolayout" function="true" type="void">
    72988090                        <description><![CDATA[rel_* values refer to the parent element's dimensions]]></description>
     
    73088100                        </arguments>
    73098101                </element>
    7310                 <element name="minimalRect" type="Rectangle" flags="1"/>
     8102                <element name="minimal_rect" type="Rectangle" flags="1"/>
    73118103                <element name="font" type="integer" min="0" max="5"/>
    73128104                <element name="selected" type="integer"/>
    73138105                <element name="data" type="untyped"/>
    7314                 <element name="mode" type="integer"/>
    7315                 <element name="enabled" type="integer"/>
     8106                <element name="mode" type="integer">
     8107                        <description><![CDATA[Drawing: 0..6 = GL modes (GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_POINTS)
     8108Image: 0=Normal, 1=Border, 2=EmptyBorder, 3=HorizBorder, 4=VertBorder, 5=Tile
     8109Textview: 0=plain text, 1=HTML, 2=plain text displaying cursor even when readonly
     8110Model: (bitfield) 1=display grid, 2=display neural network]]></description>
     8111                </element>
     8112                <element name="enabled" type="integer">
     8113                        <description><![CDATA[For most elements: 0=readonly, 1=interaction/editing enabled]]></description>
     8114                </element>
    73168115                <element name="autorepeat" type="integer" min="0" max="1"/>
    7317                 <element name="style" type="integer"/>
     8116                <element name="style" type="integer">
     8117                        <description><![CDATA[Button: 0=regular, 1=borderless
     8118List: 0=regular, 1=invisible selection
     8119Textfield: 0=dark border, 1=bright border]]></description>
     8120                </element>
    73188121                <element name="feedback" type="integer"/>
    73198122                <element name="userdata" type="untyped"/>
     
    73848187                <element name="color" type="string" flags="256"/>
    73858188                <element name="lighting" type="integer" min="0" max="1" flags="256"/>
     8189                <element name="alphatest" type="float" min="0" max="1" flags="256"/>
    73868190                <element name="shine" type="integer" flags="256"/>
    73878191                <element name="texture" type="string" flags="256"/>
     
    75578361                </element>
    75588362                <element name="about" function="true" flags="34"/>
    7559                 <element name="regname" type="string" flags="35"/>
    75608363                <element name="prev_show" type="string" flags="35"/>
    7561                 <element name="mode" type="integer" min="0" max="2" flags="35"/>
    75628364                <element name="switchmode" type="integer" min="0" max="3" flags="32"/>
    75638365                <element name="switchtime" type="integer" min="0" max="9999" flags="32">
     
    75768378                        <description><![CDATA[Filename to be opened in onAppOpenFile()]]></description>
    75778379                </element>
    7578                 <element name="clear" function="true" flags="34"/>
    7579                 <element name="add" function="true" flags="34"/>
    7580                 <element name="remove" function="true" flags="34"/>
    7581                 <element name="addGroup" function="true" flags="34"/>
    7582                 <element name="removeGroup" function="true" flags="34"/>
    7583                 <element name="changedProperty" type="integer" flags="35"/>
    7584                 <element name="changedPropertyId" type="string" flags="35"/>
     8380                <element name="_propertyClear" function="true" type="void" flags="34">
     8381                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8382<arguments/></element>
     8383                <element name="_propertyAdd" function="true" type="void" flags="34">
     8384                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8385                        <arguments>
     8386                                <argument name="id" type="string"/>
     8387                                <argument name="type description" type="string"/>
     8388                                <argument name="name" type="string"/>
     8389                                <argument name="flags" type="integer"/>
     8390                                <argument name="help text" type="string"/>
     8391                        </arguments>
     8392                </element>
     8393                <element name="_propertyRemove" function="true" type="void" flags="34">
     8394                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8395                        <arguments>
     8396                                <argument name="index" type="integer"/>
     8397                        </arguments>
     8398                </element>
     8399                <element name="_propertyChange" function="true" type="void" flags="34">
     8400                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8401                        <arguments>
     8402                                <argument name="id" type="string"/>
     8403                                <argument name="type description" type="string"/>
     8404                                <argument name="name" type="string"/>
     8405                                <argument name="flags" type="integer"/>
     8406                                <argument name="help text" type="string"/>
     8407                        </arguments>
     8408                </element>
     8409                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     8410                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8411                        <arguments>
     8412                                <argument name="name" type="string"/>
     8413                        </arguments>
     8414                </element>
     8415                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     8416                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8417                        <arguments>
     8418                                <argument name="index" type="integer"/>
     8419                        </arguments>
     8420                </element>
     8421                <element name="_propertyExists" function="true" type="integer" flags="34">
     8422                        <arguments>
     8423                                <argument name="name" type="string"/>
     8424                        </arguments>
     8425                </element>
     8426                <element name="_property_changed_index" type="integer" flags="35"/>
     8427                <element name="_property_changed_id" type="string" flags="35"/>
    75858428        </type>
    75868429        <type name="ShowProperties" context="Framsticks Theater">
    7587                 <element name="clear" function="true" flags="34"/>
    7588                 <element name="add" function="true" flags="34"/>
    7589                 <element name="remove" function="true" flags="34"/>
    7590                 <element name="addGroup" function="true" flags="34"/>
    7591                 <element name="removeGroup" function="true" flags="34"/>
    7592                 <element name="changedProperty" type="integer" flags="35"/>
    7593                 <element name="changedPropertyId" type="string" flags="35"/>
     8430                <element name="_propertyClear" function="true" type="void" flags="34">
     8431                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8432<arguments/></element>
     8433                <element name="_propertyAdd" function="true" type="void" flags="34">
     8434                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8435                        <arguments>
     8436                                <argument name="id" type="string"/>
     8437                                <argument name="type description" type="string"/>
     8438                                <argument name="name" type="string"/>
     8439                                <argument name="flags" type="integer"/>
     8440                                <argument name="help text" type="string"/>
     8441                        </arguments>
     8442                </element>
     8443                <element name="_propertyRemove" function="true" type="void" flags="34">
     8444                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8445                        <arguments>
     8446                                <argument name="index" type="integer"/>
     8447                        </arguments>
     8448                </element>
     8449                <element name="_propertyChange" function="true" type="void" flags="34">
     8450                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8451                        <arguments>
     8452                                <argument name="id" type="string"/>
     8453                                <argument name="type description" type="string"/>
     8454                                <argument name="name" type="string"/>
     8455                                <argument name="flags" type="integer"/>
     8456                                <argument name="help text" type="string"/>
     8457                        </arguments>
     8458                </element>
     8459                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     8460                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8461                        <arguments>
     8462                                <argument name="name" type="string"/>
     8463                        </arguments>
     8464                </element>
     8465                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     8466                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8467                        <arguments>
     8468                                <argument name="index" type="integer"/>
     8469                        </arguments>
     8470                </element>
     8471                <element name="_propertyExists" function="true" type="integer" flags="34">
     8472                        <arguments>
     8473                                <argument name="name" type="string"/>
     8474                        </arguments>
     8475                </element>
     8476                <element name="_property_changed_index" type="integer" flags="35"/>
     8477                <element name="_property_changed_id" type="string" flags="35"/>
    75948478        </type>
    75958479        <type name="SimStatsCharts" context="Framsticks Theater">
     
    76778561                <element name="dust" type="integer" min="0" max="1" default="1"/>
    76788562                <element name="energy" type="integer" min="0" max="1" default="1"/>
    7679                 <element name="clear" function="true" flags="34"/>
    7680                 <element name="add" function="true" flags="34"/>
    7681                 <element name="remove" function="true" flags="34"/>
    7682                 <element name="addGroup" function="true" flags="34"/>
    7683                 <element name="removeGroup" function="true" flags="34"/>
    7684                 <element name="changedProperty" type="integer" flags="35"/>
    7685                 <element name="changedPropertyId" type="string" flags="35"/>
     8563                <element name="_propertyClear" function="true" type="void" flags="34">
     8564                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8565<arguments/></element>
     8566                <element name="_propertyAdd" function="true" type="void" flags="34">
     8567                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8568                        <arguments>
     8569                                <argument name="id" type="string"/>
     8570                                <argument name="type description" type="string"/>
     8571                                <argument name="name" type="string"/>
     8572                                <argument name="flags" type="integer"/>
     8573                                <argument name="help text" type="string"/>
     8574                        </arguments>
     8575                </element>
     8576                <element name="_propertyRemove" function="true" type="void" flags="34">
     8577                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8578                        <arguments>
     8579                                <argument name="index" type="integer"/>
     8580                        </arguments>
     8581                </element>
     8582                <element name="_propertyChange" function="true" type="void" flags="34">
     8583                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8584                        <arguments>
     8585                                <argument name="id" type="string"/>
     8586                                <argument name="type description" type="string"/>
     8587                                <argument name="name" type="string"/>
     8588                                <argument name="flags" type="integer"/>
     8589                                <argument name="help text" type="string"/>
     8590                        </arguments>
     8591                </element>
     8592                <element name="_propertyAddGroup" function="true" type="void" flags="34">
     8593                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8594                        <arguments>
     8595                                <argument name="name" type="string"/>
     8596                        </arguments>
     8597                </element>
     8598                <element name="_propertyRemoveGroup" function="true" type="void" flags="34">
     8599                        <description><![CDATA[Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.]]></description>
     8600                        <arguments>
     8601                                <argument name="index" type="integer"/>
     8602                        </arguments>
     8603                </element>
     8604                <element name="_propertyExists" function="true" type="integer" flags="34">
     8605                        <arguments>
     8606                                <argument name="name" type="string"/>
     8607                        </arguments>
     8608                </element>
     8609                <element name="_property_changed_index" type="integer" flags="35"/>
     8610                <element name="_property_changed_id" type="string" flags="35"/>
    76868611                <element name="worldpan" type="integer" min="0" max="3" default="2" flags="192">
    76878612                        <description><![CDATA[]]></description>
Note: See TracChangeset for help on using the changeset viewer.