[atomix/wip/kill-libxml] Converted all levels
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atomix/wip/kill-libxml] Converted all levels
- Date: Mon, 30 Mar 2015 06:46:37 +0000 (UTC)
commit 1ec6891c33ca676be89b8037becfb02a1e0ce380
Author: Robert Roth <robert roth off gmail com>
Date: Mon Mar 30 09:39:05 2015 +0300
Converted all levels
data/level/aceticacid.atomix.xml | 716 +++++++--------------
data/level/acetone.atomix.xml | 1048 +++++++++++--------------------
data/level/butanol.atomix.xml | 1214 ++++++++++++-----------------------
data/level/cyclobutane.atomix.xml | 887 +++++++++-----------------
data/level/dimethylether.atomix.xml | 1047 ++++++++++--------------------
data/level/ethanal.atomix.xml | 776 ++++++++---------------
data/level/ethane.atomix.xml | 772 ++++++++---------------
data/level/ethanol.atomix.xml | 833 ++++++++----------------
data/level/ethylene.atomix.xml | 712 +++++++--------------
data/level/glycerin.atomix.xml | 1082 +++++++++++--------------------
data/level/lactic-acid.atomix.xml | 1049 +++++++++++--------------------
data/level/methanal.atomix.xml | 917 +++++++++------------------
data/level/methane.atomix.xml | 767 ++++++++---------------
data/level/methanol.atomix.xml | 781 ++++++++---------------
data/level/propanal.atomix.xml | 962 ++++++++++------------------
data/level/propylene.atomix.xml | 888 +++++++++-----------------
data/level/pyran.atomix.xml | 1030 ++++++++++-------------------
data/level/transbutylen.atomix.xml | 1076 +++++++++++--------------------
data/level/water.atomix.xml | 548 +++++-----------
19 files changed, 5844 insertions(+), 11261 deletions(-)
---
diff --git a/data/level/aceticacid.atomix.xml b/data/level/aceticacid.atomix.xml
index 590f887..c8250eb 100644
--- a/data/level/aceticacid.atomix.xml
+++ b/data/level/aceticacid.atomix.xml
@@ -1,477 +1,251 @@
<?xml version="1.0"?>
<level _name="Acetic Acid"
formula="C<sub>2</sub>H<sub>4</sub>O<sub>2</sub>">
- <environment>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="13" n_rows="13">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="3">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- <underlay>link-top-double</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-bottom-double</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="13" n_rows="13">
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="5" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="8" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-top-double</underlay>
+ </tile>
+ </position>
+ <position row="9" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-bottom-double</underlay>
+ </tile>
+ </position>
+ <position row="9" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>5</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-bottom-double</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- <underlay>link-top-double</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="5" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-bottom-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-top-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/acetone.atomix.xml b/data/level/acetone.atomix.xml
index 55afccd..3c6018c 100644
--- a/data/level/acetone.atomix.xml
+++ b/data/level/acetone.atomix.xml
@@ -1,695 +1,365 @@
<?xml version="1.0"?>
<level _name="Acetone" formula="C<sub>3</sub>H<sub>6</sub>O">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="15">
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="4">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-top-double</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- <underlay>link-bottom-double</underlay>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="15">
+ <position row="4" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-top-double</underlay>
+ </tile>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="5" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-bottom-double</underlay>
+ </tile>
+ </position>
+ <position row="5" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="6" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="9" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="10" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>5</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- <underlay>link-bottom-double</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-top-double</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="5" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-bottom-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-top-double</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/butanol.atomix.xml b/data/level/butanol.atomix.xml
index 31335bc..6eee95f 100644
--- a/data/level/butanol.atomix.xml
+++ b/data/level/butanol.atomix.xml
@@ -1,795 +1,431 @@
<?xml version="1.0"?>
<level _name="Butanol" formula="C<sub>4</sub>H<sub>10</sub>O">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="15">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="2">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="11">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="15">
+ <position row="2" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="2" col="11">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="5" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="8" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="8" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="8" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="10" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="12" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>4</n_rows>
- <n_columns>6</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="6" n_rows="4">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/cyclobutane.atomix.xml b/data/level/cyclobutane.atomix.xml
index a106ba6..04c3580 100644
--- a/data/level/cyclobutane.atomix.xml
+++ b/data/level/cyclobutane.atomix.xml
@@ -1,581 +1,318 @@
<?xml version="1.0"?>
<level _name="Cyclobutane" formula="C<sub>4</sub>H<sub>8</sub>">
- <environment>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="13" n_rows="13">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="2">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="13" n_rows="13">
+ <position row="2" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="4" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="6" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>4</n_rows>
- <n_columns>4</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="4" n_rows="4">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/dimethylether.atomix.xml b/data/level/dimethylether.atomix.xml
index 93c54aa..13be7ab 100644
--- a/data/level/dimethylether.atomix.xml
+++ b/data/level/dimethylether.atomix.xml
@@ -1,697 +1,362 @@
<?xml version="1.0"?>
<level _name="Dimethyl Ether" formula="CH<sub>3</sub>OCH<sub>3</sub>">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="15">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="2">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="15">
+ <position row="2" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="4" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="10" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="10" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="11" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="12" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>5</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="5" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/ethanal.atomix.xml b/data/level/ethanal.atomix.xml
index d32fb8a..480c659 100644
--- a/data/level/ethanal.atomix.xml
+++ b/data/level/ethanal.atomix.xml
@@ -1,519 +1,269 @@
<?xml version="1.0"?>
<level _name="Ethanal" formula="CH<sub>3</sub>CHO">
- <environment>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="13" n_rows="13">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="4">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="13" n_rows="13">
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="4" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="6" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="6" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="7" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>4</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="4" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/ethane.atomix.xml b/data/level/ethane.atomix.xml
index 6553763..5b61329 100644
--- a/data/level/ethane.atomix.xml
+++ b/data/level/ethane.atomix.xml
@@ -1,515 +1,269 @@
<?xml version="1.0"?>
<level _name="Ethane" formula="C<sub>2</sub>H<sub>6</sub>">
- <environment>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="1">
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="13" n_rows="13">
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="2">
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-right</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="13" n_rows="13">
+ <position row="2" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-right</underlay>
+ </tile>
+ </position>
+ <position row="4" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="4" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="5" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="8" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>4</n_rows>
- <n_columns>3</n_columns>
- <row no="0">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="3" n_rows="4">
+ <position row="0" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-right</underlay>
+ </tile>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/ethanol.atomix.xml b/data/level/ethanol.atomix.xml
index 295d3a1..2180d28 100644
--- a/data/level/ethanol.atomix.xml
+++ b/data/level/ethanol.atomix.xml
@@ -1,555 +1,290 @@
<?xml version="1.0"?>
<level _name="Ethanol" formula="C<sub>2</sub>H<sub>6</sub>O">
- <environment>
- <n_rows>14</n_rows>
- <n_columns>14</n_columns>
- <row no="1">
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="14" n_rows="14">
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>14</n_rows>
- <n_columns>14</n_columns>
- <row no="2">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="11">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="14" n_rows="14">
+ <position row="2" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="6" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="8" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>5</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="5" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/ethylene.atomix.xml b/data/level/ethylene.atomix.xml
index c531924..5a83c91 100644
--- a/data/level/ethylene.atomix.xml
+++ b/data/level/ethylene.atomix.xml
@@ -1,479 +1,245 @@
<?xml version="1.0"?>
<level _name="Ethylene" formula="C<sub>2</sub>H<sub>4</sub>">
- <environment>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="13" n_rows="13">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>13</n_rows>
- <n_columns>13</n_columns>
- <row no="3">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-right</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="13" n_rows="13">
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-right</underlay>
+ </tile>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="6" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="8" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="8" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>4</n_columns>
- <row no="0">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-right</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="4" n_rows="3">
+ <position row="0" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="0" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="2" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-right</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/glycerin.atomix.xml b/data/level/glycerin.atomix.xml
index 81ece4b..080092d 100644
--- a/data/level/glycerin.atomix.xml
+++ b/data/level/glycerin.atomix.xml
@@ -1,711 +1,383 @@
<?xml version="1.0"?>
<level _name="Glycerin"
formula="C<sub>3</sub>H<sub>8</sub>O<sub>3</sub>">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>13</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="13" n_rows="15">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>13</n_columns>
- <row no="2">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="13" n_rows="15">
+ <position row="2" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="6" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="8" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="8" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="9" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="10" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="12" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>5</n_rows>
- <n_columns>4</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="4" n_rows="5">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/lactic-acid.atomix.xml b/data/level/lactic-acid.atomix.xml
index c054730..65f4a56 100644
--- a/data/level/lactic-acid.atomix.xml
+++ b/data/level/lactic-acid.atomix.xml
@@ -1,693 +1,368 @@
<?xml version="1.0"?>
<level _name="Lactic Acid"
formula="C<sub>3</sub>H<sub>6</sub>O<sub>3</sub>">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="15">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="2">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-bottom-right</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="11">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-double</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-bottom-double</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-right</underlay>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="15">
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="2" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="6" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-double</underlay>
+ </tile>
+ </position>
+ <position row="6" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-bottom-double</underlay>
+ </tile>
+ </position>
+ <position row="8" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="8" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="12" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-right</underlay>
+ </tile>
+ </position>
+ <position row="12" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>5</n_rows>
- <n_columns>6</n_columns>
- <row no="0">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-bottom-double</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-bottom-right</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-double</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-right</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="6" n_rows="5">
+ <position row="0" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="0" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-bottom-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-right</underlay>
+ </tile>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/methanal.atomix.xml b/data/level/methanal.atomix.xml
index 9bb8fcc..9ef41be 100644
--- a/data/level/methanal.atomix.xml
+++ b/data/level/methanal.atomix.xml
@@ -1,621 +1,308 @@
<?xml version="1.0"?>
<level _name="Methanal" formula="CH<sub>2</sub>O">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="15">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="2">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="15">
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="2" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="12" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="12" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>2</n_columns>
- <row no="0">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="2" n_rows="3">
+ <position row="0" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="2" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/methane.atomix.xml b/data/level/methane.atomix.xml
index 8889acf..d474c06 100644
--- a/data/level/methane.atomix.xml
+++ b/data/level/methane.atomix.xml
@@ -1,519 +1,260 @@
<?xml version="1.0"?>
<level _name="Methane" formula="CH<sub>4</sub>">
- <environment>
- <n_rows>13</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="13">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>13</n_rows>
- <n_columns>15</n_columns>
- <row no="3">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="13">
+ <position row="3" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="7" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>3</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="3" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/methanol.atomix.xml b/data/level/methanol.atomix.xml
index 3ff12e8..057993d 100644
--- a/data/level/methanol.atomix.xml
+++ b/data/level/methanol.atomix.xml
@@ -1,527 +1,266 @@
<?xml version="1.0"?>
<level _name="Methanol" formula="CH<sub>3</sub>OH">
- <environment>
- <n_rows>14</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="14">
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>14</n_rows>
- <n_columns>15</n_columns>
- <row no="4">
- <col no="12">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="14">
+ <position row="4" col="12">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="6" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>4</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="4" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/propanal.atomix.xml b/data/level/propanal.atomix.xml
index 575f5dc..0ce38bf 100644
--- a/data/level/propanal.atomix.xml
+++ b/data/level/propanal.atomix.xml
@@ -1,637 +1,337 @@
<?xml version="1.0"?>
<level _name="Propanal" formula="CH<sub>3</sub>CH<sub>2</sub>CHO">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>13</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="13" n_rows="15">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>13</n_columns>
- <row no="2">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- <underlay>link-bottom-double</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-top-double</underlay>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="13" n_rows="15">
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="2" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-bottom-double</underlay>
+ </tile>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="4" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="10" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="10" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="11" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-top-double</underlay>
+ </tile>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>5</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- <underlay>link-bottom-double</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-top-double</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="5" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-bottom-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-top-double</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/propylene.atomix.xml b/data/level/propylene.atomix.xml
index 8054188..1c9f4fd 100644
--- a/data/level/propylene.atomix.xml
+++ b/data/level/propylene.atomix.xml
@@ -1,589 +1,311 @@
<?xml version="1.0"?>
<level _name="Propylene" formula="C<sub>3</sub>H<sub>6</sub>">
- <environment>
- <n_rows>13</n_rows>
- <n_columns>14</n_columns>
- <row no="1">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="14" n_rows="13">
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>13</n_rows>
- <n_columns>14</n_columns>
- <row no="2">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="14" n_rows="13">
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="4" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="4" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="5" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="7" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>3</n_rows>
- <n_columns>5</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="5" n_rows="3">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="2" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/pyran.atomix.xml b/data/level/pyran.atomix.xml
index a52b23e..10b6406 100644
--- a/data/level/pyran.atomix.xml
+++ b/data/level/pyran.atomix.xml
@@ -1,679 +1,363 @@
<?xml version="1.0"?>
<level _name="Pyran" formula="C<sub>5</sub>H<sub>6</sub>O">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="15">
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="3">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="10">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-bottom</underlay>
- <underlay>link-top-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="11">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="15">
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="4" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="5" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="5" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="7" col="10">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-bottom</underlay>
+ <underlay>link-top-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="8" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="10" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="12" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>5</n_rows>
- <n_columns>5</n_columns>
- <row no="0">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-bottom</underlay>
- <underlay>link-top-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="5" n_rows="5">
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-bottom</underlay>
+ <underlay>link-top-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="3" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/transbutylen.atomix.xml b/data/level/transbutylen.atomix.xml
index f2ae20a..c68eeff 100644
--- a/data/level/transbutylen.atomix.xml
+++ b/data/level/transbutylen.atomix.xml
@@ -1,711 +1,377 @@
<?xml version="1.0"?>
<level _name="Trans Butylen" formula="C<sub>4</sub>H<sub>8</sub>">
- <environment>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="13">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="12">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="13">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="15" n_rows="15">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="11" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="12" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="12">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="13" col="13">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>15</n_rows>
- <n_columns>15</n_columns>
- <row no="3">
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-right</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="7">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- </row>
- <row no="11">
- <col no="8">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="12">
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="15" n_rows="15">
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="4" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="6" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-right</underlay>
+ </tile>
+ </position>
+ <position row="7" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="9" col="7">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="10" col="6">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="11" col="8">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="12" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="12" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>5</n_rows>
- <n_columns>6</n_columns>
- <row no="0">
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-left</underlay>
- </tile>
- </col>
- </row>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-bottom-right</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- <underlay>link-right-double</underlay>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-left-double</underlay>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-c</base>
- <underlay>link-top-right</underlay>
- <underlay>link-bottom-right</underlay>
- <underlay>link-bottom-left</underlay>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-right</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-top-left</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="6" n_rows="5">
+ <position row="0" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="0" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-left</underlay>
+ </tile>
+ </position>
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="2" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-bottom-right</underlay>
+ </tile>
+ </position>
+ <position row="2" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ <underlay>link-right-double</underlay>
+ </tile>
+ </position>
+ <position row="2" col="3">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-left-double</underlay>
+ </tile>
+ </position>
+ <position row="2" col="5">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-c">
+ <underlay>link-top-right</underlay>
+ <underlay>link-bottom-right</underlay>
+ <underlay>link-bottom-left</underlay>
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
+ <position row="4" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-right</underlay>
+ </tile>
+ </position>
+ <position row="4" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-top-left</underlay>
+ </tile>
+ </position>
</goal>
</level>
diff --git a/data/level/water.atomix.xml b/data/level/water.atomix.xml
index adeec6a..5b6183b 100644
--- a/data/level/water.atomix.xml
+++ b/data/level/water.atomix.xml
@@ -1,375 +1,185 @@
<?xml version="1.0"?>
<level _name="Water" formula="H<sub>2</sub>O">
- <environment>
- <n_rows>12</n_rows>
- <n_columns>13</n_columns>
- <row no="1">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="2">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="3">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="4">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="5">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="6">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="1">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="9">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
- <row no="10">
- <col no="2">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="3">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="4">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="5">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="6">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="7">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="8">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="9">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="10">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- <col no="11">
- <tile>
- <type>TILE_TYPE_WALL</type>
- <base>wall-single</base>
- </tile>
- </col>
- </row>
+ <environment n_columns="13" n_rows="12">
+ <position row="1" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="1" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="2" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="3" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="4" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="5" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="6" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="7" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="1">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="8" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="9" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="2">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="3">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="4">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="5">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="6">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="7">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="8">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="9">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="10">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
+ <position row="10" col="11">
+ <tile type="TILE_TYPE_WALL" base="wall-single"/>
+ </position>
</environment>
- <scenario>
- <n_rows>12</n_rows>
- <n_columns>13</n_columns>
- <row no="3">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="7">
- <col no="9">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
- <row no="8">
- <col no="4">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- </row>
+ <scenario n_columns="13" n_rows="12">
+ <position row="3" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="7" col="9">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="8" col="4">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
</scenario>
- <goal>
- <n_rows>1</n_rows>
- <n_columns>3</n_columns>
- <row no="0">
- <col no="0">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-right</underlay>
- </tile>
- </col>
- <col no="1">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-o</base>
- <underlay>link-right</underlay>
- <underlay>link-left</underlay>
- </tile>
- </col>
- <col no="2">
- <tile>
- <type>TILE_TYPE_ATOM</type>
- <base>atom-h</base>
- <underlay>link-left</underlay>
- </tile>
- </col>
- </row>
+ <goal n_columns="3" n_rows="1">
+ <position row="0" col="0">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-right</underlay>
+ </tile>
+ </position>
+ <position row="0" col="1">
+ <tile type="TILE_TYPE_ATOM" base="atom-o">
+ <underlay>link-right</underlay>
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
+ <position row="0" col="2">
+ <tile type="TILE_TYPE_ATOM" base="atom-h">
+ <underlay>link-left</underlay>
+ </tile>
+ </position>
</goal>
</level>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]