From 3b2e35b66b0df22093505270bbabfc868a0a9a2b Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 14 May 2007 17:38:01 +0000 Subject: libzoom: XML level loader implemented. zoom: Converted old test level to XML. --- levels/level.dtd | 26 ++++-- levels/level.lvl | Bin 2111 -> 1066 bytes levels/level1.lvl | Bin 1399 -> 0 bytes levels/level1.txt | 122 ------------------------- levels/level2.lvl | Bin 3879 -> 0 bytes levels/level2.txt | 266 ------------------------------------------------------ levels/level2.xml | 35 ------- 7 files changed, 18 insertions(+), 431 deletions(-) delete mode 100755 levels/level1.lvl delete mode 100755 levels/level1.txt delete mode 100755 levels/level2.lvl delete mode 100755 levels/level2.txt delete mode 100644 levels/level2.xml diff --git a/levels/level.dtd b/levels/level.dtd index 29397bc..6b757f9 100644 --- a/levels/level.dtd +++ b/levels/level.dtd @@ -1,7 +1,7 @@ - + - + @@ -13,9 +13,12 @@ z CDATA #REQUIRED > - + + + @@ -32,11 +35,18 @@ z CDATA #REQUIRED > + + + diff --git a/levels/level.lvl b/levels/level.lvl index f6e324f..c93ba04 100755 Binary files a/levels/level.lvl and b/levels/level.lvl differ diff --git a/levels/level1.lvl b/levels/level1.lvl deleted file mode 100755 index cefb91b..0000000 Binary files a/levels/level1.lvl and /dev/null differ diff --git a/levels/level1.txt b/levels/level1.txt deleted file mode 100755 index c0592c8..0000000 --- a/levels/level1.txt +++ /dev/null @@ -1,122 +0,0 @@ -room - triangle wall - vertices - -10 -10 -10 - 10 -10 -10 - 10 10 -10 - texture blue.png - 0 0 - 10 0 - 10 10 - end - triangle wall - vertices - -10 -10 -10 - 10 10 -10 - -10 10 -10 - texture blue.png - 0 0 - 10 10 - 0 10 - end - triangle wall - vertices - -10 -10 10 - -10 10 10 - 10 10 10 - texture blue.png - 10 10 - 0 10 - 0 0 - end - triangle wall - vertices - -10 -10 10 - 10 10 10 - 10 -10 10 - texture blue.png - 10 10 - 0 0 - 10 0 - end - triangle wall - vertices - -10 10 -10 - 10 10 -10 - 10 10 10 - texture blue.png - 0 0 - 10 0 - 10 10 - end - triangle wall - vertices - -10 10 -10 - 10 10 10 - -10 10 10 - texture blue.png - 0 0 - 10 10 - 0 10 - end - triangle floor - vertices - -10 -10 10 - 10 -10 10 - 10 -10 -10 - texture blue.png - 0 10 - 10 10 - 10 0 - end - triangle floor - vertices - -10 -10 10 - 10 -10 -10 - -10 -10 -10 - texture blue.png - 0 10 - 10 0 - 0 0 - end - triangle wall - vertices - -10 -10 -10 - -10 10 -10 - -10 10 10 - texture blue.png - 10 10 - 10 0 - 0 0 - end - triangle wall - vertices - -10 -10 -10 - -10 10 10 - -10 -10 10 - texture blue.png - 10 10 - 0 0 - 0 10 - end - triangle wall - vertices - 10 -10 10 - 10 10 10 - 10 10 -10 - texture blue.png - 10 10 - 10 0 - 0 0 - end - triangle wall - vertices - 10 -10 10 - 10 10 -10 - 10 -10 -10 - texture blue.png - 10 10 - 0 0 - 0 10 - end -end diff --git a/levels/level2.lvl b/levels/level2.lvl deleted file mode 100755 index b8e7b9a..0000000 Binary files a/levels/level2.lvl and /dev/null differ diff --git a/levels/level2.txt b/levels/level2.txt deleted file mode 100755 index ce888f3..0000000 --- a/levels/level2.txt +++ /dev/null @@ -1,266 +0,0 @@ -room - triangle wall - vertices - -2 -2 -6 - 2 -2 -6 - 2 2 -6 - texture green.png - 0 1 - 1 1 - 1 0 - end - triangle wall - vertices - -2 -2 -6 - 2 2 -6 - -2 2 -6 - texture green.png - 0 1 - 1 0 - 0 0 - end - triangle wall - vertices - -2 -2 2 - -2 2 2 - 2 2 2 - texture green.png - 1 1 - 1 0 - 0 0 - end - triangle wall - vertices - -2 -2 2 - 2 2 2 - 2 -2 2 - texture green.png - 1 1 - 0 0 - 0 1 - end - triangle wall - vertices - -2 2 -6 - 2 2 -6 - 2 2 -2 - texture metallic.png - 0 1 - 0 0 - 2 0 - end - triangle wall - vertices - -2 2 -6 - 2 2 -2 - -2 2 -2 - texture metallic.png - 0 1 - 2 0 - 2 1 - end - triangle wall - vertices - -2 2 -2 - 2 2 -2 - 2 2 2 - texture metallic.png - 0 1 - 0 0 - 2 0 - end - triangle wall - vertices - -2 2 -2 - 2 2 2 - -2 2 2 - texture metallic.png - 0 1 - 2 0 - 2 1 - end - triangle floor - vertices - -2 -2 2 - 2 -2 2 - 2 -2 -6 - texture light.png - 0 0 - 0 1 - 2 1 - end - triangle floor - vertices - -2 -2 2 - 2 -2 -6 - -2 -2 -6 - texture light.png - 0 0 - 2 1 - 2 0 - end - triangle wall - vertices - -2 -2 -6 - -2 2 -6 - -2 2 2 - texture green.png - 2 1 - 2 0 - 0 0 - end - triangle wall - vertices - -2 -2 -6 - -2 2 2 - -2 -2 2 - texture green.png - 2 1 - 0 0 - 0 1 - end - triangle wall - vertices - 2 -2 2 - 2 2 2 - 2 2 -2 - texture green.png - 1 1 - 1 0 - 0 0 - end - triangle wall - vertices - 2 -2 2 - 2 2 -2 - 2 -2 -2 - texture green.png - 1 1 - 0 0 - 0 1 - end - triangle floor - vertices - 2 -2 -2 - 6 -2 -2 - 6 -2 -10 - texture light.png - 0 0 - 0 1 - 2 1 - end - triangle floor - vertices - 2 -2 -2 - 6 -2 -10 - 2 -2 -10 - texture light.png - 0 0 - 2 1 - 2 0 - end - triangle wall - vertices - 2 2 -2 - 2 2 -10 - 6 2 -10 - texture metallic.png - 2 1 - 0 1 - 0 0 - end - triangle wall - vertices - 2 2 -2 - 6 2 -10 - 6 2 -2 - texture metallic.png - 2 1 - 0 0 - 2 0 - end - triangle wall - vertices - 2 -2 -10 - 6 -2 -10 - 6 2 -10 - texture green.png - 0 1 - 1 1 - 1 0 - end - triangle wall - vertices - 2 -2 -10 - 6 2 -10 - 2 2 -10 - texture green.png - 0 1 - 1 0 - 0 0 - end - triangle wall - vertices - 2 -2 -10 - 2 2 -10 - 2 2 -6 - texture green.png - 1 1 - 1 0 - 0 0 - end - triangle wall - vertices - 2 -2 -10 - 2 2 -6 - 2 -2 -6 - texture green.png - 1 1 - 0 0 - 0 1 - end - triangle wall - vertices - 2 -2 -2 - 2 2 -2 - 6 2 -2 - texture green.png - 1 1 - 1 0 - 0 0 - end - triangle wall - vertices - 2 -2 -2 - 6 2 -2 - 6 -2 -2 - texture green.png - 1 1 - 0 0 - 0 1 - end - triangle wall - vertices - 6 -2 -2 - 6 2 -2 - 6 2 -10 - texture green.png - 2 1 - 2 0 - 0 0 - end - triangle wall - vertices - 6 -2 -2 - 6 2 -10 - 6 -2 -10 - texture green.png - 2 1 - 0 0 - 0 1 - end - object medipak100 - 4 -1 -8 - object medipak100 - 4 -1 -4 -end diff --git a/levels/level2.xml b/levels/level2.xml deleted file mode 100644 index 67a5f43..0000000 --- a/levels/level2.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Test Level - Just a simple test level. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3