Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/ggz2/data/gui/configs/Imageset.xsd @ 11634

Last change on this file since 11634 was 5700, checked in by rgrieder, 15 years ago

Added eol-style native to all data files (all text based).
Also removed all mergeinfo properties (there were some in the level folder, created by a previous cleanup).

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3
4        <xsd:element name="Imageset" type="ImagesetType"/>
5       
6        <xsd:complexType name="ImagesetType">
7                <xsd:sequence>
8                        <xsd:element name="Image" type="ImageType" maxOccurs="unbounded"/>
9                </xsd:sequence>
10                <xsd:attribute name="Imagefile" type="xsd:string" use="required"/>
11                <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
12                <xsd:attribute name="Name" type="xsd:string" use="required"/>
13                <xsd:attribute name="NativeHorzRes" type="xsd:nonNegativeInteger" use="optional" default="640" />
14                <xsd:attribute name="NativeVertRes" type="xsd:nonNegativeInteger" use="optional" default="480" />
15                <xsd:attribute name="AutoScaled" type="xsd:boolean" use="optional" default="false" />
16        </xsd:complexType>
17       
18        <xsd:complexType name="ImageType">
19                <xsd:attribute name="Name" type="xsd:string" use="required"/>
20                <xsd:attribute name="XPos" type="xsd:nonNegativeInteger" use="required"/>
21                <xsd:attribute name="YPos" type="xsd:nonNegativeInteger" use="required"/>
22                <xsd:attribute name="Width" type="xsd:nonNegativeInteger" use="required"/>
23                <xsd:attribute name="Height" type="xsd:nonNegativeInteger" use="required"/>
24                <xsd:attribute name="XOffset" type="xsd:integer" use="optional" default="0"/>
25                <xsd:attribute name="YOffset" type="xsd:integer" use="optional" default="0"/>                                           
26        </xsd:complexType>
27
28</xsd:schema>
Note: See TracBrowser for help on using the repository browser.