Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
blob: b6595f636143b8673f60f8784c2bdad024533660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
  <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/radial.css" type="text/css" />
  <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/map.css" type="text/css" />

  <defs>
    <polygon id="hex" points="0,10 8.66,5 8.66,-5 0,-10 -8.66,-5 -8.66,5"/>

    <line id="ast-line" x1="-1.2" y1="0" x2="1.2" y2="0"/>

    <pattern id="asterisk" viewBox="-8.66 -15 17.32 30" width="17.32" height="30" patternUnits="userSpaceOnUse">
      <use href="#ast-line"/>
      <use href="#ast-line" transform="rotate(60)"/>
      <use href="#ast-line" transform="rotate(-60)"/>

      <use x="-8.66" y="-15" href="#ast-line"/>
      <use x="-8.66" y="-15" transform="rotate(60 -8.66 -15)" href="#ast-line"/>

      <use x="8.66" y="-15" href="#ast-line"/>
      <use x="8.66" y="-15" transform="rotate(-60 8.66 -15)" href="#ast-line"/>

      <use x="-8.66" y="15" href="#ast-line"/>
      <use x="-8.66" y="15" transform="rotate(-60 -8.66 15)" href="#ast-line"/>

      <use x="8.66" y="15" href="#ast-line"/>
      <use x="8.66" y="15" transform="rotate(60 8.66 15)" href="#ast-line"/>
    </pattern>

    <g id="counter-grenade">
      <rect x="0" y="0" width="10" height="10" fill="beige" stroke="black" stroke-width="0.5"/>
      <image href="counter_grenade2.svg" width="10"/>
    </g>
    <g id="counter-prone">
      <rect x="0" y="0" width="10" height="10" fill="beige" stroke="black" stroke-width="0.5"/>
      <image href="counter_prone2.svg" width="10"/>
    </g>
    <g id="counter-basement">
      <rect x="0" y="0" width="10" height="10" fill="beige" stroke="black" stroke-width="0.5"/>
      <image href="counter_basement.png" width="10"/>
    </g>
    <g id="counter-1st-floor">
      <rect x="0" y="0" width="10" height="10" fill="beige" stroke="black" stroke-width="0.5"/>
      <image href="counter_1st_floor.png" width="10"/>
    </g>
    <g id="counter-2nd-floor">
      <rect x="0" y="0" width="10" height="10" fill="beige" stroke="black" stroke-width="0.5"/>
      <image href="counter_2nd_floor.png" width="10"/>
    </g>
    <g id="counter-3rd-floor">
      <rect x="0" y="0" width="10" height="10" fill="beige" stroke="black" stroke-width="0.5"/>
      <image href="counter_3rd_floor.png" width="10"/>
    </g>
  </defs>

  <g class="gameboard" data-view-elevation="0">
    <rect id="background"/>
    <g class="buildings"/>
    <rect id="dots" fill="url(#asterisk)"/>

    <g id="firing-arcs">
      <g id="shapes"/>
      <g id="lines"/>
    </g>

    <g class="grid"/>
    <g class="grid-top">
      <use href="#hex"/>
      <g class="container"/>
    </g>
  </g>
</svg>