Changeset 436 for java/FramclipsePlugin
- Timestamp:
- 10/18/15 17:51:44 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/FramclipsePlugin/src/main/resources/framscript.xml
r417 r436 90 90 </type> 91 91 <type name="CheckpointEvent" context="Global context"> 92 <description><![CDATA[ CheckpointEvent]]></description>92 <description><![CDATA[Used in onSlaveCheckpoint() which is called when a Slave Simulator checkpoint is reached.]]></description> 93 93 <element name="index" type="integer" flags="1"/> 94 94 <element name="slave" type="Simulator" flags="1"/> … … 510 510 <arguments/></element> 511 511 <element name="toString" type="string" flags="257"/> 512 <element name="clone" function="true" type="Dictionary" flags="256"> 513 <description><![CDATA[The resulting clone is a shallow copy (contains the same object references as the original). A deep copy can be obtained through serialization: String.deserialize(String.serialize(object));]]></description> 514 <arguments/></element> 512 515 </type> 513 516 <type name="File" context="Global context"> … … 620 623 </element> 621 624 <element name="close" function="true" type="string" flags="32"> 622 <description><![CDATA[ returns file contents if it has been buffered]]></description>625 <description><![CDATA[Returns file contents if it has been buffered.]]></description> 623 626 <arguments/></element> 624 627 <element name="exists" function="true" type="integer" min="0" max="1" flags="32"> 625 628 <description><![CDATA[Sample: 626 File.exists(" default.sim") -> return 0 or 1]]></description>629 File.exists("walking.gen") -> returns 0 or 1.]]></description> 627 630 <arguments/></element> 628 631 <element name="pathseparator" type="string" flags="33"/> … … 1507 1510 <description><![CDATA[Genes as a string of characters]]></description> 1508 1511 </element> 1509 <element name="isValid" type="integer" min="0" max="1" deprecated="true" flags="8449"/> 1510 <element name="is_valid" type="integer" min="-1" max="1" default="-1" flags="256"/> 1512 <element name="isValid" type="integer" min="0" max="1" deprecated="true" flags="8449"> 1513 <description><![CDATA[Use 'is_valid' instead of 'isValid'.]]></description> 1514 </element> 1515 <element name="is_valid" type="integer" min="-1" max="1" default="-1" flags="256"> 1516 <description><![CDATA[0 = invalid genotype 1517 1 = valid genotype 1518 -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> 1519 </element> 1511 1520 <element name="getConverted" function="true" type="Geno" flags="256"> 1512 1521 <arguments> … … 1593 1602 <element name="user3" type="untyped"/> 1594 1603 <element name="mutate" function="true" type="void"><arguments/></element> 1595 <element name="isValid" type="integer" min="0" max="1" deprecated="true" flags="8227"/> 1596 <element name="is_valid" type="integer" min="-1" max="1" default="-1" flags="32"/> 1604 <element name="isValid" type="integer" min="0" max="1" deprecated="true" flags="8227"> 1605 <description><![CDATA[Use 'is_valid' instead of 'isValid'.]]></description> 1606 </element> 1607 <element name="is_valid" type="integer" min="-1" max="1" default="-1" flags="32"> 1608 <description><![CDATA[0 = invalid genotype 1609 1 = valid genotype 1610 -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> 1611 </element> 1597 1612 <element name="getNormalized" function="true" type="float" flags="35"> 1598 1613 <arguments> … … 2236 2251 </element> 2237 2252 <element name="glyph" type="string"> 2238 <description><![CDATA[<html>The neuron icon for use in NN diagrams, encoded as a com a-separated sequence of integer numbers.<ul>2253 <description><![CDATA[<html>The neuron icon for use in NN diagrams, encoded as a comma-separated sequence of integer numbers.<ul> 2239 2254 <li>N = the total number of all numbers following this one 2240 2255 <li>NS = the number of line sequences<br> … … 3230 3245 </element> 3231 3246 <element name="load" function="true" type="void" flags="32"> 3232 <description><![CDATA[Load experiment file (calls onExpLoad() in the current experiment definition). This function is intended to replace the simulator state; the old state is cleared by automatically calling "resetToDefaults()" (only if "resetonexpdef" is enabled). Use "import" if you don't want to loose the old simulator state.]]></description>3247 <description><![CDATA[Load experiment file (calls onExpLoad() in the current experiment definition). This function is intended to replace the simulator state; the old state is cleared by automatically calling "resetToDefaults()". Use "import" if you don't want to loose the old simulator state.]]></description> 3233 3248 <arguments> 3234 3249 <argument name="filename" type="string"/> … … 3313 3328 <arguments/></element> 3314 3329 <element name="loadexpdef" function="true" type="void"><arguments/></element> 3315 <element name="usercode" type="string" min="1" flags="2048"> 3316 <description><![CDATA[This script overrides the experiment definition]]></description> 3330 <element name="usercode" type="string" min="1"> 3331 <description><![CDATA[You can override any function from the original experiment definition script. Use the same function names and provide alternative implementations. 3332 Example: 3333 3334 function onBorn(cr) 3335 { 3336 Simulator.print("A creature is born: "+cr.name); 3337 super_onBorn(cr); //calls the original implementation 3338 }]]></description> 3317 3339 </element> 3318 3340 <element name="autosaveperiod" type="integer" min="0" max="100000"> … … 3322 3344 Slave simulators (in multithreaded experiments) ignore this setting and never create autosave files.]]></description> 3323 3345 </element> 3324 <element name="overwrite" type="integer" min="0" max="1" >3325 <description><![CDATA[ Overwite existing files or create their backups]]></description>3346 <element name="overwrite" type="integer" min="0" max="1" default="0"> 3347 <description><![CDATA[Lets you choose what to do when a file is created with the same name as an already existing file: overwite the existing file or create its backup?]]></description> 3326 3348 </element> 3327 3349 <element name="filecomm" type="integer" min="0" max="1" default="1"> … … 3349 3371 <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description> 3350 3372 <arguments/></element> 3351 <element name="resetonexpdef" type="integer" min="0" max="1" default="1">3352 <description><![CDATA[If turned on: when a new experiment definition is selected, default values are loaded for most of the simulator parameters, and gene pools and populations are cleared.3353 If turned off: parameters from previous experiment definition will remain (dangerous).]]></description>3354 </element>3355 3373 <element name="new" function="true" type="Simulator" flags="32"><arguments/></element> 3356 3374 <element name="slaves" type="SlaveSimulators" flags="35"/> … … 3396 3414 </element> 3397 3415 <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/> 3398 <element name="wrldbnd" type="integer" min="0" max="2" default=" 1">3416 <element name="wrldbnd" type="integer" min="0" max="2" default="0"> 3399 3417 <description><![CDATA[Teleporting a creature that is outside of the world area is attempted every 'performance sampling period' steps. Teleport succeeds only when the target location in the world is empty (there is no collision).]]></description> 3400 3418 </element> … … 4384 4402 </element> 4385 4403 <element name="load" function="true" type="void" flags="32"> 4386 <description><![CDATA[Load experiment file (calls onExpLoad() in the current experiment definition). This function is intended to replace the simulator state; the old state is cleared by automatically calling "resetToDefaults()" (only if "resetonexpdef" is enabled). Use "import" if you don't want to loose the old simulator state.]]></description>4404 <description><![CDATA[Load experiment file (calls onExpLoad() in the current experiment definition). This function is intended to replace the simulator state; the old state is cleared by automatically calling "resetToDefaults()". Use "import" if you don't want to loose the old simulator state.]]></description> 4387 4405 <arguments> 4388 4406 <argument name="filename" type="string"/> … … 4467 4485 <arguments/></element> 4468 4486 <element name="loadexpdef" function="true" type="void"><arguments/></element> 4469 <element name="usercode" type="string" min="1" flags="2048"> 4470 <description><![CDATA[This script overrides the experiment definition]]></description> 4487 <element name="usercode" type="string" min="1"> 4488 <description><![CDATA[You can override any function from the original experiment definition script. Use the same function names and provide alternative implementations. 4489 Example: 4490 4491 function onBorn(cr) 4492 { 4493 Simulator.print("A creature is born: "+cr.name); 4494 super_onBorn(cr); //calls the original implementation 4495 }]]></description> 4471 4496 </element> 4472 4497 <element name="autosaveperiod" type="integer" min="0" max="100000"> … … 4476 4501 Slave simulators (in multithreaded experiments) ignore this setting and never create autosave files.]]></description> 4477 4502 </element> 4478 <element name="overwrite" type="integer" min="0" max="1" >4479 <description><![CDATA[ Overwite existing files or create their backups]]></description>4503 <element name="overwrite" type="integer" min="0" max="1" default="0"> 4504 <description><![CDATA[Lets you choose what to do when a file is created with the same name as an already existing file: overwite the existing file or create its backup?]]></description> 4480 4505 </element> 4481 4506 <element name="filecomm" type="integer" min="0" max="1" default="1"> … … 4503 4528 <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description> 4504 4529 <arguments/></element> 4505 <element name="resetonexpdef" type="integer" min="0" max="1" default="1">4506 <description><![CDATA[If turned on: when a new experiment definition is selected, default values are loaded for most of the simulator parameters, and gene pools and populations are cleared.4507 If turned off: parameters from previous experiment definition will remain (dangerous).]]></description>4508 </element>4509 4530 <element name="new" function="true" type="Simulator" flags="32"><arguments/></element> 4510 4531 <element name="slaves" type="SlaveSimulators" flags="35"/> … … 4705 4726 </type> 4706 4727 <type name="StopEvent" context="Global context"> 4707 <description><![CDATA[ StopEvent]]></description>4728 <description><![CDATA[Used in onSlaveStop() which is called when a Slave Simulator is stopped.]]></description> 4708 4729 <element name="index" type="integer" flags="1"/> 4709 4730 <element name="slave" type="Simulator" flags="1"/> … … 4712 4733 <description><![CDATA[String functions library.]]></description> 4713 4734 <element name="len" function="true" type="integer"> 4714 <description><![CDATA[String.len("abcdef") ->6]]></description>4735 <description><![CDATA[String.len("abcdef") == 6]]></description> 4715 4736 <arguments> 4716 4737 <argument type="string"/> … … 4718 4739 </element> 4719 4740 <element name="replace" function="true" type="string"> 4720 <description><![CDATA[String.replace("abcdef","cd","X") ->"abXef"]]></description>4741 <description><![CDATA[String.replace("abcdef","cd","X") == "abXef"]]></description> 4721 4742 <arguments> 4722 4743 <argument name="input_string" type="string"/> … … 4727 4748 <element name="split" function="true" type="Vector"> 4728 4749 <description><![CDATA[return the vector of substrings, cut at separator positions. 4729 subsequent separators give empty words: split("word1---word2-word3","-") -> ["word1","","","word2","word3"]]]></description> 4750 subsequent separators give empty words: 4751 split("word1---word2-word3","-") returns ["word1","","","word2","word3"]]]></description> 4730 4752 <arguments> 4731 4753 <argument type="string"/> … … 4735 4757 <element name="split2" function="true" type="Vector"> 4736 4758 <description><![CDATA[return the vector of substrings, cut at separator positions. 4737 subsequent separators are treated as one: split2("word1---word2-word3","-") -> ["word1","word2","word3"]]]></description> 4759 subsequent separators are treated as one: 4760 split2("word1---word2-word3","-") returns ["word1","word2","word3"]]]></description> 4738 4761 <arguments> 4739 4762 <argument type="string"/> … … 4742 4765 </element> 4743 4766 <element name="indexOf" function="true" type="integer"> 4744 <description><![CDATA[String.indexOf("abcdef","cd") ->24745 String.indexOf("abcdef","dc") ->-14767 <description><![CDATA[String.indexOf("abcdef","cd") == 2 4768 String.indexOf("abcdef","dc") == -1 4746 4769 ]]></description> 4747 4770 <arguments> … … 4751 4774 </element> 4752 4775 <element name="indexOfStart" function="true" type="integer"> 4753 <description><![CDATA[String.indexOfStart("abcdef","cd",1) ->24754 String.indexOfStart("abcdef","cd",3) ->-14776 <description><![CDATA[String.indexOfStart("abcdef","cd",1) == 2 4777 String.indexOfStart("abcdef","cd",3) == -1 4755 4778 ]]></description> 4756 4779 <arguments> … … 4761 4784 </element> 4762 4785 <element name="substr" function="true" type="string"> 4763 <description><![CDATA[String.substr("abcdef",3,2) -> ="de"]]></description>4786 <description><![CDATA[String.substr("abcdef",3,2) == "de"]]></description> 4764 4787 <arguments> 4765 4788 <argument type="string"/> … … 4769 4792 </element> 4770 4793 <element name="substr" function="true" type="string"> 4771 <description><![CDATA[String.substr("abcdef",3) -> ="def"]]></description>4794 <description><![CDATA[String.substr("abcdef",3) == "def"]]></description> 4772 4795 <arguments> 4773 4796 <argument type="string"/> … … 4776 4799 </element> 4777 4800 <element name="left" function="true" type="string"> 4778 <description><![CDATA[String.left("abcdef",3) -> ="abc"]]></description>4801 <description><![CDATA[String.left("abcdef",3) == "abc"]]></description> 4779 4802 <arguments> 4780 4803 <argument type="string"/> … … 4783 4806 </element> 4784 4807 <element name="right" function="true" type="string"> 4785 <description><![CDATA[String.right("abcdef",3) -> ="def"]]></description>4808 <description><![CDATA[String.right("abcdef",3) == "def"]]></description> 4786 4809 <arguments> 4787 4810 <argument type="string"/> … … 4822 4845 4823 4846 Examples: 4824 String.format("|%07.2f|",Math.pi) -> ="|0003.14|"4825 String.format("|%04x|",255) -> ="|00ff|"4826 String.format("|%7s|","text") -> ="| text|"4827 String.format("|%-7d|",12345) -> ="|12345 |"4828 String.format("%t",Math.time) -> ="Sun Apr 29 19:22:02 2007"4829 String.format("%T",Math.time) -> ="2007-05-29 19:22:02"4830 String.format("x=%d%%",100) -> ="100%"]]></description>4847 String.format("|%07.2f|",Math.pi) == "|0003.14|" 4848 String.format("|%04x|",255) == "|00ff|" 4849 String.format("|%7s|","text") == "| text|" 4850 String.format("|%-7d|",12345) == "|12345 |" 4851 String.format("%t",Math.time) == "Sun Apr 29 19:22:02 2007" 4852 String.format("%T",Math.time) == "2007-05-29 19:22:02" 4853 String.format("x=%d%%",100) == "100%"]]></description> 4831 4854 <arguments> 4832 4855 <argument name="format_string" type="string"/> … … 4849 4872 <description><![CDATA[Returns an integer, a floating point, or null if the string cannot be parsed as a number. 4850 4873 The 'typeof' operator can be used to distinguish between an integer and a floating point value: 4851 typeof String.parseNumber("qwerty") is 04852 typeof String.parseNumber("1234") is 14853 typeof String.parseNumber("3.14") is 2.]]></description>4874 typeof(String.parseNumber("qwerty")) == "null" 4875 typeof(String.parseNumber("1234")) == "int" 4876 typeof(String.parseNumber("3.14")) == "float"]]></description> 4854 4877 <arguments> 4855 4878 <argument type="string"/> … … 4975 4998 </element> 4976 4999 <element name="iterator" type="Object" flags="257"/> 5000 <element name="clone" function="true" type="Vector" flags="256"> 5001 <description><![CDATA[The resulting clone is a shallow copy (contains the same object references as the original). A deep copy can be obtained through serialization: String.deserialize(String.serialize(object));]]></description> 5002 <arguments/></element> 4977 5003 </type> 4978 5004 <type name="World" context="Global context"> … … 4993 5019 </element> 4994 5020 <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/> 4995 <element name="wrldbnd" type="integer" min="0" max="2" default=" 1">5021 <element name="wrldbnd" type="integer" min="0" max="2" default="0"> 4996 5022 <description><![CDATA[Teleporting a creature that is outside of the world area is attempted every 'performance sampling period' steps. Teleport succeeds only when the target location in the world is empty (there is no collision).]]></description> 4997 5023 </element> … … 5389 5415 <element name="user3" type="untyped"/> 5390 5416 <element name="mutate" function="true" type="void"><arguments/></element> 5391 <element name="isValid" type="integer" min="0" max="1" deprecated="true" flags="8227"/> 5392 <element name="is_valid" type="integer" min="-1" max="1" default="-1" flags="32"/> 5417 <element name="isValid" type="integer" min="0" max="1" deprecated="true" flags="8227"> 5418 <description><![CDATA[Use 'is_valid' instead of 'isValid'.]]></description> 5419 </element> 5420 <element name="is_valid" type="integer" min="-1" max="1" default="-1" flags="32"> 5421 <description><![CDATA[0 = invalid genotype 5422 1 = valid genotype 5423 -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> 5424 </element> 5393 5425 <element name="getNormalized" function="true" type="float" flags="35"> 5394 5426 <arguments> … … 5991 6023 <description><![CDATA[]]></description> 5992 6024 </element> 6025 <element name="worldbgcolor" type="integer" min="0" max="16777215" default="16764040" flags="192"> 6026 <description><![CDATA[]]></description> 6027 </element> 6028 <element name="hideworld" type="integer" min="0" max="1" default="0" flags="192"> 6029 <description><![CDATA[Can be useful for screenshots]]></description> 6030 </element> 5993 6031 <element name="modelpan" type="integer" min="0" max="3" default="1" flags="192"> 5994 6032 <description><![CDATA[]]></description> … … 6061 6099 <description><![CDATA[]]></description> 6062 6100 </element> 6101 <element name="worldbgcolor" type="integer" min="0" max="16777215" default="16764040" flags="192"> 6102 <description><![CDATA[]]></description> 6103 </element> 6104 <element name="hideworld" type="integer" min="0" max="1" default="0" flags="192"> 6105 <description><![CDATA[Can be useful for screenshots]]></description> 6106 </element> 6063 6107 <element name="modelpan" type="integer" min="0" max="3" default="1" flags="192"> 6064 6108 <description><![CDATA[]]></description> … … 6105 6149 </element> 6106 6150 <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/> 6107 <element name="wrldbnd" type="integer" min="0" max="2" default=" 1">6151 <element name="wrldbnd" type="integer" min="0" max="2" default="0"> 6108 6152 <description><![CDATA[Teleporting a creature that is outside of the world area is attempted every 'performance sampling period' steps. Teleport succeeds only when the target location in the world is empty (there is no collision).]]></description> 6109 6153 </element> … … 6348 6392 <element name="active" type="integer" min="0" max="1" flags="1"/> 6349 6393 <element name="banner" type="string"/> 6350 <element name="user_interaction" type="integer" min="0" max="1" default="1">6351 <description><![CDATA[Bit field:6352 1 - menu access6353 ]]></description>6354 </element>6355 6394 <element name="minfps" type="integer" min="1" max="100" default="5"/> 6356 6395 <element name="maxfps" type="integer" min="1" max="100" default="30"/> … … 6381 6420 <element name="newCreatureCharts" function="true"/> 6382 6421 <element name="newSimStatsCharts" function="true"/> 6422 <element name="user_interaction" type="integer" min="0" max="31" default="31"> 6423 <description><![CDATA[Bit field: 6424 1 - menu access 6425 2 - rotate camera 6426 4 - use manupulator 6427 8 - select creatures 6428 16 - change ShowManager options in menu (including switching shows) 6429 Bits 2-16 are not implemented in the old Framsticks Theater application.]]></description> 6430 </element> 6431 <element name="world_visibility" type="integer" min="0" max="7" default="7"> 6432 <description><![CDATA[Bit field: 6433 1 - background/panorama 6434 2 - environment 6435 4 - creatures 6436 Not implemented in the old Framsticks Theater application.]]></description> 6437 </element> 6438 <element name="menu_visible" type="integer" min="0" max="1"> 6439 <description><![CDATA[Not implemented in the old Framsticks Theater application.]]></description> 6440 </element> 6441 <element name="menu_state" type="string"> 6442 <description><![CDATA[Not implemented in the old Framsticks Theater application.]]></description> 6443 </element> 6444 <element name="back_action" type="string"> 6445 <description><![CDATA[Not implemented in the old Framsticks Theater application.]]></description> 6446 </element> 6447 <element name="skybox" type="string"> 6448 <description><![CDATA[Traditionally, all visualization aspects belonged to the *.style file, which is not yet implemented in mobi version. But actually, changing some (or even all) aspects of the world directly in the show might be highly desirable in many "interactive" scripts. So this is the forerunner. 6449 Skybox name can be a list of 6 cube face textures (separated by slash), single name with _ placeholder (will be replaced by 1-6 for 6 cube faces) or a regular name (the same texture on all 6 faces). 6450 Not implemented in the old Framsticks Theater application.]]></description> 6451 </element> 6452 <element name="bgcolor" type="integer"> 6453 <description><![CDATA[Not implemented in the old Framsticks Theater application.]]></description> 6454 </element> 6455 <element name="world3d" type="Obj3D" flags="1"> 6456 <description><![CDATA[Not implemented in the old Framsticks Theater application.]]></description> 6457 </element> 6458 <element name="project3D" function="true" type="XYZ"> 6459 <description><![CDATA[Returns 2D position of the 3D point in world or modelviewer coordinates, 'object' can be Obj3D or GUIElement/Model 6460 Not implemented in the old Framsticks Theater application.]]></description> 6461 <arguments> 6462 <argument name="object" type="untyped"/> 6463 <argument name="point" type="XYZ"/> 6464 </arguments> 6465 </element> 6466 </type> 6467 <type name="GUI" context="Command line interface"> 6468 <description><![CDATA[Manage GUI elements]]></description> 6469 <element name="newLabel" function="true" type="GUIElement"> 6470 <arguments> 6471 <argument name="name" type="string"/> 6472 <argument name="text" type="string"/> 6473 </arguments> 6474 </element> 6475 <element name="newButton" function="true" type="GUIElement"> 6476 <arguments> 6477 <argument name="name" type="string"/> 6478 <argument name="text" type="string"/> 6479 </arguments> 6480 </element> 6481 <element name="newImage" function="true" type="GUIElement"> 6482 <arguments> 6483 <argument name="name" type="string"/> 6484 <argument name="filename" type="string"/> 6485 </arguments> 6486 </element> 6487 <element name="newFrame" function="true" type="GUIElement"> 6488 <arguments> 6489 <argument name="name" type="string"/> 6490 </arguments> 6491 </element> 6492 <element name="newModel" function="true" type="GUIElement"> 6493 <arguments> 6494 <argument name="name" type="string"/> 6495 <argument name="genotype" type="string"/> 6496 </arguments> 6497 </element> 6498 <element name="newTextview" function="true" type="GUIElement"> 6499 <arguments> 6500 <argument name="name" type="string"/> 6501 <argument name="text" type="string"/> 6502 </arguments> 6503 </element> 6504 <element name="newList" function="true" type="GUIElement"> 6505 <arguments> 6506 <argument name="name" type="string"/> 6507 </arguments> 6508 </element> 6509 <element name="newDrawing" function="true" type="GUIElement"> 6510 <arguments> 6511 <argument name="name" type="string"/> 6512 </arguments> 6513 </element> 6514 <element name="newBubble" function="true" type="GUIElement"> 6515 <arguments> 6516 <argument name="name" type="string"/> 6517 <argument name="text" type="string"/> 6518 </arguments> 6519 </element> 6520 <element name="newSlider" function="true" type="GUIElement"> 6521 <arguments> 6522 <argument name="name" type="string"/> 6523 <argument name="value" type="integer"/> 6524 <argument name="min" type="integer"/> 6525 <argument name="max" type="integer"/> 6526 </arguments> 6527 </element> 6528 <element name="newGroup" function="true" type="GUIElement"> 6529 <arguments> 6530 <argument name="name" type="string"/> 6531 </arguments> 6532 </element> 6533 <element name="newTextField" function="true" type="GUIElement"> 6534 <arguments> 6535 <argument name="name" type="string"/> 6536 <argument name="text" type="string"/> 6537 </arguments> 6538 </element> 6539 <element name="get" function="true" type="GUIElement"> 6540 <arguments> 6541 <argument name="name" type="string"/> 6542 </arguments> 6543 </element> 6544 <element name="removeElement" function="true" type="void"> 6545 <arguments> 6546 <argument name="object or name" type="untyped"/> 6547 </arguments> 6548 </element> 6549 <element name="removeAll" function="true" type="void"><arguments/></element> 6550 <element name="fontHeight" function="true" type="void"> 6551 <arguments> 6552 <argument name="font id" type="integer"/> 6553 </arguments> 6554 </element> 6555 <element name="clipboard" type="string"/> 6556 <element name="setTimeout" function="true" type="void"> 6557 <description><![CDATA[Events can be rescheduled by reusing identifiers. Cancel the event by setting its function to null.]]></description> 6558 <arguments> 6559 <argument name="identifier" type="string"/> 6560 <argument name="timeout" type="float"/> 6561 <argument name="function" type="JumpTarget"/> 6562 </arguments> 6563 </element> 6564 <element name="messageBox" function="true" type="void"> 6565 <arguments> 6566 <argument name="title" type="string"/> 6567 <argument name="message" type="string"/> 6568 </arguments> 6569 </element> 6570 <element name="messageBox4" function="true" type="void"> 6571 <arguments> 6572 <argument name="title" type="string"/> 6573 <argument name="message" type="string"/> 6574 <argument name="buttons" type="Vector"/> 6575 <argument name="function" type="JumpTarget"/> 6576 </arguments> 6577 </element> 6578 <element name="playSound" function="true" type="void"> 6579 <arguments> 6580 <argument name="name" type="string"/> 6581 </arguments> 6582 </element> 6583 <element name="KEY_BACK" type="integer" flags="1"/> 6584 <element name="KEY_MENU" type="integer" flags="1"/> 6585 <element name="KEY_SEARCH" type="integer" flags="1"/> 6586 <element name="SHARING_HTML" type="string" flags="1"/> 6587 <element name="top_left" type="Element" flags="1"/> 6588 <element name="top_center" type="Element" flags="1"/> 6589 <element name="top_right" type="Element" flags="1"/> 6590 <element name="bottom_left" type="Element" flags="1"/> 6591 <element name="bottom_center" type="Element" flags="1"/> 6592 <element name="bottom_right" type="Element" flags="1"/> 6593 </type> 6594 <type name="GUIElement" context="Command line interface"> 6595 <description><![CDATA[GUI element]]></description> 6596 <element name="name" type="string"/> 6597 <element name="text" type="string"/> 6598 <element name="image" type="untyped"/> 6599 <element name="bgcolor" type="integer"/> 6600 <element name="fgcolor" type="integer"/> 6601 <element name="align" type="integer"> 6602 <description><![CDATA[labels: -1/0/1 means left/center/right, buttons and lists: 0/1 means horizontal/vertical]]></description> 6603 </element> 6604 <element name="valign" type="integer"> 6605 <description><![CDATA[-1/0/1 means top/center/bottom]]></description> 6606 </element> 6607 <element name="x" type="float"/> 6608 <element name="y" type="float"/> 6609 <element name="width" type="float"/> 6610 <element name="height" type="float"/> 6611 <element name="tooltip" type="string"/> 6612 <element name="rowheight" type="float"/> 6613 <element name="addItem" function="true" type="integer"> 6614 <arguments> 6615 <argument name="label" type="string"/> 6616 <argument name="image" type="string"/> 6617 </arguments> 6618 </element> 6619 <element name="insertItem" function="true" type="integer"> 6620 <arguments> 6621 <argument name="position" type="integer"/> 6622 <argument name="label" type="string"/> 6623 <argument name="image" type="string"/> 6624 </arguments> 6625 </element> 6626 <element name="getItemLabel" function="true" type="string"> 6627 <arguments> 6628 <argument name="index" type="integer"/> 6629 </arguments> 6630 </element> 6631 <element name="getItemImage" function="true" type="string"> 6632 <arguments> 6633 <argument name="index" type="integer"/> 6634 </arguments> 6635 </element> 6636 <element name="setItemLabel" function="true" type="void"> 6637 <arguments> 6638 <argument name="index" type="integer"/> 6639 <argument name="label" type="string"/> 6640 </arguments> 6641 </element> 6642 <element name="setItemImage" function="true" type="void"> 6643 <arguments> 6644 <argument name="index" type="integer"/> 6645 <argument name="image" type="string"/> 6646 </arguments> 6647 </element> 6648 <element name="removeItem" function="true" type="void"> 6649 <arguments> 6650 <argument name="index" type="integer"/> 6651 </arguments> 6652 </element> 6653 <element name="removeAllItems" function="true" type="void"><arguments/></element> 6654 <element name="itemcount" type="integer" flags="1"/> 6655 <element name="rect" type="Rectangle"/> 6656 <element name="absoluteRect" type="Rectangle"/> 6657 <element name="setRect" function="true" type="void"> 6658 <arguments> 6659 <argument name="x" type="float"/> 6660 <argument name="y" type="float"/> 6661 <argument name="width" type="float"/> 6662 <argument name="height" type="float"/> 6663 </arguments> 6664 </element> 6665 <element name="setPos" function="true" type="void"> 6666 <arguments> 6667 <argument name="x" type="float"/> 6668 <argument name="y" type="float"/> 6669 </arguments> 6670 </element> 6671 <element name="setAutolayout" function="true" type="void"> 6672 <description><![CDATA[rel_* values refer to the parent element's dimensions]]></description> 6673 <arguments> 6674 <argument name="x" type="float"/> 6675 <argument name="y" type="float"/> 6676 <argument name="width" type="float"/> 6677 <argument name="height" type="float"/> 6678 <argument name="rel_x" type="float"/> 6679 <argument name="rel_y" type="float"/> 6680 <argument name="rel_width" type="float"/> 6681 <argument type="float"/> 6682 </arguments> 6683 </element> 6684 <element name="minimalRect" type="Rectangle" flags="1"/> 6685 <element name="font" type="integer" min="0" max="5"/> 6686 <element name="selected" type="integer"/> 6687 <element name="data" type="untyped"/> 6688 <element name="mode" type="integer"/> 6689 <element name="enabled" type="integer"/> 6690 <element name="autorepeat" type="integer" min="0" max="1"/> 6691 <element name="style" type="integer"/> 6692 <element name="userdata" type="untyped"/> 6693 <element name="visible" type="integer" min="0" max="1"/> 6694 <element name="addTo" function="true" type="void"> 6695 <arguments> 6696 <argument name="parent" type="GUIElement"/> 6697 </arguments> 6698 </element> 6699 <element name="scrollIntoView" function="true" type="void"> 6700 <arguments> 6701 <argument name="index" type="integer"/> 6702 </arguments> 6703 </element> 6704 <element name="scroll_x" type="float" flags="1"/> 6705 <element name="scroll_y" type="float" flags="1"/> 6706 <element name="focus" type="integer" min="0" max="1"/> 6707 <element name="edit" function="true" type="void"> 6708 <arguments> 6709 <argument name="characters" type="string"/> 6710 </arguments> 6711 </element> 6712 <element name="orient" type="Orient" flags="1"/> 6713 <element name="min" type="float"/> 6714 <element name="max" type="float"/> 6715 <element name="animSetBegin" function="true" type="void"><arguments/></element> 6716 <element name="animSetEnd" function="true" type="void"><arguments/></element> 6717 <element name="startAnimation" function="true" type="void"> 6718 <arguments> 6719 <argument name="duration" type="float"/> 6720 </arguments> 6721 </element> 6383 6722 </type> 6384 6723 <type name="ImageExport" context="Command line interface"> … … 6408 6747 <element name="imgex_lastfile" type="string" flags="18"/> 6409 6748 </type> 6749 <type name="Material" context="Command line interface"> 6750 <description><![CDATA[Material object]]></description> 6751 <element name="new" function="true" type="Material"><arguments/></element> 6752 <element name="color" type="string" flags="256"/> 6753 <element name="lighting" type="integer" min="0" max="1" flags="256"/> 6754 <element name="shine" type="integer" flags="256"/> 6755 <element name="texture" type="string" flags="256"/> 6756 <element name="shader" type="Shader" flags="256"/> 6757 </type> 6758 <type name="Matrix" context="Command line interface"> 6759 <description><![CDATA[4x4 Marix object]]></description> 6760 <element name="new" function="true" type="Matrix"><arguments/></element> 6761 <element name="newRotation" function="true" type="Matrix"> 6762 <arguments> 6763 <argument name="angles" type="XYZ"/> 6764 </arguments> 6765 </element> 6766 <element name="newTranslation" function="true" type="Matrix"> 6767 <arguments> 6768 <argument name="translation" type="XYZ"/> 6769 </arguments> 6770 </element> 6771 <element name="newScale" function="true" type="Matrix"> 6772 <arguments> 6773 <argument name="angles" type="XYZ"/> 6774 </arguments> 6775 </element> 6776 <element name="add" function="true" type="Matrix" flags="256"> 6777 <arguments> 6778 <argument name="another matrix" type="Matrix"/> 6779 </arguments> 6780 </element> 6781 <element name="mul" function="true" type="Matrix" flags="256"> 6782 <arguments> 6783 <argument name="another matrix" type="Matrix"/> 6784 </arguments> 6785 </element> 6786 <element name="translate" function="true" type="Matrix" flags="256"> 6787 <arguments> 6788 <argument name="translation" type="XYZ"/> 6789 </arguments> 6790 </element> 6791 <element name="rotate" function="true" type="Matrix" flags="256"> 6792 <arguments> 6793 <argument name="axis" type="XYZ"/> 6794 <argument name="angle" type="float"/> 6795 </arguments> 6796 </element> 6797 <element name="scale" function="true" type="Matrix" flags="256"> 6798 <arguments> 6799 <argument name="scale" type="XYZ"/> 6800 </arguments> 6801 </element> 6802 </type> 6410 6803 <type name="NeuroDiagram" context="Command line interface"> 6411 6804 <description><![CDATA[Can be used as the client object in the Window.]]></description> … … 6422 6815 </element> 6423 6816 <element name="hide" function="true" type="void" flags="288"><arguments/></element> 6817 </type> 6818 <type name="Obj3D" context="Command line interface"> 6819 <description><![CDATA[3D object]]></description> 6820 <element name="newEmpty" function="true" type="Obj3D"><arguments/></element> 6821 <element name="newFromCreature" function="true" type="Obj3D"> 6822 <arguments> 6823 <argument type="untyped"/> 6824 </arguments> 6825 </element> 6826 <element name="newText" function="true" type="Obj3D"> 6827 <arguments> 6828 <argument name="text" type="string"/> 6829 <argument name="horizontal align" type="integer"/> 6830 <argument name="vertical align" type="integer"/> 6831 <argument name="transformation" type="Matrix"/> 6832 </arguments> 6833 </element> 6834 <element name="load" function="true" type="Obj3D"> 6835 <arguments> 6836 <argument name="filename" type="string"/> 6837 </arguments> 6838 </element> 6839 <element name="name" type="string" flags="256"/> 6840 <element name="visible" type="integer" min="0" max="1" flags="256"/> 6841 <element name="transparent" type="integer" min="0" max="1" flags="256"/> 6842 <element name="material" type="Material" flags="256"/> 6843 <element name="add" function="true" type="void" flags="256"> 6844 <arguments> 6845 <argument name="child object" type="Obj3D"/> 6846 </arguments> 6847 </element> 6848 <element name="get" function="true" type="Obj3D" flags="256"> 6849 <arguments> 6850 <argument name="index" type="integer"/> 6851 </arguments> 6852 </element> 6853 <element name="children" type="integer" flags="257"/> 6854 <element name="parent" type="Obj3D" flags="257"/> 6855 <element name="removeFromParent" function="true" type="void" flags="256"><arguments/></element> 6856 <element name="deleteChildren" function="true" type="void" flags="256"><arguments/></element> 6857 <element name="delete" function="true" type="void" flags="256"><arguments/></element> 6858 <element name="center" type="XYZ" flags="257"/> 6859 <element name="size" type="float" flags="257"/> 6860 <element name="transform" type="Matrix" flags="256"/> 6861 <element name="position" type="XYZ" flags="256"/> 6862 <element name="rotation" type="XYZ" flags="256"/> 6863 <element name="scale" type="XYZ" flags="256"/> 6864 <element name="setPositionAndRotation" function="true" type="void" flags="256"> 6865 <arguments> 6866 <argument name="position" type="XYZ"/> 6867 <argument name="rotation" type="XYZ"/> 6868 </arguments> 6869 </element> 6870 </type> 6871 <type name="Rectangle" context="Command line interface"> 6872 <description><![CDATA[GUI Rectangle]]></description> 6873 <element name="x" type="float" flags="256"/> 6874 <element name="y" type="float" flags="256"/> 6875 <element name="width" type="float" flags="256"/> 6876 <element name="height" type="float" flags="256"/> 6877 <element name="newFromXYWH" function="true" type="Rectangle"> 6878 <arguments> 6879 <argument name="x" type="float"/> 6880 <argument name="y" type="float"/> 6881 <argument name="width" type="float"/> 6882 <argument name="height" type="float"/> 6883 </arguments> 6884 </element> 6424 6885 </type> 6425 6886 <type name="RowFormat" context="Command line interface"> … … 6462 6923 <description><![CDATA[Contains the field names with the same formatting applied (i.e. with fill and separators)]]></description> 6463 6924 </element> 6925 </type> 6926 <type name="Shader" context="Command line interface"> 6927 <description><![CDATA[Shader object]]></description> 6928 <element name="new" function="true" type="Shader"> 6929 <arguments> 6930 <argument name="flags" type="integer"/> 6931 </arguments> 6932 </element> 6933 <element name="vertex" type="string" flags="256"/> 6934 <element name="fragment" type="string" flags="256"/> 6935 </type> 6936 <type name="Sharing" context="Command line interface"> 6937 <element name="service" type="integer" min="0" max="4"/> 6938 <element name="message" type="string"/> 6939 <element name="url" type="string"/> 6940 <element name="attach_file" type="string"/> 6941 <element name="addScreenshot" function="true" type="void"><arguments/></element> 6942 <element name="removeImage" function="true" type="void"><arguments/></element> 6943 <element name="select" function="true" type="void"> 6944 <arguments> 6945 <argument name="prompt" type="string"/> 6946 <argument name="function" type="Object"/> 6947 </arguments> 6948 </element> 6949 <element name="execute" function="true" type="void"><arguments/></element> 6464 6950 </type> 6465 6951 <type name="ShowManager" context="Command line interface"> … … 6539 7025 <description><![CDATA[Update camera position and restore automatic tracking]]></description> 6540 7026 <arguments/></element> 7027 <element name="cam_world" type="integer" min="0" max="1" default="1"/> 6541 7028 <element name="cam_change" type="integer" min="0" max="5" default="2"/> 6542 7029 <element name="cam_chspeed" type="float" min="0.1" max="10" default="1.0"/> … … 6604 7091 <description><![CDATA[]]></description> 6605 7092 </element> 7093 <element name="worldbgcolor" type="integer" min="0" max="16777215" default="16764040" flags="192"> 7094 <description><![CDATA[]]></description> 7095 </element> 7096 <element name="hideworld" type="integer" min="0" max="1" default="0" flags="192"> 7097 <description><![CDATA[Can be useful for screenshots]]></description> 7098 </element> 6606 7099 <element name="modelpan" type="integer" min="0" max="3" default="1" flags="192"> 6607 7100 <description><![CDATA[]]></description>
Note: See TracChangeset
for help on using the changeset viewer.