Changeset 906
- Timestamp:
- 01/09/20 04:21:58 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/Framclipse/com.framsticks.framclipse/res/framscript.xml
r769 r906 54 54 </element> 55 55 <element name="about" function="true" flags="34"/> 56 <element name="regname" type="string" flags="35"/>57 56 <element name="prev_show" type="string" flags="35"/> 58 <element name="mode" type="integer" min="0" max="2" flags="35"/>59 57 <element name="switchmode" type="integer" min="0" max="3" flags="32"/> 60 58 <element name="switchtime" type="integer" min="0" max="9999" flags="32"> … … 141 139 </element> 142 140 <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. 149 158 150 159 Bugs: the standard collision handler does not work for disabled objects when ODE simulation is used. It means that these objects won't physically interact with other objects. The custom (scripting) handlers work as expected.]]></description> 151 160 </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> 157 172 <arguments/></element> 158 173 <element name="lifespan" type="integer"> … … 524 539 </element> 525 540 <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. 532 549 533 550 Bugs: the standard collision handler does not work for disabled objects when ODE simulation is used. It means that these objects won't physically interact with other objects. The custom (scripting) handlers work as expected.]]></description> 534 551 </element> 535 <element name="self col" 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> 537 554 </element> 538 555 <element name="lifespan" type="integer"> … … 594 611 d={ "name":"John", "age":44 }; 595 612 Iterating: 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> 597 616 <element name="clear" function="true" type="void" flags="256"><arguments/></element> 598 617 <element name="size" type="integer" flags="257"/> … … 604 623 </element> 605 624 <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). 626 object.get(key) can be shortened to object[key].]]></description> 608 627 <arguments> 609 628 <argument name="key" type="untyped"/> … … 611 630 </element> 612 631 <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> 614 633 <arguments> 615 634 <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. 639 Example: 640 if (obj.hasKey("a")) 641 x = obj->a;]]></description> 642 <arguments> 643 <argument name="key" type="string"/> 616 644 </arguments> 617 645 </element> … … 647 675 </arguments> 648 676 </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> 649 681 </type> 650 682 <type name="EnergyParticles" context="Global context"> … … 763 795 </element> 764 796 <element name="createDirect" function="true" type="File" flags="32"> 797 <description><![CDATA[Returns null if the file can't be created]]></description> 765 798 <arguments> 766 799 <argument name="filename" type="string"/> … … 775 808 </element> 776 809 <element name="appendDirect" function="true" type="File " flags="32"> 810 <description><![CDATA[Returns null if the file can't be appended]]></description> 777 811 <arguments> 778 812 <argument name="filename" type="string"/> … … 784 818 <arguments/></element> 785 819 <element name="open" function="true" type="File " flags="32"> 820 <description><![CDATA[Returns null if the file can't be read]]></description> 786 821 <arguments> 787 822 <argument name="filename" type="string"/> … … 1176 1211 </arguments> 1177 1212 </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"/> 1185 1261 <element name="genoper_f0" type="integer" min="0" max="0" flags="65"> 1186 1262 <description><![CDATA[]]></description> … … 1198 1274 <description><![CDATA[]]></description> 1199 1275 </element> 1276 <element name="genoper_f8" type="integer" min="0" max="0" flags="65"> 1277 <description><![CDATA[]]></description> 1278 </element> 1200 1279 <element name="genoper_f9" type="integer" min="0" max="0" flags="65"> 1201 1280 <description><![CDATA[]]></description> … … 1205 1284 </element> 1206 1285 <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"> 1207 1295 <description><![CDATA[]]></description> 1208 1296 </element> … … 1634 1722 <element name="f4_mut_exmod" type="string" max="30"> 1635 1723 <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> 1637 1770 </element> 1638 1771 <element name="f9_mut" type="float" min="0" max="1" default="0.1"> … … 1649 1782 1.0 => each child is identical to one parent (no crossover).]]></description> 1650 1783 </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> 1651 1787 <element name="fn_mut_bound_low" type="string" default="[-10.0, -10.0]"> 1652 1788 <description><![CDATA[A vector of lower bounds (one real value for each variable)]]></description> … … 1657 1793 <element name="fn_mut_stddev" type="string" default="[0.1, 0.1]"> 1658 1794 <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> 1659 1900 </element> 1660 1901 </type> … … 2339 2580 http://www.framsticks.com/bib/Komosinski-et-al-2001 2340 2581 http://www.framsticks.com/bib/Komosinski-and-Kubiak-2011 2341 http://www.framsticks.com/bib/Komosinski-2016]]></description> 2582 http://www.framsticks.com/bib/Komosinski-2016 2583 https://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> 2342 2587 <element name="simil_parts" type="float" min="0" max="100" default="0.0"> 2343 2588 <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description> … … 2354 2599 <element name="simil_fixedZaxis" type="integer" min="0" max="1" default="0"> 2355 2600 <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> 2356 2604 </element> 2357 2605 <element name="evaluateDistance" function="true" type="float" flags="34"> … … 2936 3184 <description><![CDATA[World ERP (error reduction parameter)]]></description> 2937 3185 </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"> 2939 3187 <description><![CDATA[World CFM (constraint force mixing)]]></description> 2940 3188 </element> … … 3106 3354 <description><![CDATA[Do creatures die when no energy?]]></description> 3107 3355 </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"> 3109 3360 <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> 3110 3364 </element> 3111 3365 <element name="perfperiod" type="integer" min="0" max="1000000" default="100"> … … 3121 3375 <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> 3122 3376 </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"> 3124 3381 <description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description> 3125 3382 </element> … … 3162 3419 <description><![CDATA[See selfmask.]]></description> 3163 3420 </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> 3169 3432 </element> 3170 3433 <element name="em_stat" type="float" min="0" max="1" default="0.0"> … … 3605 3868 <description><![CDATA[Useful for synchronizing the user interface state.]]></description> 3606 3869 </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> 3607 3873 <element name="step" function="true" type="void" flags="32"><arguments/></element> 3608 3874 <element name="time" type="integer" deprecated="true" flags="8226"> … … 3669 3935 <description><![CDATA[Most recently reported by the experiment definition script.]]></description> 3670 3936 </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> 3671 3940 <element name="createrr" type="integer" min="0" max="2" default="1"/> 3672 3941 <element name="groupchk" type="integer" min="0" max="1" default="1"> … … 3677 3946 </element> 3678 3947 <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> 3682 3960 <element name="new" function="true" type="Simulator" flags="32"><arguments/></element> 3683 3961 <element name="slaves" type="SlaveSimulators" flags="35"/> … … 3703 3981 <description><![CDATA[Current application version as an integer.]]></description> 3704 3982 </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"/> 3712 4031 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 3713 4032 <element name="wrldsiz" type="float" min="10" max="10000" default="20.0"> … … 3783 4102 <description><![CDATA[World ERP (error reduction parameter)]]></description> 3784 4103 </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"> 3786 4105 <description><![CDATA[World CFM (constraint force mixing)]]></description> 3787 4106 </element> … … 3882 4201 <description><![CDATA[]]></description> 3883 4202 </element> 4203 <element name="genoper_f8" type="integer" min="0" max="0" flags="65"> 4204 <description><![CDATA[]]></description> 4205 </element> 3884 4206 <element name="genoper_f9" type="integer" min="0" max="0" flags="65"> 3885 4207 <description><![CDATA[]]></description> … … 3889 4211 </element> 3890 4212 <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"> 3891 4222 <description><![CDATA[]]></description> 3892 4223 </element> … … 4318 4649 <element name="f4_mut_exmod" type="string" max="30"> 4319 4650 <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> 4321 4697 </element> 4322 4698 <element name="f9_mut" type="float" min="0" max="1" default="0.1"> … … 4333 4709 1.0 => each child is identical to one parent (no crossover).]]></description> 4334 4710 </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> 4335 4714 <element name="fn_mut_bound_low" type="string" default="[-10.0, -10.0]"> 4336 4715 <description><![CDATA[A vector of lower bounds (one real value for each variable)]]></description> … … 4342 4721 <description><![CDATA[A vector of standard deviations (one real value for each variable)]]></description> 4343 4722 </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"/> 4365 4839 <element name="randinit" type="float" min="0" max="10" default="0.01"> 4366 4840 <description><![CDATA[Allowed range for initializing all neuron states with uniform distribution random numbers and zero mean. Set to 0 for deterministic initialization.]]></description> … … 4622 5096 time (t) float 0..6.28319 (default 0)]]></description> 4623 5097 </element> 5098 <element name="simil_method" type="integer" min="0" max="1" default="0"> 5099 <description><![CDATA[]]></description> 5100 </element> 4624 5101 <element name="simil_parts" type="float" min="0" max="100" default="0.0"> 4625 5102 <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description> … … 4636 5113 <element name="simil_fixedZaxis" type="integer" min="0" max="1" default="0"> 4637 5114 <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> 4638 5118 </element> 4639 5119 <element name="evaluateDistance" function="true" type="float" flags="34"> … … 4816 5296 <description><![CDATA[Useful for synchronizing the user interface state.]]></description> 4817 5297 </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> 4818 5301 <element name="step" function="true" type="void" flags="32"><arguments/></element> 4819 5302 <element name="time" type="integer" deprecated="true" flags="8226"> … … 4880 5363 <description><![CDATA[Most recently reported by the experiment definition script.]]></description> 4881 5364 </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> 4882 5368 <element name="createrr" type="integer" min="0" max="2" default="1"/> 4883 5369 <element name="groupchk" type="integer" min="0" max="1" default="1"> … … 4888 5374 </element> 4889 5375 <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> 4893 5388 <element name="new" function="true" type="Simulator" flags="32"><arguments/></element> 4894 5389 <element name="slaves" type="SlaveSimulators" flags="35"/> … … 5006 5501 <description><![CDATA[]]></description> 5007 5502 <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"/> 5015 5551 <element name="st_count" type="integer" flags="1"/> 5016 5552 <element name="st_min_numparts" type="float" flags="65"/> … … 5180 5716 </arguments> 5181 5717 </element> 5718 <element name="trim" function="true" type="string"> 5719 <arguments> 5720 <argument type="string"/> 5721 </arguments> 5722 </element> 5182 5723 <element name="startsWith" function="true" type="integer"> 5183 5724 <arguments> … … 5307 5848 <description><![CDATA[String prefix used in the Framsticks file format to indicate object fields that contain serialized objects.]]></description> 5308 5849 </element> 5850 <element name="ESC" type="string" flags="1"/> 5851 <element name="NBSP" type="string" flags="1"/> 5309 5852 </type> 5310 5853 <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"/> 5318 5902 </type> 5319 5903 <type name="Vector" context="Global context"> … … 5636 6220 </type> 5637 6221 <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"/> 5645 6270 </type> 5646 6271 <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"/> 5654 6320 </type> 5655 6321 <type name="n" context="Neuron definitions"> … … 5950 6616 </element> 5951 6617 <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. 5958 6635 5959 6636 Bugs: the standard collision handler does not work for disabled objects when ODE simulation is used. It means that these objects won't physically interact with other objects. The custom (scripting) handlers work as expected.]]></description> 5960 6637 </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> 5966 6649 <arguments/></element> 5967 6650 <element name="lifespan" type="integer"> … … 6565 7248 </type> 6566 7249 <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"/> 6574 7298 <element name="worldpan" type="integer" min="0" max="3" default="2" flags="192"> 6575 7299 <description><![CDATA[]]></description> … … 6644 7368 <element name="dust" type="integer" min="0" max="1" default="1"/> 6645 7369 <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"/> 6653 7418 <element name="worldpan" type="integer" min="0" max="3" default="2" flags="192"> 6654 7419 <description><![CDATA[]]></description> … … 7093 7858 </arguments> 7094 7859 </element> 7095 <element name="newFrame" function="true" type="GUIElement">7096 <arguments>7097 <argument name="name" type="string"/>7098 </arguments>7099 </element>7100 7860 <element name="newModel" function="true" type="GUIElement"> 7101 7861 <arguments> … … 7155 7915 </arguments> 7156 7916 </element> 7917 <element name="newBlocker" function="true" type="GUIElement"> 7918 <arguments> 7919 <argument name="name" type="string"/> 7920 </arguments> 7921 </element> 7157 7922 <element name="get" function="true" type="GUIElement"> 7923 <description><![CDATA[Returns null if there is no such element]]></description> 7158 7924 <arguments> 7159 7925 <argument name="name" type="string"/> … … 7205 7971 <element name="KEY_RIGHT" type="integer" flags="1"/> 7206 7972 <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> 7207 7978 <element name="top_left" type="Element" flags="1"/> 7208 7979 <element name="top_center" type="Element" flags="1"/> … … 7211 7982 <element name="bottom_center" type="Element" flags="1"/> 7212 7983 <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> 7213 7987 </type> 7214 7988 <type name="GUIElement" context="Framsticks Theater"> … … 7217 7991 <element name="text" type="string"/> 7218 7992 <element name="image" type="untyped"/> 7993 <element name="tex_margin" type="float"/> 7994 <element name="border_margin" type="float"/> 7219 7995 <element name="bgcolor" type="integer"/> 7220 7996 <element name="fgcolor" type="integer"/> … … 7230 8006 <element name="height" type="float"/> 7231 8007 <element name="tooltip" type="string"/> 7232 <element name="row height" type="float"/>8008 <element name="row_height" type="float"/> 7233 8009 <element name="addItem" function="true" type="integer"> 7234 8010 <arguments> 7235 <argument name="label" type="string"/> 7236 <argument name="image" type="string"/> 8011 <argument name="data" type="untyped"/> 7237 8012 </arguments> 7238 8013 </element> … … 7240 8015 <arguments> 7241 8016 <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"> 7247 8021 <arguments> 7248 8022 <argument name="index" type="integer"/> 7249 8023 </arguments> 7250 8024 </element> 7251 <element name=" getItemImage" function="true" type="string">8025 <element name="setItem" function="true" type="void"> 7252 8026 <arguments> 7253 8027 <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"/> 7266 8029 </arguments> 7267 8030 </element> … … 7278 8041 </element> 7279 8042 <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. 8045 Example: 8046 GUI->list.addItem("string item"); 8047 GUI->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. 8051 Example: 8052 GUI->list.items=function listfun; GUI->list.item_count=1000; 8053 function 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. 8057 Example: 8058 function myDisplay(list_element,list_index) 8059 { 8060 if (!GUI->mylabel) GUI.newLabel("mylabel",); 8061 GUI->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 8066 Example: 8067 function myLayout(list_element,list_index) 8068 { 8069 GUI->mylabel.rect=GUI.rect; 8070 }]]></description> 8071 </element> 7281 8072 <element name="rect" type="Rectangle"/> 7282 <element name="absolute Rect" type="Rectangle"/>8073 <element name="absolute_rect" type="Rectangle"/> 7283 8074 <element name="setRect" function="true" type="void"> 7284 8075 <arguments> … … 7295 8086 </arguments> 7296 8087 </element> 8088 <element name="transform" type="Transform"/> 7297 8089 <element name="setAutolayout" function="true" type="void"> 7298 8090 <description><![CDATA[rel_* values refer to the parent element's dimensions]]></description> … … 7308 8100 </arguments> 7309 8101 </element> 7310 <element name="minimal Rect" type="Rectangle" flags="1"/>8102 <element name="minimal_rect" type="Rectangle" flags="1"/> 7311 8103 <element name="font" type="integer" min="0" max="5"/> 7312 8104 <element name="selected" type="integer"/> 7313 8105 <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) 8108 Image: 0=Normal, 1=Border, 2=EmptyBorder, 3=HorizBorder, 4=VertBorder, 5=Tile 8109 Textview: 0=plain text, 1=HTML, 2=plain text displaying cursor even when readonly 8110 Model: (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> 7316 8115 <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 8118 List: 0=regular, 1=invisible selection 8119 Textfield: 0=dark border, 1=bright border]]></description> 8120 </element> 7318 8121 <element name="feedback" type="integer"/> 7319 8122 <element name="userdata" type="untyped"/> … … 7384 8187 <element name="color" type="string" flags="256"/> 7385 8188 <element name="lighting" type="integer" min="0" max="1" flags="256"/> 8189 <element name="alphatest" type="float" min="0" max="1" flags="256"/> 7386 8190 <element name="shine" type="integer" flags="256"/> 7387 8191 <element name="texture" type="string" flags="256"/> … … 7557 8361 </element> 7558 8362 <element name="about" function="true" flags="34"/> 7559 <element name="regname" type="string" flags="35"/>7560 8363 <element name="prev_show" type="string" flags="35"/> 7561 <element name="mode" type="integer" min="0" max="2" flags="35"/>7562 8364 <element name="switchmode" type="integer" min="0" max="3" flags="32"/> 7563 8365 <element name="switchtime" type="integer" min="0" max="9999" flags="32"> … … 7576 8378 <description><![CDATA[Filename to be opened in onAppOpenFile()]]></description> 7577 8379 </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"/> 7585 8428 </type> 7586 8429 <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"/> 7594 8478 </type> 7595 8479 <type name="SimStatsCharts" context="Framsticks Theater"> … … 7677 8561 <element name="dust" type="integer" min="0" max="1" default="1"/> 7678 8562 <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"/> 7686 8611 <element name="worldpan" type="integer" min="0" max="3" default="2" flags="192"> 7687 8612 <description><![CDATA[]]></description>
Note: See TracChangeset
for help on using the changeset viewer.