1
0
Fork 0
fgdata/Materials/materials.dtd

41 lines
1.2 KiB
DTD
Raw Normal View History

<!--
************************************************************************
XML DTD for FlightGear Materials.
This DTD is advisory only: it is perfectly legal to include additional
properties in materials.xml.
************************************************************************
-->
<!ENTITY % colours "r?, g?, b?, a?">
2014-08-09 19:33:50 +00:00
<!ELEMENT PropertyList (region+) >
<!ELEMENT region (name?,area*,condition?,material+)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT area (lat1,lat2,lon1,lon2)>
<!ELEMENT lat1 (#PCDATA)>
<!ELEMENT lat2 (#PCDATA)>
<!ELEMENT lon1 (#PCDATA)>
<!ELEMENT lon2 (#PCDATA)>
<!ELEMENT condition ANY>
<!ELEMENT material (name+, (texture|texture-set), wrapu?, wrapv?, mipmap?,
xsize?, ysize?,
light-coverage?, ambient?, diffuse?, specular?, emissive?)>
<!ELEMENT name (#PCDATA)>
2014-08-09 19:33:50 +00:00
<!ELEMENT texture-set (texture+)>
<!ELEMENT texture (#PCDATA)>
<!ELEMENT wrapu (#PCDATA)>
<!ELEMENT wrapv (#PCDATA)>
<!ELEMENT mipmap (#PCDATA)>
<!ELEMENT xsize (#PCDATA)>
<!ELEMENT ysize (#PCDATA)>
<!ELEMENT light-coverage (#PCDATA)>
<!ELEMENT ambient (%colours;)>
<!ELEMENT diffuse (%colours;)>
<!ELEMENT specular (%colours;)>
<!ELEMENT emissive (%colours;)>
<!ELEMENT r (#PCDATA)>
<!ELEMENT g (#PCDATA)>
<!ELEMENT b (#PCDATA)>
<!ELEMENT a (#PCDATA)>