TileMangler/resources/tmres.dtd
2021-02-02 23:23:26 +01:00

38 lines
1.3 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!ELEMENT tmres (bookmarks?, palettes?)>
<!ELEMENT bookmarks (folder | bookmark)*>
<!ELEMENT palettes (folder | palette)*>
<!ELEMENT folder (name, (folder | bookmark | palette)*)>
<!ELEMENT bookmark (description)>
<!ATTLIST bookmark
offset CDATA #REQUIRED
columns CDATA #REQUIRED
rows CDATA #REQUIRED
blockwidth CDATA #REQUIRED
blockheight CDATA #REQUIRED
rowinterleaved (true | false) #REQUIRED
sizeblocktocanvas (true | false) #REQUIRED
mode (1D | 2D) #REQUIRED
codec CDATA #REQUIRED
palIndex CDATA #REQUIRED
palette CDATA #IMPLIED
>
<!ELEMENT palette (description, data?)>
<!ATTLIST palette
id ID #IMPLIED
direct (yes | no) #REQUIRED
codec CDATA #REQUIRED
size CDATA #REQUIRED
offset CDATA #IMPLIED
endianness (little | big) "little"
>
<!ELEMENT data (#PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT description (#PCDATA)>