94 lines
4.6 KiB
XML
94 lines
4.6 KiB
XML
<?xml version="1.0" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<svg viewBox="-1440 1499 2390 3163" xmlns="http://www.w3.org/2000/svg">
|
|
<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="map.css" type="text/css"/>
|
|
<defs>
|
|
<polygon id="point" points="0,10 8.66,5 8.66,-5 0,-10 -8.66,-5 -8.66,5"/>
|
|
<polygon id="hex" points="0,10 8.66,5 8.66,-5 0,-10 -8.66,-5 -8.66,5"/>
|
|
|
|
<circle id="counter-base" cx="0" cy="0" r="5"/>
|
|
|
|
<g id="t-1" class="troop-counter-template"><use href="#counter-base"/><text>1</text></g>
|
|
<g id="t-2" class="troop-counter-template"><use href="#counter-base"/><text>2</text></g>
|
|
<g id="t-3" class="troop-counter-template"><use href="#counter-base"/><text>3</text></g>
|
|
<g id="t-4" class="troop-counter-template"><use href="#counter-base"/><text>4</text></g>
|
|
<g id="t-5" class="troop-counter-template"><use href="#counter-base"/><text>5</text></g>
|
|
<g id="t-6" class="troop-counter-template"><use href="#counter-base"/><text>6</text></g>
|
|
<g id="t-7" class="troop-counter-template"><use href="#counter-base"/><text>7</text></g>
|
|
|
|
<g id="davion-1" class="troop-counter"><use href="#t-1"/></g>
|
|
<g id="davion-2" class="troop-counter"><use href="#t-2"/></g>
|
|
<g id="davion-3" class="troop-counter"><use href="#t-3"/></g>
|
|
<g id="davion-4" class="troop-counter"><use href="#t-4"/></g>
|
|
<g id="davion-5" class="troop-counter"><use href="#t-5"/></g>
|
|
<g id="davion-6" class="troop-counter"><use href="#t-6"/></g>
|
|
<g id="davion-7" class="troop-counter"><use href="#t-7"/></g>
|
|
|
|
<g id="liao-1" class="troop-counter"><use href="#t-1"/></g>
|
|
<g id="liao-2" class="troop-counter"><use href="#t-2"/></g>
|
|
<g id="liao-3" class="troop-counter"><use href="#t-3"/></g>
|
|
<g id="liao-4" class="troop-counter"><use href="#t-4"/></g>
|
|
<g id="liao-5" class="troop-counter"><use href="#t-5"/></g>
|
|
<g id="liao-6" class="troop-counter"><use href="#t-6"/></g>
|
|
<g id="liao-7" class="troop-counter"><use href="#t-7"/></g>
|
|
|
|
<image id="counter-prone" href="counter_prone.jpg" width="10px"/>
|
|
<image id="numbers" href="rendered_numbers.png" width="182" height="22"/>
|
|
|
|
<symbol id="n1" viewBox="1 0 17 22" width="17" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n2" viewBox="19 0 16 22" width="16" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n3" viewBox="36 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n4" viewBox="54 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n5" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n6" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n7" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n8" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n9" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
|
|
<symbol id="n0" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
|
|
</defs>
|
|
|
|
<rect id="background" x="-1" y="-1" width="2287" height="3087"/>
|
|
|
|
<g id="image-maps">
|
|
<image id="map2" class="map-scans" href="scans/map2.jpg" width="2284" height="1518"/>
|
|
<image id="map3" class="map-scans" href="scans/map3.jpg" width="2284" height="1518"/>
|
|
</g>
|
|
|
|
<g id="firing-arcs">
|
|
<g id="shapes"/>
|
|
<g id="lines"/>
|
|
</g>
|
|
|
|
<g class="grid">
|
|
<g class="row">
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
</g>
|
|
<g class="row">
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/><use href="#davion-1"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
</g>
|
|
<g class="row">
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
</g>
|
|
<g class="row">
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
<g class="col"><use href="#hex"/></g>
|
|
</g>
|
|
</g>
|
|
<script type="text/javascript">//<![CDATA[
|
|
// CSS query to select a cell from browser dev console:
|
|
// let svg = document.querySelector('object').contentDocument.querySelector('svg');
|
|
// let p = (function (x, y) { return svg.querySelector(`.grid g.row:nth-child(${x+1}) g.col:nth-child(${y+1})`) })(0, 0);
|
|
//]]></script>
|
|
</svg> |