Changeset 663


Ignore:
Timestamp:
04/25/17 15:19:00 (8 years ago)
Author:
sz
Message:

Updated for the upcoming Framsticks v5.0rc9

File:
1 edited

Legend:

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

    r641 r663  
    3636                <element name="smooth" type="integer" min="0" max="1" default="1"/>
    3737                <element name="neurons" type="integer" min="0" max="1" default="1"/>
     38                <element name="dust" type="integer" min="0" max="1" default="1"/>
    3839        </type>
    3940        <type name="show" context="show file">
     
    340341                        </arguments>
    341342                </element>
     343                <element name="outdated_neuro_classes" type="untyped" flags="35">
     344                        <description><![CDATA[Names of the neuron classes that have been modified after this creature was built]]></description>
     345                </element>
    342346                <element name="selfmask" type="integer" min="0" max="2147483647" default="0" flags="32">
    343347                        <description><![CDATA[Creature's selfmask is set according to the Creature's Population.selfmask. See Population.selfmask for detailed information about collision handling.]]></description>
     
    467471                </element>
    468472                <element name="size" type="integer" flags="1"/>
    469                 <element name="clear" function="true" type="void" flags="1"><arguments/></element>
     473                <element name="clear" function="true" type="void"><arguments/></element>
    470474        </type>
    471475        <type name="CreatureSnapshot" context="Global context">
     
    850854                <element name="randomLikeGeno" function="true" type="Genotype" flags="34">
    851855                        <description><![CDATA[Returns a random genotype index similar to the target genotype. Unrated genotypes (with instances=0) are treated as if they had instances=1 and average fitness. Read about details:
    852 http://www.framsticks.com/node/795
    853 http://www.framsticks.com/node/890]]></description>
     856http://www.framsticks.com/bib/Komosinski-et-al-2001
     857http://www.framsticks.com/bib/Komosinski-and-Kubiak-2011
     858http://www.framsticks.com/bib/Komosinski-2016]]></description>
    854859                        <arguments>
    855860                                <argument name="minimum similarity" type="float"/>
     
    860865                        <description><![CDATA[Returns a random genotype similar to the target genotype, fitness-proportional. Unrated genotypes (with instances=0) are treated as if they had instances=1 and average fitness. Read about details:
    861866http://www.framsticks.com/node/795
    862 http://www.framsticks.com/node/890]]></description>
     867http://www.framsticks.com/bib/Komosinski-and-Kubiak-2011
     868http://www.framsticks.com/bib/Komosinski-2016]]></description>
    863869                        <arguments>
    864870                                <argument name="minimum similarity" type="float"/>
     
    16741680                <element name="simi" type="float" flags="3">
    16751681                        <description><![CDATA[Read about details:
    1676 http://www.framsticks.com/node/795
    1677 http://www.framsticks.com/node/890]]></description>
     1682http://www.framsticks.com/bib/Komosinski-et-al-2001
     1683http://www.framsticks.com/bib/Komosinski-and-Kubiak-2011
     1684http://www.framsticks.com/bib/Komosinski-2016]]></description>
    16781685                </element>
    16791686                <element name="energ0" type="float" deprecated="true" flags="8227"/>
     
    17251732-1 = validity is not known. This is a transient state. The value of "is_valid" will never be -1 when read. It is safe to treat is_valid as boolean in statements like "if (g.is_valid) ...". Setting "is_valid=-1" will make it 0 or 1 again. This third state (-1) is only needed for loading Genotype objects from files where the "is_valid" field might not be present.]]></description>
    17261733                </element>
    1727                 <element name="getNormalized" function="true" type="float" flags="35">
     1734                <element name="getNormalized" function="true" type="float" flags="32">
    17281735                        <arguments>
    17291736                                <argument name="property name or index" type="untyped"/>
     
    17361743                        <description><![CDATA[Unique identifier]]></description>
    17371744                </element>
    1738                 <element name="getModel" function="true" type="Model" flags="35"><arguments/></element>
     1745                <element name="getModel" function="true" type="Model" flags="32"><arguments/></element>
    17391746                <element name="splitInstances" function="true" type="void" flags="32"><arguments/></element>
    17401747                <element name="newFromString" function="true" type="Genotype" flags="32">
     
    19561963                <element name="pi2" type="float" flags="1"/>
    19571964                <element name="pi4" type="float" flags="1"/>
    1958                 <element name="random" function="true" type="integer" flags="1">
     1965                <element name="random" function="true" type="integer">
    19591966                        <description><![CDATA[0..num-1]]></description>
    19601967                        <arguments>
     
    19631970                </element>
    19641971                <element name="rnd01" type="float" flags="1"/>
    1965                 <element name="rndUni" function="true" type="float" flags="1">
     1972                <element name="rndUni" function="true" type="float">
    19661973                        <description><![CDATA[[begin..end)]]></description>
    19671974                        <arguments>
     
    19711978                </element>
    19721979                <element name="rndGaussStd" type="float" flags="1"/>
    1973                 <element name="rndGauss" function="true" type="float" flags="1">
     1980                <element name="rndGauss" function="true" type="float">
    19741981                        <description><![CDATA[rndGaussStd is rndGauss(0,1)]]></description>
    19751982                        <arguments>
     
    19781985                        </arguments>
    19791986                </element>
    1980                 <element name="rndCustom" function="true" type="float" flags="1">
     1987                <element name="rndCustom" function="true" type="float">
    19811988                        <description><![CDATA[the parameter describes the desired random distribution, being a sum of uniform distributions, eg. rndCustom([-10,-1, -1,1, 1,10]) defines 3 uniform distribution intervals [-1,10) [-1,1), [1,10)]]></description>
    19821989                        <arguments>
     
    21962203        <type name="ModelSimilarity" context="Global context">
    21972204<description><![CDATA[Evaluates morphological dissimilarity. More information:
    2198 http://www.framsticks.com/node/795
    2199 http://www.framsticks.com/node/890]]></description>
     2205http://www.framsticks.com/bib/Komosinski-et-al-2001
     2206http://www.framsticks.com/bib/Komosinski-and-Kubiak-2011
     2207http://www.framsticks.com/bib/Komosinski-2016]]></description>
    22002208                <element name="simil_parts" type="float" min="0" max="100" default="0.0">
    22012209                        <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description>
     
    22222230        </type>
    22232231        <type name="ModelSymmetry" context="Global context">
    2224 <description><![CDATA[Calculates bilateral symmetry. Details are described in http://www.framsticks.com/node/808]]></description>
     2232<description><![CDATA[Calculates bilateral symmetry. Details are described in http://www.framsticks.com/bib/Komosinski-and-Jaskowski-2008]]></description>
    22252233                <element name="calculateSymmetry" function="true" type="float" flags="32">
    22262234                        <description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using default precision parameters (symPosSteps,symAlphaSteps,symBetaSteps). Returns the symmetry plane, too (sets symResultA,B,C,D).
     
    24452453                <element name="Vstyle" type="string" max="-1" default="neuro"/>
    24462454                <element name="getInputCount" type="integer" flags="3"/>
    2447                 <element name="getInputNeuroDef" function="true" type="NeuroDef" flags="3">
     2455                <element name="getInputNeuroDef" function="true" type="NeuroDef">
    24482456                        <arguments>
    24492457                                <argument type="integer"/>
    24502458                        </arguments>
    24512459                </element>
    2452                 <element name="getInputNeuroIndex" function="true" type="integer" flags="3">
     2460                <element name="getInputNeuroIndex" function="true" type="integer">
    24532461                        <arguments>
    24542462                                <argument type="integer"/>
    24552463                        </arguments>
    24562464                </element>
    2457                 <element name="getInputWeight" function="true" type="float" flags="3">
     2465                <element name="getInputWeight" function="true" type="float">
    24582466                        <arguments>
    24592467                                <argument type="integer"/>
     
    27582766                </element>
    27592767                <element name="size" type="integer" flags="1"/>
    2760                 <element name="clear" function="true" type="void" flags="1"><arguments/></element>
     2768                <element name="clear" function="true" type="void"><arguments/></element>
    27612769        </type>
    27622770        <type name="ODE" context="Global context">
     
    32423250                        <description><![CDATA[How many frames are to be generated?]]></description>
    32433251                </element>
     3252                <element name="povex_dust" type="integer" min="0" max="1" default="1"/>
    32443253                <element name="povex_enable" function="true" flags="8"/>
    32453254                <element name="povex_disable" function="true" flags="8"/>
     
    35553564                <element name="changedPropertyId" type="string" flags="35"/>
    35563565                <element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
    3557                 <element name="wrldsiz" type="float" min="10" max="1000" default="20.0">
     3566                <element name="wrldsiz" type="float" min="10" max="10000" default="20.0">
    35583567                        <description><![CDATA[Side length of the world]]></description>
    35593568                </element>
     
    47184727        </type>
    47194728        <type name="SlaveSimulators" context="Global context">
     4729<description><![CDATA[This is a vector of slave Simulator objects. More details in:
     4730http://www.framsticks.com/bib/Komosinski-and-Ulatowski-2013r
     4731http://www.framsticks.com/bib/Komosinski-and-Ulatowski-2016]]></description>
    47204732                <element name="size" type="integer" min="0" max="50">
    47214733                        <description><![CDATA[Changing this value will create/remove slave simulator objects as needed.]]></description>
     
    51035115                        </arguments>
    51045116                </element>
     5117                <element name="SERIALIZATION_PREFIX" type="string" flags="1">
     5118                        <description><![CDATA[String prefix used in the Framsticks file format to indicate object fields that contain serialized objects.]]></description>
     5119                </element>
    51055120        </type>
    51065121        <type name="UserScripts" context="Global context">
     
    51455160                        </arguments>
    51465161                </element>
     5162                <element name="insert" function="true" type="void" flags="256">
     5163                        <arguments>
     5164                                <argument name="position" type="integer"/>
     5165                                <argument name="value" type="untyped"/>
     5166                        </arguments>
     5167                </element>
    51475168                <element name="add" function="true" type="void" flags="256">
    51485169                        <arguments>
     
    52085229<description><![CDATA[Environment properties.]]></description>
    52095230                <element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
    5210                 <element name="wrldsiz" type="float" min="10" max="1000" default="20.0">
     5231                <element name="wrldsiz" type="float" min="10" max="10000" default="20.0">
    52115232                        <description><![CDATA[Side length of the world]]></description>
    52125233                </element>
     
    53365357                </element>
    53375358                <element name="size" type="integer" flags="1"/>
    5338                 <element name="clear" function="true" type="void" flags="1"><arguments/></element>
     5359                <element name="clear" function="true" type="void"><arguments/></element>
    53395360        </type>
    53405361        <type name="XYZ" context="Global context">
     
    54425463                <element name="Vstyle" type="string" max="-1" default="neuro"/>
    54435464                <element name="getInputCount" type="integer" flags="3"/>
    5444                 <element name="getInputNeuroDef" function="true" type="NeuroDef" flags="3">
     5465                <element name="getInputNeuroDef" function="true" type="NeuroDef">
    54455466                        <arguments>
    54465467                                <argument type="integer"/>
    54475468                        </arguments>
    54485469                </element>
    5449                 <element name="getInputNeuroIndex" function="true" type="integer" flags="3">
     5470                <element name="getInputNeuroIndex" function="true" type="integer">
    54505471                        <arguments>
    54515472                                <argument type="integer"/>
    54525473                        </arguments>
    54535474                </element>
    5454                 <element name="getInputWeight" function="true" type="float" flags="3">
     5475                <element name="getInputWeight" function="true" type="float">
    54555476                        <arguments>
    54565477                                <argument type="integer"/>
     
    55895610                <element name="simi" type="float" flags="3">
    55905611                        <description><![CDATA[Read about details:
    5591 http://www.framsticks.com/node/795
    5592 http://www.framsticks.com/node/890]]></description>
     5612http://www.framsticks.com/bib/Komosinski-et-al-2001
     5613http://www.framsticks.com/bib/Komosinski-and-Kubiak-2011
     5614http://www.framsticks.com/bib/Komosinski-2016]]></description>
    55935615                </element>
    55945616                <element name="energ0" type="float" deprecated="true" flags="8227"/>
     
    56405662-1 = validity is not known. This is a transient state. The value of "is_valid" will never be -1 when read. It is safe to treat is_valid as boolean in statements like "if (g.is_valid) ...". Setting "is_valid=-1" will make it 0 or 1 again. This third state (-1) is only needed for loading Genotype objects from files where the "is_valid" field might not be present.]]></description>
    56415663                </element>
    5642                 <element name="getNormalized" function="true" type="float" flags="35">
     5664                <element name="getNormalized" function="true" type="float" flags="32">
    56435665                        <arguments>
    56445666                                <argument name="property name or index" type="untyped"/>
     
    56515673                        <description><![CDATA[Unique identifier]]></description>
    56525674                </element>
    5653                 <element name="getModel" function="true" type="Model" flags="35"><arguments/></element>
     5675                <element name="getModel" function="true" type="Model" flags="32"><arguments/></element>
    56545676                <element name="splitInstances" function="true" type="void" flags="32"><arguments/></element>
    56555677                <element name="newFromString" function="true" type="Genotype" flags="32">
     
    59265948                                <argument name="index" type="integer"/>
    59275949                        </arguments>
     5950                </element>
     5951                <element name="outdated_neuro_classes" type="untyped" flags="35">
     5952                        <description><![CDATA[Names of the neuron classes that have been modified after this creature was built]]></description>
    59285953                </element>
    59295954                <element name="selfmask" type="integer" min="0" max="2147483647" default="0" flags="32">
     
    62226247                <element name="Vstyle" type="string" max="-1" default="neuro"/>
    62236248                <element name="getInputCount" type="integer" flags="3"/>
    6224                 <element name="getInputNeuroDef" function="true" type="NeuroDef" flags="3">
     6249                <element name="getInputNeuroDef" function="true" type="NeuroDef">
    62256250                        <arguments>
    62266251                                <argument type="integer"/>
    62276252                        </arguments>
    62286253                </element>
    6229                 <element name="getInputNeuroIndex" function="true" type="integer" flags="3">
     6254                <element name="getInputNeuroIndex" function="true" type="integer">
    62306255                        <arguments>
    62316256                                <argument type="integer"/>
    62326257                        </arguments>
    62336258                </element>
    6234                 <element name="getInputWeight" function="true" type="float" flags="3">
     6259                <element name="getInputWeight" function="true" type="float">
    62356260                        <arguments>
    62366261                                <argument type="integer"/>
     
    62666291        </type>
    62676292        <type name="Scene" context="Visual style definition">
    6268 <description><![CDATA[Additional properties to be used in the current view, currently only the background settings]]></description>
    6269                 <element name="backcolor" type="integer"/>
     6293<description><![CDATA[Additional properties to be used in the current view]]></description>
     6294                <element name="backcolor" type="integer" min="0" max="16777215" default="16777215"/>
    62706295                <element name="worldtexture" type="string"/>
     6296                <element name="dustcolor" type="integer" min="0" max="16777215" default="15126952"/>
    62716297        </type>
    62726298        <type name="VertexBuilder" context="Visual style definition">
     
    63506376                        <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies).
    63516377Use scripting and the ModelSymmetry class to compute symmetry accurately.
    6352 Details of the symmetry estimation procedure are described in http://www.framsticks.com/node/808]]></description>
     6378Details of the symmetry estimation procedure are described in http://www.framsticks.com/bib/Komosinski-and-Jaskowski-2008]]></description>
    63536379                </element>
    63546380        </type>
     
    63876413                <element name="smooth" type="integer" min="0" max="1" default="1"/>
    63886414                <element name="neurons" type="integer" min="0" max="1" default="1"/>
     6415                <element name="dust" type="integer" min="0" max="1" default="1"/>
    63896416                <element name="clear" function="true" flags="34"/>
    63906417                <element name="add" function="true" flags="34"/>
     
    64276454                        <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies).
    64286455Use scripting and the ModelSymmetry class to compute symmetry accurately.
    6429 Details of the symmetry estimation procedure are described in http://www.framsticks.com/node/808]]></description>
     6456Details of the symmetry estimation procedure are described in http://www.framsticks.com/bib/Komosinski-and-Jaskowski-2008]]></description>
    64306457                </element>
    64316458        </type>
     
    64336460<description><![CDATA[Environment properties.]]></description>
    64346461                <element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
    6435                 <element name="wrldsiz" type="float" min="10" max="1000" default="20.0">
     6462                <element name="wrldsiz" type="float" min="10" max="10000" default="20.0">
    64366463                        <description><![CDATA[Side length of the world]]></description>
    64376464                </element>
     
    67676794Bits 2-16 are not implemented in the old Framsticks Theater application.]]></description>
    67686795                </element>
    6769                 <element name="world_visibility" type="integer" min="0" max="7" default="7">
     6796                <element name="world_visibility" type="integer" min="0" max="15" default="15">
    67706797                        <description><![CDATA[Bit field:
    677167981 - background/panorama
    677267992 - environment
    677368004 - creatures
     68018 - dust (particles)
    67746802Not implemented in the old Framsticks Theater application.]]></description>
    67756803                </element>
     
    67886816Not implemented in the old Framsticks Theater application.]]></description>
    67896817                </element>
    6790                 <element name="bgcolor" type="integer">
     6818                <element name="bgcolor" type="integer" min="0" max="16777215" default="16777215">
     6819                        <description><![CDATA[Not implemented in the old Framsticks Theater application.]]></description>
     6820                </element>
     6821                <element name="dustcolor" type="integer" min="0" max="16777215" default="15126952">
    67916822                        <description><![CDATA[Not implemented in the old Framsticks Theater application.]]></description>
    67926823                </element>
     
    68766907                </element>
    68776908                <element name="newScroll" function="true" type="GUIElement">
     6909                        <arguments>
     6910                                <argument name="name" type="string"/>
     6911                        </arguments>
     6912                </element>
     6913                <element name="newSpinner" function="true" type="GUIElement">
    68786914                        <arguments>
    68796915                                <argument name="name" type="string"/>
     
    72567292                <element name="addScreenshot" function="true" type="void"><arguments/></element>
    72577293                <element name="removeImage" function="true" type="void"><arguments/></element>
     7294                <element name="supported" type="integer" min="0" max="1" flags="1"/>
    72587295                <element name="select" function="true" type="void">
    72597296                        <arguments>
     
    73967433                <element name="smooth" type="integer" min="0" max="1" default="1"/>
    73977434                <element name="neurons" type="integer" min="0" max="1" default="1"/>
     7435                <element name="dust" type="integer" min="0" max="1" default="1"/>
    73987436                <element name="clear" function="true" flags="34"/>
    73997437                <element name="add" function="true" flags="34"/>
     
    74367474                        <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies).
    74377475Use scripting and the ModelSymmetry class to compute symmetry accurately.
    7438 Details of the symmetry estimation procedure are described in http://www.framsticks.com/node/808]]></description>
     7476Details of the symmetry estimation procedure are described in http://www.framsticks.com/bib/Komosinski-and-Jaskowski-2008]]></description>
    74397477                </element>
    74407478        </type>
Note: See TracChangeset for help on using the changeset viewer.