no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@973 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--This file is auto-generated by the XML Schema Designer. It holds layout information for components on the designer surface.-->
|
||||
<XSDDesignerLayout Style="LeftRight" layoutVersion="2" viewPortLeft="317" viewPortTop="0" zoom="100">
|
||||
<cuberef_XmlElement left="1317" top="6344" width="5292" height="2831" selected="0" zOrder="0" index="0" expanded="1">
|
||||
<section_XmlElement left="7243" top="6344" width="5292" height="2831" selected="0" zOrder="1" index="0" expanded="1">
|
||||
<command_XmlElement left="13169" top="6344" width="5292" height="2831" selected="0" zOrder="4" index="0" expanded="1">
|
||||
<description_XmlElement left="19095" top="2312" width="5292" height="714" selected="0" zOrder="31" index="0" expanded="1">
|
||||
<_x0028_description_x0029__XmlSimpleType left="25021" top="1254" width="5292" height="2831" selected="0" zOrder="33" index="0" expanded="1" />
|
||||
</description_XmlElement>
|
||||
<arguments_XmlElement left="19095" top="4757" width="5292" height="2831" selected="0" zOrder="7" index="1" expanded="1">
|
||||
<argument_XmlElement left="25021" top="4757" width="5292" height="2831" selected="0" zOrder="10" index="0" expanded="1">
|
||||
<token_XmlAttribute left="30947" top="2312" width="5292" height="714" selected="0" zOrder="35" index="0" expanded="1">
|
||||
<_x0028_token_x0029__XmlSimpleType left="36873" top="1254" width="5292" height="2831" selected="0" zOrder="37" index="0" expanded="1" />
|
||||
</token_XmlAttribute>
|
||||
<description_XmlAttribute left="30947" top="5849" width="5292" height="714" selected="0" zOrder="13" index="1" expanded="1">
|
||||
<_x0028_description_x0029__XmlSimpleType left="36873" top="4725" width="5292" height="2831" selected="0" zOrder="39" index="0" expanded="1" />
|
||||
</description_XmlAttribute>
|
||||
<values_XmlAttribute left="30947" top="9320" width="5292" height="714" selected="0" zOrder="16" index="2" expanded="1">
|
||||
<_x0028_values_x0029__XmlSimpleType left="36873" top="8196" width="5292" height="2831" selected="0" zOrder="41" index="0" expanded="1" />
|
||||
</values_XmlAttribute>
|
||||
</argument_XmlElement>
|
||||
</arguments_XmlElement>
|
||||
<remarks_XmlElement left="19095" top="9154" width="5292" height="714" selected="0" zOrder="19" index="2" expanded="1">
|
||||
<_x0028_remarks_x0029__XmlSimpleType left="25021" top="8096" width="5292" height="2831" selected="0" zOrder="22" index="0" expanded="1" />
|
||||
</remarks_XmlElement>
|
||||
<name_XmlAttribute left="19095" top="12493" width="5292" height="714" selected="0" zOrder="25" index="3" expanded="1">
|
||||
<_x0028_name_x0029__XmlSimpleType left="25021" top="11435" width="5292" height="2831" selected="0" zOrder="28" index="0" expanded="1" />
|
||||
</name_XmlAttribute>
|
||||
</command_XmlElement>
|
||||
</section_XmlElement>
|
||||
</cuberef_XmlElement>
|
||||
</XSDDesignerLayout>
|
||||
@@ -1,74 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="cubescriptreference">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="section">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" name="command">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="description">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="128" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" name="arguments">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element maxOccurs="unbounded" name="argument">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="token" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="description" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="128" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="values" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="128" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="remarks" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="512" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="32" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="transformxhtml.xslt"?>
|
||||
<?xml-stylesheet type="text/xsl" href="transformcubescript.xslt"?>
|
||||
|
||||
<cubescriptreference xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="cubescriptreference.xsd">
|
||||
<cuberef xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="cuberef.xsd">
|
||||
<section name="Editing Reference">
|
||||
<command name="edittoggle">
|
||||
<description><![CDATA[switches between map edit mode and normal.]]></description>
|
||||
@@ -45,4 +45,4 @@
|
||||
<remarks>if only argument R is specified, it is interpreted as brightness for white light</remarks>
|
||||
</command>
|
||||
</section>
|
||||
</cubescriptreference>
|
||||
</cuberef>
|
||||
@@ -6,18 +6,20 @@
|
||||
|
||||
<xsl:output method="text" encoding="utf-8"/>
|
||||
|
||||
<xsl:template match="/cubescriptreference">
|
||||
<xsl:template match="/cuberef">
|
||||
<xsl:text>// auto generated script to make the command reference readable for ActionCube </xsl:text>
|
||||
|
||||
<xsl:for-each select="section">
|
||||
<xsl:text>// section: </xsl:text>
|
||||
<xsl:text>docsection </xsl:text>
|
||||
<xsl:text>[</xsl:text>
|
||||
<xsl:value-of select="@name"/>
|
||||
<xsl:text>]</xsl:text>
|
||||
<xsl:text> </xsl:text>
|
||||
|
||||
<xsl:for-each select="command">
|
||||
|
||||
<xsl:text>doccommand</xsl:text>
|
||||
<xsl:text> [</xsl:text>
|
||||
<xsl:text>docident </xsl:text>
|
||||
<xsl:text>[</xsl:text>
|
||||
<xsl:value-of select="@name"/>
|
||||
<xsl:text>] [</xsl:text>
|
||||
<xsl:value-of select="description"/>
|
||||
@@ -27,8 +29,8 @@
|
||||
<xsl:text> </xsl:text>
|
||||
|
||||
<xsl:for-each select="arguments/argument">
|
||||
<xsl:text>docargument</xsl:text>
|
||||
<xsl:text> [</xsl:text>
|
||||
<xsl:text>docargument </xsl:text>
|
||||
<xsl:text>[</xsl:text>
|
||||
<xsl:value-of select="@token"/>
|
||||
<xsl:text>] [</xsl:text>
|
||||
<xsl:value-of select="@description"/>
|
||||
|
||||
Reference in New Issue
Block a user