zoomedit:
* Updated test level and DTD
This commit is contained in:
parent
9c24bd0bb2
commit
7df8aa74c6
2 changed files with 87 additions and 81 deletions
|
@ -14,7 +14,7 @@
|
||||||
z CDATA #REQUIRED
|
z CDATA #REQUIRED
|
||||||
>
|
>
|
||||||
|
|
||||||
<!ELEMENT room (triangle)*>
|
<!ELEMENT room (floor, (triangle)*)>
|
||||||
<!ATTLIST room
|
<!ATTLIST room
|
||||||
id ID #REQUIRED
|
id ID #REQUIRED
|
||||||
>
|
>
|
||||||
|
@ -26,6 +26,8 @@
|
||||||
room2 IDREF #REQUIRED
|
room2 IDREF #REQUIRED
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<!ELEMENT floor (triangle)*>
|
||||||
|
|
||||||
<!ELEMENT triangle (vertex, normal?, texcoords?, vertex, normal?, texcoords?, vertex, normal?, texcoords?)>
|
<!ELEMENT triangle (vertex, normal?, texcoords?, vertex, normal?, texcoords?, vertex, normal?, texcoords?)>
|
||||||
<!ATTLIST triangle
|
<!ATTLIST triangle
|
||||||
visible (true|false) "true"
|
visible (true|false) "true"
|
||||||
|
|
164
level.lvl
164
level.lvl
|
@ -8,6 +8,72 @@
|
||||||
</info>
|
</info>
|
||||||
<rooms>
|
<rooms>
|
||||||
<room id="r0">
|
<room id="r0">
|
||||||
|
<floor>
|
||||||
|
<triangle texture="t2">
|
||||||
|
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="0.0" t="1.0"/>
|
||||||
|
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
</triangle>
|
||||||
|
<triangle texture="t2">
|
||||||
|
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
<vertex x="-2.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="1.0" t="0.0"/>
|
||||||
|
</triangle>
|
||||||
|
<triangle texture="t2">
|
||||||
|
<vertex x="-2.0" y="-2.0" z="2.0"/>
|
||||||
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
<vertex x="2.0" y="-2.0" z="2.0"/>
|
||||||
|
<texcoords s="0.0" t="1.0"/>
|
||||||
|
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
</triangle>
|
||||||
|
<triangle texture="t2">
|
||||||
|
<vertex x="-2.0" y="-2.0" z="2.0"/>
|
||||||
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="1.0" t="0.0"/>
|
||||||
|
</triangle>
|
||||||
|
<triangle texture="t2">
|
||||||
|
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
<vertex x="6.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="0.0" t="1.0"/>
|
||||||
|
<vertex x="6.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
</triangle>
|
||||||
|
<triangle texture="t2">
|
||||||
|
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
||||||
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
<vertex x="6.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="1.0" t="0.0"/>
|
||||||
|
</triangle>
|
||||||
|
<triangle texture="t2">
|
||||||
|
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
<vertex x="6.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="0.0" t="1.0"/>
|
||||||
|
<vertex x="6.0" y="-2.0" z="-10.0"/>
|
||||||
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
</triangle>
|
||||||
|
<triangle texture="t2">
|
||||||
|
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
||||||
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
<vertex x="6.0" y="-2.0" z="-10.0"/>
|
||||||
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
<vertex x="2.0" y="-2.0" z="-10.0"/>
|
||||||
|
<texcoords s="1.0" t="0.0"/>
|
||||||
|
</triangle>
|
||||||
|
</floor>
|
||||||
<triangle texture="t0">
|
<triangle texture="t0">
|
||||||
<vertex x="-2.0" y="-2.0" z="-6.0"/>
|
<vertex x="-2.0" y="-2.0" z="-6.0"/>
|
||||||
<texcoords s="0.0" t="1.0"/>
|
<texcoords s="0.0" t="1.0"/>
|
||||||
|
@ -72,38 +138,6 @@
|
||||||
<vertex x="-2.0" y="2.0" z="2.0"/>
|
<vertex x="-2.0" y="2.0" z="2.0"/>
|
||||||
<texcoords s="1.0" t="1.0"/>
|
<texcoords s="1.0" t="1.0"/>
|
||||||
</triangle>
|
</triangle>
|
||||||
<triangle texture="t2">
|
|
||||||
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="0.0" t="0.0"/>
|
|
||||||
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="0.0" t="1.0"/>
|
|
||||||
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="1.0" t="1.0"/>
|
|
||||||
</triangle>
|
|
||||||
<triangle texture="t2">
|
|
||||||
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="0.0" t="0.0"/>
|
|
||||||
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="1.0" t="1.0"/>
|
|
||||||
<vertex x="-2.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="1.0" t="0.0"/>
|
|
||||||
</triangle>
|
|
||||||
<triangle texture="t2">
|
|
||||||
<vertex x="-2.0" y="-2.0" z="2.0"/>
|
|
||||||
<texcoords s="0.0" t="0.0"/>
|
|
||||||
<vertex x="2.0" y="-2.0" z="2.0"/>
|
|
||||||
<texcoords s="0.0" t="1.0"/>
|
|
||||||
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="1.0" t="1.0"/>
|
|
||||||
</triangle>
|
|
||||||
<triangle texture="t2">
|
|
||||||
<vertex x="-2.0" y="-2.0" z="2.0"/>
|
|
||||||
<texcoords s="0.0" t="0.0"/>
|
|
||||||
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="1.0" t="1.0"/>
|
|
||||||
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="1.0" t="0.0"/>
|
|
||||||
</triangle>
|
|
||||||
<triangle texture="t0">
|
<triangle texture="t0">
|
||||||
<vertex x="-2.0" y="-2.0" z="-6.0"/>
|
<vertex x="-2.0" y="-2.0" z="-6.0"/>
|
||||||
<texcoords s="1.0" t="1.0"/>
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
@ -152,38 +186,6 @@
|
||||||
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
||||||
<texcoords s="0.0" t="1.0"/>
|
<texcoords s="0.0" t="1.0"/>
|
||||||
</triangle>
|
</triangle>
|
||||||
<triangle texture="t2">
|
|
||||||
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="0.0" t="0.0"/>
|
|
||||||
<vertex x="6.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="0.0" t="1.0"/>
|
|
||||||
<vertex x="6.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="1.0" t="1.0"/>
|
|
||||||
</triangle>
|
|
||||||
<triangle texture="t2">
|
|
||||||
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
|
||||||
<texcoords s="0.0" t="0.0"/>
|
|
||||||
<vertex x="6.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="1.0" t="1.0"/>
|
|
||||||
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="1.0" t="0.0"/>
|
|
||||||
</triangle>
|
|
||||||
<triangle texture="t2">
|
|
||||||
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="0.0" t="0.0"/>
|
|
||||||
<vertex x="6.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="0.0" t="1.0"/>
|
|
||||||
<vertex x="6.0" y="-2.0" z="-10.0"/>
|
|
||||||
<texcoords s="1.0" t="1.0"/>
|
|
||||||
</triangle>
|
|
||||||
<triangle texture="t2">
|
|
||||||
<vertex x="2.0" y="-2.0" z="-6.0"/>
|
|
||||||
<texcoords s="0.0" t="0.0"/>
|
|
||||||
<vertex x="6.0" y="-2.0" z="-10.0"/>
|
|
||||||
<texcoords s="1.0" t="1.0"/>
|
|
||||||
<vertex x="2.0" y="-2.0" z="-10.0"/>
|
|
||||||
<texcoords s="1.0" t="0.0"/>
|
|
||||||
</triangle>
|
|
||||||
<triangle texture="t1">
|
<triangle texture="t1">
|
||||||
<vertex x="2.0" y="2.0" z="-2.0"/>
|
<vertex x="2.0" y="2.0" z="-2.0"/>
|
||||||
<texcoords s="1.0" t="1.0"/>
|
<texcoords s="1.0" t="1.0"/>
|
||||||
|
@ -282,22 +284,24 @@
|
||||||
</triangle>
|
</triangle>
|
||||||
</room>
|
</room>
|
||||||
<room id="r1">
|
<room id="r1">
|
||||||
<triangle texture="t2">
|
<floor>
|
||||||
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
<triangle texture="t2">
|
||||||
<texcoords s="0.0" t="0.0"/>
|
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
||||||
<vertex x="-2.0" y="-2.0" z="2.0"/>
|
<texcoords s="0.0" t="0.0"/>
|
||||||
<texcoords s="0.0" t="1.0"/>
|
<vertex x="-2.0" y="-2.0" z="2.0"/>
|
||||||
<vertex x="2.0" y="-2.0" z="2.0"/>
|
<texcoords s="0.0" t="1.0"/>
|
||||||
<texcoords s="1.0" t="1.0"/>
|
<vertex x="2.0" y="-2.0" z="2.0"/>
|
||||||
</triangle>
|
<texcoords s="1.0" t="1.0"/>
|
||||||
<triangle texture="t2">
|
</triangle>
|
||||||
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
<triangle texture="t2">
|
||||||
<texcoords s="0.0" t="0.0"/>
|
<vertex x="-2.0" y="-2.0" z="-2.0"/>
|
||||||
<vertex x="2.0" y="-2.0" z="2.0"/>
|
<texcoords s="0.0" t="0.0"/>
|
||||||
<texcoords s="1.0" t="1.0"/>
|
<vertex x="2.0" y="-2.0" z="2.0"/>
|
||||||
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
<texcoords s="1.0" t="1.0"/>
|
||||||
<texcoords s="1.0" t="0.0"/>
|
<vertex x="2.0" y="-2.0" z="-2.0"/>
|
||||||
</triangle>
|
<texcoords s="1.0" t="0.0"/>
|
||||||
|
</triangle>
|
||||||
|
</floor>
|
||||||
<triangle texture="t0">
|
<triangle texture="t0">
|
||||||
<vertex x="-2.0" y="2.0" z="2.0"/>
|
<vertex x="-2.0" y="2.0" z="2.0"/>
|
||||||
<texcoords s="0.0" t="0.0"/>
|
<texcoords s="0.0" t="0.0"/>
|
||||||
|
|
Reference in a new issue