summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-11 11:58:58 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-20 19:05:27 +0200
commite277a5e25c13469deacdf016b59b6073788b4d1c (patch)
treeba5ed6620af9c6280145537573371b97b873709b
parente0fa4e9230899f02113aa209d41ce8d9e18e992d (diff)
downloadtime-of-crisis-e277a5e25c13469deacdf016b59b6073788b4d1c.tar.gz
Add buildings to layout SVG.
-rw-r--r--tools/boxes.svg362
-rw-r--r--tools/genboxes.py2
2 files changed, 363 insertions, 1 deletions
diff --git a/tools/boxes.svg b/tools/boxes.svg
index b34f0d4..1327e8f 100644
--- a/tools/boxes.svg
+++ b/tools/boxes.svg
@@ -471,4 +471,366 @@
y="1400"
ry="7.325747"
inkscape:label="Nomads Battle" />
+
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1060"
+ y="945"
+ width="96"
+ height="50"
+ inkscape:label="Italia amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1162"
+ y="945"
+ width="96"
+ height="50"
+ inkscape:label="Italia basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1111"
+ y="970"
+ width="96"
+ height="50"
+ inkscape:label="Italia limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1711"
+ y="1058"
+ width="96"
+ height="50"
+ inkscape:label="Asia amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1813"
+ y="1058"
+ width="96"
+ height="50"
+ inkscape:label="Asia basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1762"
+ y="1083"
+ width="96"
+ height="50"
+ inkscape:label="Asia limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="492"
+ y="566"
+ width="96"
+ height="50"
+ inkscape:label="Gallia amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="594"
+ y="566"
+ width="96"
+ height="50"
+ inkscape:label="Gallia basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="543"
+ y="591"
+ width="96"
+ height="50"
+ inkscape:label="Gallia limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1416"
+ y="995"
+ width="96"
+ height="50"
+ inkscape:label="Macedonia amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1518"
+ y="995"
+ width="96"
+ height="50"
+ inkscape:label="Macedonia basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1467"
+ y="1020"
+ width="96"
+ height="50"
+ inkscape:label="Macedonia limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1186"
+ y="685"
+ width="96"
+ height="50"
+ inkscape:label="Pannonia amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1288"
+ y="685"
+ width="96"
+ height="50"
+ inkscape:label="Pannonia basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1237"
+ y="710"
+ width="96"
+ height="50"
+ inkscape:label="Pannonia limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1534"
+ y="778"
+ width="96"
+ height="50"
+ inkscape:label="Thracia amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1636"
+ y="778"
+ width="96"
+ height="50"
+ inkscape:label="Thracia basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1585"
+ y="803"
+ width="96"
+ height="50"
+ inkscape:label="Thracia limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="263"
+ y="318"
+ width="96"
+ height="50"
+ inkscape:label="Britannia amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="365"
+ y="318"
+ width="96"
+ height="50"
+ inkscape:label="Britannia basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="314"
+ y="343"
+ width="96"
+ height="50"
+ inkscape:label="Britannia limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1986"
+ y="990"
+ width="96"
+ height="50"
+ inkscape:label="Galatia amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="2088"
+ y="990"
+ width="96"
+ height="50"
+ inkscape:label="Galatia basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="2037"
+ y="1015"
+ width="96"
+ height="50"
+ inkscape:label="Galatia limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="2066"
+ y="1338"
+ width="96"
+ height="50"
+ inkscape:label="Syria amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="2168"
+ y="1338"
+ width="96"
+ height="50"
+ inkscape:label="Syria basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="2117"
+ y="1363"
+ width="96"
+ height="50"
+ inkscape:label="Syria limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1732"
+ y="1527"
+ width="96"
+ height="50"
+ inkscape:label="Aegyptus amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1834"
+ y="1527"
+ width="96"
+ height="50"
+ inkscape:label="Aegyptus basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="1783"
+ y="1552"
+ width="96"
+ height="50"
+ inkscape:label="Aegyptus limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="679"
+ y="1349"
+ width="96"
+ height="50"
+ inkscape:label="Africa amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="781"
+ y="1349"
+ width="96"
+ height="50"
+ inkscape:label="Africa basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="730"
+ y="1374"
+ width="96"
+ height="50"
+ inkscape:label="Africa limes"
+ />
+
+ <image
+ xlink:href="../images/amphitheater.png"
+ style="display:inline;image-rendering:pixelated"
+ x="186"
+ y="1039"
+ width="96"
+ height="50"
+ inkscape:label="Hispania amphitheater"
+ />
+
+ <image
+ xlink:href="../images/basilica.png"
+ style="display:inline;image-rendering:pixelated"
+ x="288"
+ y="1039"
+ width="96"
+ height="50"
+ inkscape:label="Hispania basilica"
+ />
+
+ <image
+ xlink:href="../images/limes.png"
+ style="display:inline;image-rendering:pixelated"
+ x="237"
+ y="1064"
+ width="96"
+ height="50"
+ inkscape:label="Hispania limes"
+ />
+
</svg>
diff --git a/tools/genboxes.py b/tools/genboxes.py
index eeea2b9..12f6c92 100644
--- a/tools/genboxes.py
+++ b/tools/genboxes.py
@@ -20,7 +20,7 @@ def flush():
for line in open("tools/boxes.svg").readlines():
line = line.strip()
- if line == "<rect":
+ if line == "<rect" or line == "<image":
flush()
mode = 'rect'
x = y = w = h = 0