Add dialog to the scenario editor to let it know what type of graphics are in the custom sheets
- If you do this, it adds the graphics to all relevant select graphic dialogs, at the end, allowing you to choose custom graphics without having to remember the number schemes
This commit is contained in:
@@ -138,5 +138,12 @@
|
||||
<last-out-section x="0" y="0"/>
|
||||
<!-- Last town edited -->
|
||||
<last-town>0</last-town>
|
||||
<!-- This is a way to specify what type of graphics are in the custom graphics sheet
|
||||
For example, this states that the fourth graphic is an item. -->
|
||||
<graphics><pic index='3'>7</pic></graphics>
|
||||
</editor>
|
||||
<!-- All the scenario strings go here -->
|
||||
<strings/>
|
||||
<!-- And the journal strings here -->
|
||||
<journal/>
|
||||
</scenario>
|
||||
|
@@ -158,6 +158,21 @@
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="last-town" type="xs:integer"/>
|
||||
<xs:element name="graphics" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="pic" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:integer">
|
||||
<xs:attribute name="index" type="xs:integer"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="storage" minOccurs="0" maxOccurs="10">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
@@ -196,14 +211,14 @@
|
||||
<xs:element name="strings">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="string" type="xs:string" maxOccurs="unbounded"/>
|
||||
<xs:element name="string" type="xs:string" minOccurs="0" 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:element name="string" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
Reference in New Issue
Block a user