2001-12-28 22:37:57 +00:00
|
|
|
<!--
|
|
|
|
************************************************************************
|
|
|
|
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?">
|
|
|
|
|
|
|
|
<!ELEMENT PropertyList (material+)>
|
2007-04-21 12:13:51 +00:00
|
|
|
<!ELEMENT material (name+, texture, wrapu?, wrapv?, mipmap?, filtering?,
|
|
|
|
xsize?, ysize?,
|
2001-12-28 22:37:57 +00:00
|
|
|
light-coverage?, ambient?, diffuse?, specular?, emissive?)>
|
|
|
|
<!ELEMENT name (#PCDATA)>
|
|
|
|
<!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)>
|