Write the code to save the general scenario data to a file
- See monster strings are now fetched from the same list as the special encounter strings instead of a list of their own - There is now a possibility for the scenario intro dialog to have a different icon than the scenario icon - Remove unused intro_mess_len field - Add method to the XML printer class to push a simple element with no attributes or child elements - Automatically close any elements before writing the document to the stream - Fix scenario editor File menu having an invisible "Close All" option that appeared when the option key was pressed
This commit is contained in:
@@ -112,16 +112,11 @@
|
||||
<xs:attribute name="town" type="xs:integer" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="town-flags" minOccurs="0" maxOccurs="10">
|
||||
<xs:element name="town-flag" minOccurs="0" maxOccurs="10">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="town-flag">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="town" type="xs:integer"/>
|
||||
<xs:attribute name="add" type="xs:integer"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="town" type="xs:integer"/>
|
||||
<xs:attribute name="add-x" type="xs:integer"/>
|
||||
<xs:attribute name="add-y" type="xs:integer"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="specials">
|
||||
@@ -133,7 +128,9 @@
|
||||
<xs:element name="name" type="xs:string"/>
|
||||
<xs:element name="description" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="special" type="bool"/>
|
||||
<xs:attribute name="special" type="xs:integer"/>
|
||||
<xs:attribute name="start-with" type="bool"/>
|
||||
<xs:attribute name="useable" type="bool"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
@@ -196,6 +193,20 @@
|
||||
<xs:element ref="creator"/>
|
||||
<xs:element ref="game"/>
|
||||
<xs:element ref="editor"/>
|
||||
<xs:element name="strings">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="string" type="xs:string" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="journal">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="string" type="xs:string" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="boes" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
|
Reference in New Issue
Block a user