Uploading the start of a schema-thing for boes, a new scenario format.

git-svn-id: http://openexile.googlecode.com/svn/trunk@172 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
Sylae Corell
2013-01-25 02:31:25 +00:00
parent 5f94f2cf49
commit f443171f7c
3 changed files with 268 additions and 0 deletions

7
rsrc/boes/README.txt Normal file
View File

@@ -0,0 +1,7 @@
boes is a new human-readable XML scenario data format, intended to replace the glorious exs.
features will include embedded resources, more accessibility, and being a gzipped tarball with a different name
work in progress
-- sy

62
rsrc/boes/scenario Normal file
View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<scenario boes="1.0">
<!-- boes == blades of exile scenario -->
<title>The File Test Scenario</title>
<!-- Human-readable -->
<id>1359072240-14121234</id>
<!-- Unix time of creation, plus random number.
used to help sort stuff. Doesn't change after creation.
-->
<version>1.0.0-a</version>
<language>en_US</language>
<!-- For any future i18n support, maybe -->
<author id="5482">
<!-- global author ID for sort stuff.
For a current standard, we could use SW member number.
just to make any server-browser stuff easier
-->
<name>Sylae Jiendra Corell</name><!-- Human-readable -->
<mail>sylae@calref.net</mail><!-- Human-readable -->
</author>
<text>
<teaser1>Who wrote 1</teaser1><!-- Human-readable -->
<teaser2>Who wrote 2</teaser2><!-- Human-readable -->
</text>
<ratings>
<user>
<content>g</content>
<!-- g,pg,r,nc17 -->
<difficulty>1</difficulty>
<!-- 1,2,3,4
low,medium,high,very high, repectively
-->
</user>
</ratings>
<flags>
<adjust_difficulty>true</adjust_difficulty>
<legacy>none</legacy>
<!-- Options:
spidweb: original boe
none: goes off of cboe version
-->
</flags>
<creator>
<type>cboe</type>
<version>1.2.0a</version>
<os>win7-x64</os>
</creator>
<icon>8</icon>
<!-- For a custom icon, use
<icon custom="true" x="0" y="0">scenicon.png</icon>
where x and y are offsets to the TL corner of the icon
-->
</scenario>

199
rsrc/boes/town/t0 Normal file
View File

@@ -0,0 +1,199 @@
<?xml version="1.0" encoding="UTF-8"?>
<town boes="1.0">
<size>
<x>48</x>
<y>48</y>
</size>
<name>Town name</name>
<bounds>
<bound id="0">
<tl>4</tl>
<br>44</br>
</bound>
</bounds>
<terrain>
<row x="1">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
<!-- comma-seperated, tile type -->
</row>
<row x="2">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="3">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="4">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="5">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="6">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="7">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="8">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="9">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="10">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="11">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="12">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="13">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="14">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="15">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="16">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="17">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="18">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="19">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="20">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="21">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="22">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,122,122,122,122,122,122,122,122,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="23">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,122,170,170,170,170,170,170,170,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="24">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,122,170,170,170,170,170,170,170,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="25">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,125,170,170,247:0,170,170,170,170,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
<!-- add a : to specify a special is there. 247:0 is 247 with special 0 -->
</row>
<row x="26">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,121!0,122,170,170,170,170,170,170,170,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
<!-- add a ! to specify a sign is there. 121!0 is 121 with sign 0 -->
</row>
<row x="27">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,122,170,170,170,170,170,170,170,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="28">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,122,170,170,170,170,170,170,170,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="29">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,122,170,170,170,170,170,170,170,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="30">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,122,122,122,122,122,122,122,122,122,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="31">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="32">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="33">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="34">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="35">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="36">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="37">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="38">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="39">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="40">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="41">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="42">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="43">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="44">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="45">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="46">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
<row x="47">
<tiles>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</tiles>
</row>
</terrain>
<specials>
<special id="0">
<type>181</type> <!-- consts.h. maybe this will allow custom nodes sometime, although that could be...fun -->
<sdf>
<x>-1</x>
<y>-1</y>
</sdf>
<messages>
<m1>0</m1>
<m2>1</m2>
</messages>
<extra1>
<a>26</a>
<b>16</b>
</extra1>
<extra2>
<a>1</a>
<b>1</b>
</extra2>
<jump>-1</jump>
</special>
</specials>
<signs>
<sign id="0">120</sign><!-- refers to text node -->
</signs>
<fields>
<field id="0">
<x>25</x>
<y>17</y>
<type>128</type><!-- fields.h, bitmask thing -->
</field>
</fields>
<sfxs>
<sfx id="0">
<x>27</x>
<y>17</y>
<type>4</type><!-- fields.h, bitmask thing -->
</sfx>
</sfxs>
</town>