Commit a4179f4d authored by Jonathan Michalon's avatar Jonathan Michalon

Original game tiles and tileset definitions translated to XML files.

Now we can work with "true life" conditions.
Note: could't translate double counting city tiles (not implemented).
parent ddd4f438
<?xml version="1.0" encoding="utf8"?>
<!DOCTYPE tiles SYSTEM "tiles.dtd">
<tiles>
<tile id="t1">
<center>None</center>
<side position="left">
<type>Path</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
<side position="top">
<type>Field</type>
<relations>
<right>True</right>
</relations>
</side>
</tile>
<tile id="t2">
<center>None</center>
<side position="right">
<type>Path</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
<side position="top">
<type>City</type>
</side>
<side position="left">
<type>Field</type>
</side>
</tile>
<tile id="t3">
<center>None</center>
<side position="right">
<type>Path</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
</relations>
</side>
</tile>
<tile id="t4">
<center>None</center>
<side position="bottom">
<type>Path</type>
</side>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
<right>True</right>
</relations>
</side>
</tile>
<tile id="t5">
<center>None</center>
<side position="bottom">
<type>Field</type>
</side>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
<right>True</right>
</relations>
</side>
</tile>
<tile id="t6">
<center>None</center>
<side position="right">
<type>Path</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
</relations>
</side>
</tile>
<tile id="t7">
<center>None</center>
<side position="bottom">
<type>Path</type>
</side>
<side position="right">
<type>Path</type>
</side>
<side position="left">
<type>Path</type>
</side>
<side position="top">
<type>City</type>
</side>
</tile>
<tile id="t8">
<center>None</center>
<side position="bottom">
<type>Path</type>
<relations>
<top>True</top>
</relations>
</side>
<side position="right">
<type>Field</type>
</side>
<side position="left">
<type>Field</type>
</side>
</tile>
<tile id="t9">
<center>None</center>
<side position="bottom">
<type>Path</type>
</side>
<side position="right">
<type>Path</type>
</side>
<side position="left">
<type>Path</type>
</side>
<side position="top">
<type>Field</type>
</side>
</tile>
<tile id="t10">
<center>None</center>
<side position="top">
<type>City</type>
</side>
<side position="right">
<type>Field</type>
<relations>
<left>True</left>
<bottom>True</bottom>
</relations>
</side>
</tile>
<tile id="t11">
<center>None</center>
<side position="top">
<type>City</type>
</side>
<side position="right">
<type>City</type>
</side>
<side position="left">
<type>Field</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
</tile>
<tile id="t12">
<center>None</center>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
<right>True</right>
</relations>
</side>
<side position="bottom">
<type>Field</type>
</side>
</tile>
<tile id="t13">
<center>Monastery</center>
<side position="top">
<type>Field</type>
<relations>
<left>True</left>
<right>True</right>
<bottom>True</bottom>
</relations>
</side>
</tile>
<tile id="t14">
<center>Monastery</center>
<side position="top">
<type>Field</type>
<relations>
<left>True</left>
<right>True</right>
</relations>
</side>
<side position="bottom">
<type>Path</type>
</side>
</tile>
<tile id="t15">
<center>None</center>
<side position="right">
<type>Field</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
</relations>
</side>
</tile>
<tile id="t16">
<center>None</center>
<side position="top">
<type>Field</type>
</side>
<side position="bottom">
<type>Field</type>
</side>
<side position="right">
<type>City</type>
<relations>
<left>True</left>
</relations>
</side>
</tile>
<tile id="t17">
<center>None</center>
<side position="left">
<type>Path</type>
<relations>
<right>True</right>
</relations>
</side>
<side position="top">
<type>City</type>
</side>
<side position="bottom">
<type>Field</type>
</side>
</tile>
<tile id="t18">
<center>None</center>
<side position="left">
<type>Path</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
<side position="top">
<type>City</type>
</side>
<side position="right">
<type>Field</type>
</side>
</tile>
<tile id="t19">
<center>None</center>
<side position="top">
<type>Field</type>
</side>
<side position="bottom">
<type>Field</type>
</side>
<side position="right">
<type>City</type>
<relations>
<left>True</left>
</relations>
</side>
</tile>
<tile id="t20">
<center>None</center>
<side position="bottom">
<type>Path</type>
</side>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
<right>True</right>
</relations>
</side>
</tile>
<tile id="t21">
<center>None</center>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
<right>True</right>
<bottom>True</bottom>
</relations>
</side>
</tile>
<tile id="t22">
<center>None</center>
<side position="bottom">
<type>Path</type>
</side>
<side position="right">
<type>Path</type>
</side>
<side position="left">
<type>Path</type>
</side>
<side position="top">
<type>Path</type>
</side>
</tile>
<tile id="t23">
<center>None</center>
<side position="right">
<type>Field</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
<side position="top">
<type>City</type>
<relations>
<left>True</left>
</relations>
</side>
</tile>
<tile id="t24">
<center>None</center>
<side position="right">
<type>City</type>
</side>
<side position="left">
<type>City</type>
</side>
<side position="top">
<type>Field</type>
<relations>
<bottom>True</bottom>
</relations>
</side>
</tile>
</tiles>
<?xml version="1.0" encoding="utf8"?>
<!DOCTYPE tileset SYSTEM "tileset.dtd">
<tileset>
<name>Original Tileset</name>
<first id="t17"/>
<tile id="t1" count="9" />
<tile id="t2" count="3" />
<tile id="t3" count="2" />
<tile id="t4" count="1" />
<tile id="t5" count="1" />
<tile id="t6" count="3" />
<tile id="t7" count="3" />
<tile id="t8" count="8" />
<tile id="t9" count="4" />
<tile id="t10" count="5" />
<tile id="t11" count="2" />
<tile id="t12" count="3" />
<tile id="t13" count="4" />
<tile id="t14" count="2" />
<tile id="t15" count="3" />
<tile id="t16" count="2" />
<tile id="t17" count="4" />
<tile id="t18" count="3" />
<tile id="t19" count="1" />
<tile id="t20" count="2" />
<tile id="t21" count="1" />
<tile id="t22" count="1" />
<tile id="t23" count="2" />
<tile id="t24" count="3" />
</tileset>
......@@ -181,7 +181,7 @@ ovcc_stack_new_from_tileset (OVCCTileSet *set)
return stack;
}
/*
/**
* ovcc_stack_add_nth:
* @stack: An #OVCCStack
* @tile: An #OVCCTile
......
......@@ -220,7 +220,7 @@ ovcc_tile_dump (const OVCCTile *tile, guint mask)
: ' ')
if (mask == OVCC_TILE_DUMP_ALL) {
g_print ("ID: %u\n", tile->id);
g_print ("\nID: %u\n", tile->id);
}
if (mask & OVCC_TILE_DUMP_TOP) {
g_print (" %c ", SIDE_VAL (TOP));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment