zoomedit:

* Updated test level and DTD
This commit is contained in:
neoraider 2008-04-14 19:10:00 +00:00
parent 9c24bd0bb2
commit 7df8aa74c6
2 changed files with 87 additions and 81 deletions

View file

@ -14,7 +14,7 @@
z CDATA #REQUIRED
>
<!ELEMENT room (triangle)*>
<!ELEMENT room (floor, (triangle)*)>
<!ATTLIST room
id ID #REQUIRED
>
@ -26,6 +26,8 @@
room2 IDREF #REQUIRED
>
<!ELEMENT floor (triangle)*>
<!ELEMENT triangle (vertex, normal?, texcoords?, vertex, normal?, texcoords?, vertex, normal?, texcoords?)>
<!ATTLIST triangle
visible (true|false) "true"

228
level.lvl
View file

@ -8,70 +8,7 @@
</info>
<rooms>
<room id="r0">
<triangle texture="t0">
<vertex x="-2.0" y="-2.0" z="-6.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"/>
<vertex x="2.0" y="2.0" z="-6.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<vertex x="-2.0" y="-2.0" z="-6.0"/>
<texcoords s="0.0" t="1.0"/>
<vertex x="2.0" y="2.0" z="-6.0"/>
<texcoords s="1.0" t="0.0"/>
<vertex x="-2.0" y="2.0" z="-6.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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"/>
<vertex x="2.0" y="2.0" z="2.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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="0.0" t="0.0"/>
<vertex x="2.0" y="-2.0" z="2.0"/>
<texcoords s="0.0" t="1.0"/>
</triangle>
<triangle texture="t1">
<vertex x="-2.0" y="2.0" z="-6.0"/>
<texcoords s="0.0" t="1.0"/>
<vertex x="2.0" y="2.0" z="-6.0"/>
<texcoords s="0.0" t="0.0"/>
<vertex x="2.0" y="2.0" z="-2.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
<triangle texture="t1">
<vertex x="-2.0" y="2.0" z="-6.0"/>
<texcoords s="0.0" t="1.0"/>
<vertex x="2.0" y="2.0" z="-2.0"/>
<texcoords s="1.0" t="0.0"/>
<vertex x="-2.0" y="2.0" z="-2.0"/>
<texcoords s="1.0" t="1.0"/>
</triangle>
<triangle texture="t1">
<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="0.0" t="0.0"/>
<vertex x="2.0" y="2.0" z="2.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
<triangle texture="t1">
<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="0.0"/>
<vertex x="-2.0" y="2.0" z="2.0"/>
<texcoords s="1.0" t="1.0"/>
</triangle>
<floor>
<triangle texture="t2">
<vertex x="-2.0" y="-2.0" z="-2.0"/>
<texcoords s="0.0" t="0.0"/>
@ -104,54 +41,6 @@
<vertex x="-2.0" y="-2.0" z="-2.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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"/>
<vertex x="-2.0" y="2.0" z="-2.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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="-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"/>
</triangle>
<triangle texture="t0">
<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"/>
<vertex x="-2.0" y="2.0" z="2.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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="0.0" t="0.0"/>
<vertex x="-2.0" y="-2.0" z="2.0"/>
<texcoords s="0.0" t="1.0"/>
</triangle>
<triangle texture="t0">
<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"/>
<vertex x="2.0" y="2.0" z="-2.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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="0.0" t="0.0"/>
<vertex x="2.0" y="-2.0" z="-2.0"/>
<texcoords s="0.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"/>
@ -184,6 +73,119 @@
<vertex x="2.0" y="-2.0" z="-10.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
</floor>
<triangle texture="t0">
<vertex x="-2.0" y="-2.0" z="-6.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"/>
<vertex x="2.0" y="2.0" z="-6.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<vertex x="-2.0" y="-2.0" z="-6.0"/>
<texcoords s="0.0" t="1.0"/>
<vertex x="2.0" y="2.0" z="-6.0"/>
<texcoords s="1.0" t="0.0"/>
<vertex x="-2.0" y="2.0" z="-6.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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"/>
<vertex x="2.0" y="2.0" z="2.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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="0.0" t="0.0"/>
<vertex x="2.0" y="-2.0" z="2.0"/>
<texcoords s="0.0" t="1.0"/>
</triangle>
<triangle texture="t1">
<vertex x="-2.0" y="2.0" z="-6.0"/>
<texcoords s="0.0" t="1.0"/>
<vertex x="2.0" y="2.0" z="-6.0"/>
<texcoords s="0.0" t="0.0"/>
<vertex x="2.0" y="2.0" z="-2.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
<triangle texture="t1">
<vertex x="-2.0" y="2.0" z="-6.0"/>
<texcoords s="0.0" t="1.0"/>
<vertex x="2.0" y="2.0" z="-2.0"/>
<texcoords s="1.0" t="0.0"/>
<vertex x="-2.0" y="2.0" z="-2.0"/>
<texcoords s="1.0" t="1.0"/>
</triangle>
<triangle texture="t1">
<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="0.0" t="0.0"/>
<vertex x="2.0" y="2.0" z="2.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
<triangle texture="t1">
<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="0.0"/>
<vertex x="-2.0" y="2.0" z="2.0"/>
<texcoords s="1.0" t="1.0"/>
</triangle>
<triangle texture="t0">
<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"/>
<vertex x="-2.0" y="2.0" z="-2.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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="-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"/>
</triangle>
<triangle texture="t0">
<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"/>
<vertex x="-2.0" y="2.0" z="2.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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="0.0" t="0.0"/>
<vertex x="-2.0" y="-2.0" z="2.0"/>
<texcoords s="0.0" t="1.0"/>
</triangle>
<triangle texture="t0">
<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"/>
<vertex x="2.0" y="2.0" z="-2.0"/>
<texcoords s="0.0" t="0.0"/>
</triangle>
<triangle texture="t0">
<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="0.0" t="0.0"/>
<vertex x="2.0" y="-2.0" z="-2.0"/>
<texcoords s="0.0" t="1.0"/>
</triangle>
<triangle texture="t1">
<vertex x="2.0" y="2.0" z="-2.0"/>
<texcoords s="1.0" t="1.0"/>
@ -282,6 +284,7 @@
</triangle>
</room>
<room id="r1">
<floor>
<triangle texture="t2">
<vertex x="-2.0" y="-2.0" z="-2.0"/>
<texcoords s="0.0" t="0.0"/>
@ -298,6 +301,7 @@
<vertex x="2.0" y="-2.0" z="-2.0"/>
<texcoords s="1.0" t="0.0"/>
</triangle>
</floor>
<triangle texture="t0">
<vertex x="-2.0" y="2.0" z="2.0"/>
<texcoords s="0.0" t="0.0"/>