]> Dogcows Code - chaz/yoink/blobdiff - data/scenes/Test.xml
scene drawing correctly implemented; new classes
[chaz/yoink] / data / scenes / Test.xml
diff --git a/data/scenes/Test.xml b/data/scenes/Test.xml
deleted file mode 100644 (file)
index fa92959..0000000
+++ /dev/null
@@ -1,824 +0,0 @@
-<?xml version="1.0" standalone="yes"?> 
-<scene name="Test" playfield_bounds="0 0 -100 1280 500 100"
-       maximum_bounds="-800 0 -300 2400 1000 600">
-
-<!-- Left end tower block -->
-
-       <!-- Front -->
-
-       <reset_transform/>
-       <translate>-5 0 5</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap width="5">
-               2       2       2       2       2
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               1       0       0       1       0
-               4       4       4       4       4
-       </tilemap>
-
-       <!-- Right side -->
-
-       <reset_transform/>
-       <rotate axis="y">90</rotate>
-       <translate>0 0 5</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap surface_type="right" width="5">
-               2       2       2       2       2
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       6
-               4       5       5       5       4
-       </tilemap>
-
-       <!-- Top -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>-5 15 0</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap surface_type="top" width="5">
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-       </tilemap>
-
-<!-- Leftmost background tower block -->
-
-       <!-- Front -->
-
-       <reset_transform/>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap width="7" detail_level="1">
-               2       2       2       2       2       2       2
-               0       1       0       0       0       1       0
-               0       1       0       0       0       1       0
-               0       1       0       0       6       1       0
-               0       1       0       0       0       1       0
-               0       1       0       0       0       1       0
-               0       1       0       0       0       1       0
-               4       4       5       5       5       4       4
-       </tilemap>
-
-       <!-- Right side -->
-
-       <reset_transform/>
-       <rotate axis="y">90</rotate>
-       <translate>7 0 0</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap width="6" detail_level="1">
-               2       2       2       2       2       2
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               4       4       4       4       4       4
-       </tilemap>
-
-       <!-- Top -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>-2 8 -6</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap width="9" detail_level="1">
-               3       3       3       3       3       3       3       3       3
-               3       3       3       3       3       3       3       3       3
-               3       3       3       3       3       3       3       3       3
-               3       3       3       3       3       3       3       3       3
-               3       3       3       3       3       3       3       3       3
-               3       3       3       3       3       3       3       3       3
-       </tilemap>
-
-<!-- Foreground building with pitched roof -->
-
-       <!-- Left wall -->
-
-       <reset_transform/>
-       <rotate axis="y">-90</rotate>
-       <translate>10 0 1</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap surface_type="left" width="4">
-               -1      9       11      -1
-               9       10      12      11
-               15      7       7       16
-               3       5       6       4
-               3       6       5       4
-       </tilemap>
-
-       <!-- Right wall -->
-
-       <reset_transform/>
-       <rotate axis="y">-90</rotate>
-       <translate>13 0 1</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap surface_type="right" width="4">
-               -1      9       11      -1
-               9       10      12      11
-               15      7       7       16
-               3       5       6       4
-               3       8       5       4
-       </tilemap>
-
-       <!-- Front wall -->
-
-       <reset_transform/>
-       <translate>10 0 5</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap width="3">
-               15      7       16
-               3       5       4
-               3       6       4
-       </tilemap>
-
-       <!-- Pitched roof -->
-
-       <reset_transform/>
-       <rotate axis="x">135</rotate>
-       <scale>1 1.5 1.5</scale>
-       <translate>10 5 3</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap width="3">
-               13      13      13
-               13      13      13
-       </tilemap>
-
-       <!-- Finial -->
-
-       <reset_transform/>
-       <translate>10 5 3</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap width="3">
-               18      18      18
-       </tilemap>
-
-       <!-- Cheaty invisible platform -->
-
-       <reset_transform/>
-       <translate>10 4 3</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap surface_type="top" width="3">
-               -1      -1      -1
-       </tilemap>
-
-<!-- The ground -->
-
-       <!-- Courtyard -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>-3 0 0</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <tilemap surface_type="top" width="13">
-               1       1       1       1       1       1       1       1       1       1       1       1       1
-               1       1       1       1       1       1       1       1       1       1       1       1       1
-               -1      -1      -1      1       0       0       0       0       0       0       0       0       1
-               -1      -1      -1      1       0       0       0       0       0       0       0       0       1
-               -1      -1      -1      1       0       0       0       0       0       0       0       0       1
-               -1      -1      -1      1       0       0       0       0       0       0       0       0       1
-               -1      -1      -1      1       1       1       1       1       1       1       1       1       1
-       </tilemap>
-
-       <!-- Front grass -->
-
-       <reset_transform/>
-       <scale>8 1 1</scale>
-       <translate>1 -0.5 5</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="8" detail_level="2"/>
-
-       <!-- Back grass -->
-
-       <reset_transform/>
-       <scale>8 1 1</scale>
-       <translate>1 -0.5 1</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="8" detail_level="2"/>
-
-       <!-- Left grass -->
-
-       <reset_transform/>
-       <scale>4 1 1</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>1 -0.5 1</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="4" detail_level="2"/>
-
-       <!-- Right grass -->
-
-       <reset_transform/>
-       <scale>4 1 1</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>9 -0.5 1</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="4" detail_level="2"/>
-
-       <!-- Fence behind house -->
-
-       <reset_transform/>
-       <scale>11 1 1</scale>
-       <translate>7 0 0</translate>
-       <scale>32</scale>
-
-       <texture>Scenery</texture>
-       <billboard tile="4" u_scale="11" detail_level="2"/>
-
-<!-- Background building with pitched roof -->
-
-       <!-- Front wall -->
-
-       <reset_transform/>
-       <translate>19 0 0</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap width="4" detail_level="1">
-               -1      9       11      -1
-               9       10      12      11
-               15      7       7       16
-               3       6       5       4
-               3       5       6       4
-               3       8       5       4
-       </tilemap>
-
-       <!-- Left wall -->
-
-       <reset_transform/>
-       <rotate axis="y">-90</rotate>
-       <translate>19 0 -3</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap surface_type="left" width="3" detail_level="1">
-               15      1       16
-               3       7       4
-               3       5       4
-               3       0       4
-       </tilemap>
-
-       <!-- Right wall -->
-
-       <reset_transform/>
-       <rotate axis="y">-90</rotate>
-       <translate>23 0 -3</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap surface_type="right" width="3" detail_level="1">
-               15      0       16
-               3       7       4
-               3       6       4
-               3       2       4
-       </tilemap>
-
-       <!-- Left pitched roof -->
-
-       <reset_transform/>
-       <rotate axis="x">135</rotate>
-       <scale>1 1.5 1.5</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>21 6 -3</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap width="3" detail_level="1">
-               13      13      13
-               13      13      13
-       </tilemap>
-
-       <!-- Right pitched roof -->
-
-       <reset_transform/>
-       <rotate axis="x">-135</rotate>
-       <scale>1 1.5 1.5</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>21 6 -3</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap width="3" detail_level="1">
-               13      13      13
-               13      13      13
-       </tilemap>
-
-       <!-- Finial -->
-
-       <reset_transform/>
-       <rotate axis="y">-90</rotate>
-       <translate>21 6 -3</translate>
-       <scale>32</scale>
-
-       <texture>Building</texture>
-       <tilemap width="3" detail_level="1">
-               18      18      18
-       </tilemap>
-
-<!-- More ground to the right -->
-
-       <!-- Ground under house -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>10 0 0</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <tilemap surface_type="top" width="3">
-               1       1       1
-               1       1       1
-               -1      -1      -1
-               -1      -1      -1
-               -1      -1      -1
-               -1      -1      -1
-               1       1       1
-       </tilemap>
-
-       <!-- Left part of centre courtyard -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>13 0 0</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <tilemap surface_type="top" width="8">
-               1       1       1       1       1       1       1       1
-               1       1       1       1       1       1       1       1
-               1       0       0       0       0       0       0       0
-               1       0       0       0       0       0       1       1
-               0       0       0       0       0       0       1       1
-               1       0       0       0       0       0       0       0
-               1       1       1       1       1       0       0       0
-       </tilemap>
-
-       <!-- Front grass -->
-
-       <reset_transform/>
-       <scale>12 1 1</scale>
-       <translate>14 -0.5 5</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="12" detail_level="2"/>
-
-       <!-- Back grass -->
-
-       <reset_transform/>
-       <scale>4 1 1</scale>
-       <translate>14 -0.5 1</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="4" detail_level="2"/>
-
-       <!-- Front grass next to door -->
-
-       <reset_transform/>
-       <scale>1 1 1</scale>
-       <translate>13 -0.5 3</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="1" detail_level="2"/>
-
-       <!-- Back grass next to door -->
-
-       <reset_transform/>
-       <scale>1 1 1</scale>
-       <translate>13 -0.5 2</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="1" detail_level="2"/>
-
-       <!-- Left grass -->
-
-       <reset_transform/>
-       <rotate axis="y">-90</rotate>
-       <translate>14 -0.5 1</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <tilemap width="4" detail_level="2">
-               2       -1      2       2
-       </tilemap>
-
-       <!-- Grass left of house -->
-
-       <reset_transform/>
-       <rotate axis="y">-90</rotate>
-       <scale>1 1 1</scale>
-       <translate>18 -0.5 0</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="1" detail_level="2"/>
-
-       <!-- Grass right of house -->
-
-       <reset_transform/>
-       <rotate axis="y">-90</rotate>
-       <scale>1 1 1</scale>
-       <translate>24 -0.5 0</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="1" detail_level="2"/>
-
-       <!-- Front grass in centre -->
-
-       <reset_transform/>
-       <scale>4 1 1</scale>
-       <translate>19 -0.5 4</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="4" detail_level="2"/>
-
-       <!-- Back grass in centre -->
-
-       <reset_transform/>
-       <scale>4 1 1</scale>
-       <translate>19 -0.5 2</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="4" detail_level="2"/>
-
-       <!-- Left grass in centre -->
-
-       <reset_transform/>
-       <scale>2 1 1</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>19 -0.5 2</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="2" detail_level="2"/>
-
-       <!-- Right grass in centre -->
-
-       <reset_transform/>
-       <scale>2 1 1</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>23 -0.5 2</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="2" detail_level="2"/>
-
-<!-- Still more ground -->
-
-       <!-- Right part of centre courtyard -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>21 0 0</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <tilemap surface_type="top" width="7">
-               1       1       1       1       1       0       0
-               1       1       1       1       1       0       0
-               0       0       0       0       0       0       0
-               1       1       0       0       0       0       0
-               1       1       0       0       0       0       0
-               0       0       0       0       0       0       0
-               0       0       0       1       1       1       1
-       </tilemap>
-
-       <!-- Fence to right of back house -->
-
-       <reset_transform/>
-       <scale>4 1 1</scale>
-       <translate>24 0 0</translate>
-       <scale>32</scale>
-
-       <texture>Scenery</texture>
-       <billboard tile="4" u_scale="4" detail_level="2"/>
-
-       <!-- Grass in front of fence -->
-
-       <reset_transform/>
-       <scale>4 1 1</scale>
-       <translate>24 -0.5 1</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="4" detail_level="2"/>
-
-       <!-- Grass to left of tower block -->
-
-       <reset_transform/>
-       <scale>2 1 1</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>26 -0.5 5</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="2" detail_level="2"/>
-
-       <!-- Grass to right of tower block -->
-
-       <reset_transform/>
-       <scale>2 1 1</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>35 -0.5 5</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="2" detail_level="2"/>
-
-       <!-- Next bit of grass -->
-
-       <reset_transform/>
-       <scale>5 1 1</scale>
-       <translate>35 -0.5 5</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="5" detail_level="2"/>
-
-       <!-- Back grass -->
-
-       <reset_transform/>
-       <scale>6 1 1</scale>
-       <translate>34 -0.5 1</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="6" detail_level="2"/>
-
-       <!-- Extra bit of back grass -->
-
-       <reset_transform/>
-       <scale>1 1 1</scale>
-       <rotate axis="y">-90</rotate>
-       <translate>34 -0.5 0</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <billboard tile="2" u_scale="1" detail_level="2"/>
-
-       <!-- Ground around tower block -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>28 0 4</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <tilemap surface_type="top" width="5">
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-       </tilemap>
-
-       <!-- Rightmost ground -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>33 0 0</translate>
-       <scale>32</scale>
-       <texture>Scenery</texture>
-       <tilemap surface_type="top" width="10">
-               0       0       1       1       1       1       1       1       1       1
-               0       0       1       1       1       1       1       1       1       1
-               0       0       0       0       0       0       0       -1      -1      -1
-               0       0       0       0       0       0       0       -1      -1      -1
-               0       0       0       0       0       0       0       -1      -1      -1
-               0       0       0       0       0       0       0       -1      -1      -1
-               0       1       1       1       1       1       1       -1      -1      -1
-       </tilemap>
-
-<!-- Right foreground tower block -->
-
-       <!-- Front -->
-
-       <reset_transform/>
-       <translate>28 0 4</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap width="5">
-               2       2       2       2       2
-               0       0       0       0       0
-               0       0       0       0       6
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       6       0
-               4       4       4       4       4
-       </tilemap>
-
-       <!-- Right side -->
-
-       <reset_transform/>
-       <rotate axis="y">90</rotate>
-       <translate>33 0 4</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap surface_type="right" width="6">
-               2       2       2       2       2       2
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               5       4       5       5       4       5
-       </tilemap>
-
-       <!-- Left side -->
-
-       <reset_transform/>
-       <rotate axis="y">90</rotate>
-       <translate>28 0 4</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap surface_type="left" width="6">
-               2       2       2       2       2       2
-               0       1       6       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               0       1       0       0       1       0
-               5       4       5       5       4       5
-       </tilemap>
-
-       <!-- Top -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>28 7 -2</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap surface_type="top" width="5">
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-       </tilemap>
-
-<!-- Right end tower block -->
-
-       <!-- Front -->
-
-       <reset_transform/>
-       <translate>40 0 5</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap width="5">
-               2       2       2       2       2
-               0       1       0       0       1
-               0       1       0       0       1
-               0       1       0       0       1
-               0       1       0       0       1
-               6       1       0       0       1
-               0       1       0       0       1
-               0       1       0       0       1
-               0       1       0       0       1
-               0       1       0       0       1
-               0       1       0       0       1
-               6       1       0       0       1
-               0       1       0       0       1
-               0       1       0       0       1
-               4       4       4       4       4
-       </tilemap>
-
-       <!-- Left side -->
-
-       <reset_transform/>
-       <rotate axis="y">90</rotate>
-       <translate>40 0 5</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap surface_type="left" width="5">
-               2       2       2       2       2
-               6       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       6       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       6       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               0       0       0       0       0
-               4       5       5       5       4
-       </tilemap>
-
-       <!-- Top -->
-
-       <reset_transform/>
-       <rotate axis="x">90</rotate>
-       <translate>40 15 0</translate>
-       <scale>32</scale>
-
-       <texture>TowerBlock1</texture>
-       <tilemap surface_type="top" width="5">
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-               3       3       3       3       3
-       </tilemap>
-
-<!-- Background -->
-
-       <reset_transform/>
-       <translate>-0.3 -0.17 -900</translate>
-       <scale>3200 1600 1</scale>
-       <texture>BackgroundFar</texture>
-       <billboard fog="false"/>
-
-       <translate>0 0 300</translate>
-       <texture>BackgroundNear</texture>
-       <billboard blend="true" fog="false"/>
-
-<!-- Trees -->
-
-       <texture>Trees</texture>
-
-       <!-- Left courtyard -->
-
-       <reset_transform/>
-       <scale>96</scale>
-       <translate>250 -2.5 16</translate>
-
-       <billboard tile="1" detail_level="1"/>
-
-       <!-- Centre courtyard -->
-
-       <reset_transform/>
-       <scale>96</scale>
-       <translate>610 -2.5 85</translate>
-
-       <billboard tile="0"/>
-
-       <reset_transform/>
-       <scale>96</scale>
-       <translate>650 -2.5 115</translate>
-
-       <billboard tile="1"/>
-
-       <!-- Right courtyard -->
-
-       <reset_transform/>
-       <scale>96</scale>
-       <translate>1080 -2.5 10</translate>
-
-       <billboard tile="1" detail_level="1"/>
-
-       <reset_transform/>
-       <scale>96</scale>
-       <translate>1120 -2.5 -15</translate>
-
-       <billboard tile="0" detail_level="1"/>
-
-       <reset_transform/>
-       <scale>96</scale>
-       <translate>1220 -2.5 -30</translate>
-
-       <billboard tile="1" detail_level="1"/>
-</scene>
This page took 0.034301 seconds and 4 git commands to generate.