summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-09-05 02:21:01 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:27 +0100
commit4b8e84d1173502ff82d30d49c02adafe2b0b6b27 (patch)
tree0ad8af9b90fbaf4cffc36997916a63c3559de885
parent3c266f59c5fbb4675d41d57503acc78ce406bf73 (diff)
downloadrommel-in-the-desert-4b8e84d1173502ff82d30d49c02adafe2b0b6b27.tar.gz
Use original anti-tank icon.
-rw-r--r--play.html4
-rw-r--r--tools/genunits.js6
-rw-r--r--units-simple.svg11
-rw-r--r--units.svg11
4 files changed, 10 insertions, 22 deletions
diff --git a/play.html b/play.html
index 38ba172..f92658d 100644
--- a/play.html
+++ b/play.html
@@ -782,7 +782,7 @@ svg #lines line.axis_supply.allied_supply {
<tr><td>Highway<td>&#x221e;
<tr><td>Track<td>3
<tr><td>Trail<td>2
-<tr><td>None<td>1
+<tr><td>No Road<td>1
</table>
<table>
@@ -798,7 +798,7 @@ svg #lines line.axis_supply.allied_supply {
<td>3
<tr><td>
<img src="icons/motorized_infantry.svg">
-<img src="icons/motorized_antitank_new.svg">
+<img src="icons/motorized_antitank_old.svg">
<td>2
<tr><td>
<img src="icons/infantry.svg">
diff --git a/tools/genunits.js b/tools/genunits.js
index 820de56..0cd0340 100644
--- a/tools/genunits.js
+++ b/tools/genunits.js
@@ -146,11 +146,13 @@ const SYMBOLS = {
const TYPEMAP = {
"armor": "armor",
"artillery": "artillery",
- "i-tank": "armor_itank",
+ // "i-tank": "armor_itank",
+ "i-tank": "armor",
"infantry": "infantry",
"mech. inf.": "mechanized_infantry",
"mob. a/t": "mobile_antitank",
- "mot. a/t": "motorized_antitank_new",
+ // "mot. a/t": "motorized_antitank_new",
+ "mot. a/t": "motorized_antitank_old",
"mot. inf.": "motorized_infantry",
"para": "paratroopers",
"recon": "recon",
diff --git a/units-simple.svg b/units-simple.svg
index f1af5ad..755ca3b 100644
--- a/units-simple.svg
+++ b/units-simple.svg
@@ -224,13 +224,11 @@
<g transform="translate(51,153)">
<path fill="#f9e3b3" stroke="#004e2f" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#004e2f" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#004e2f" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv2e" fill="#004e2f"/>
</g>
<g transform="translate(102,153)">
<path fill="#f9e3b3" stroke="#004e2f" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#004e2f" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#004e2f" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv2e" fill="#004e2f"/>
</g>
<g transform="translate(153,153)">
@@ -270,8 +268,7 @@
</g>
<g transform="translate(0,204)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
-<path fill="none" stroke="#5c3a1e" stroke-width="1.5" d="M34.1 25.4c0 2.7-2.4 4.9-5.4 4.9H23c-3 0-5.5-2.2-5.5-5 0-2.6 2.4-4.8 5.5-4.8h5.7c3 0 5.4 2.2 5.4 4.9zm0 0"/>
-<path fill="#5c3a1e" d="M27.3 28.3h-3.4v-1h1v-3.8h-1v-1h3.4v1h-1v3.7h1zm0 0"/>
+<path fill="none" stroke="#5c3a1e" stroke-width="1.5" d="M33.8 25.4c0 2.7-2.4 5-5.4 5h-5.7c-3 0-5.5-2.3-5.5-5s2.5-4.9 5.5-4.9h5.7c3 0 5.4 2.2 5.4 5zm0 0"/>
<use href="#cv4" fill="#5c3a1e"/>
</g>
<g transform="translate(51,204)">
@@ -296,8 +293,7 @@
</g>
<g transform="translate(255,204)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
-<path fill="none" stroke="#5c3a1e" stroke-width="1.5" d="M34.1 25.4c0 2.7-2.4 4.9-5.4 4.9H23c-3 0-5.5-2.2-5.5-5 0-2.6 2.4-4.8 5.5-4.8h5.7c3 0 5.4 2.2 5.4 4.9zm0 0"/>
-<path fill="#5c3a1e" d="M27.3 28.3h-3.4v-1h1v-3.8h-1v-1h3.4v1h-1v3.7h1zm0 0"/>
+<path fill="none" stroke="#5c3a1e" stroke-width="1.5" d="M33.8 25.4c0 2.7-2.4 5-5.4 5h-5.7c-3 0-5.5-2.3-5.5-5s2.5-4.9 5.5-4.9h5.7c3 0 5.4 2.2 5.4 5zm0 0"/>
<use href="#cv3" fill="#5c3a1e"/>
</g>
<g transform="translate(306,204)">
@@ -389,19 +385,16 @@
<g transform="translate(102,306)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#5c3a1e" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#5c3a1e" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv4" fill="#5c3a1e"/>
</g>
<g transform="translate(153,306)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#5c3a1e" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#5c3a1e" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv3" fill="#5c3a1e"/>
</g>
<g transform="translate(204,306)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#5c3a1e" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#5c3a1e" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv3" fill="#5c3a1e"/>
</g>
<g transform="translate(255,306)">
diff --git a/units.svg b/units.svg
index 226f4ad..b576eac 100644
--- a/units.svg
+++ b/units.svg
@@ -365,7 +365,6 @@
<g transform="translate(51,153)">
<path fill="#f9e3b3" stroke="#004e2f" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#004e2f" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#004e2f" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv2e" fill="#004e2f"/>
<g fill="#004e2f">
<text text-anchor="start" font-size="7" x="2" y="8">5</text>
@@ -375,7 +374,6 @@
<g transform="translate(102,153)">
<path fill="#f9e3b3" stroke="#004e2f" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#004e2f" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#004e2f" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv2e" fill="#004e2f"/>
<g fill="#004e2f">
<text text-anchor="start" font-size="7" x="2" y="8">17</text>
@@ -452,8 +450,7 @@
</g>
<g transform="translate(0,204)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
-<path fill="none" stroke="#5c3a1e" stroke-width="1.5" d="M34.1 25.4c0 2.7-2.4 4.9-5.4 4.9H23c-3 0-5.5-2.2-5.5-5 0-2.6 2.4-4.8 5.5-4.8h5.7c3 0 5.4 2.2 5.4 4.9zm0 0"/>
-<path fill="#5c3a1e" d="M27.3 28.3h-3.4v-1h1v-3.8h-1v-1h3.4v1h-1v3.7h1zm0 0"/>
+<path fill="none" stroke="#5c3a1e" stroke-width="1.5" d="M33.8 25.4c0 2.7-2.4 5-5.4 5h-5.7c-3 0-5.5-2.3-5.5-5s2.5-4.9 5.5-4.9h5.7c3 0 5.4 2.2 5.4 5zm0 0"/>
<use href="#cv4" fill="#5c3a1e"/>
<g fill="#5c3a1e">
<text text-anchor="start" font-size="7" x="2" y="8">4</text>
@@ -503,8 +500,7 @@
</g>
<g transform="translate(255,204)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
-<path fill="none" stroke="#5c3a1e" stroke-width="1.5" d="M34.1 25.4c0 2.7-2.4 4.9-5.4 4.9H23c-3 0-5.5-2.2-5.5-5 0-2.6 2.4-4.8 5.5-4.8h5.7c3 0 5.4 2.2 5.4 4.9zm0 0"/>
-<path fill="#5c3a1e" d="M27.3 28.3h-3.4v-1h1v-3.8h-1v-1h3.4v1h-1v3.7h1zm0 0"/>
+<path fill="none" stroke="#5c3a1e" stroke-width="1.5" d="M33.8 25.4c0 2.7-2.4 5-5.4 5h-5.7c-3 0-5.5-2.3-5.5-5s2.5-4.9 5.5-4.9h5.7c3 0 5.4 2.2 5.4 5zm0 0"/>
<use href="#cv3" fill="#5c3a1e"/>
<g fill="#5c3a1e">
<text text-anchor="start" font-size="7" x="2" y="8">8</text>
@@ -683,7 +679,6 @@
<g transform="translate(102,306)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#5c3a1e" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#5c3a1e" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv4" fill="#5c3a1e"/>
<g fill="#5c3a1e">
<text text-anchor="start" font-size="7" x="2" y="8">18</text>
@@ -694,7 +689,6 @@
<g transform="translate(153,306)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#5c3a1e" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#5c3a1e" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv3" fill="#5c3a1e"/>
<g fill="#5c3a1e">
<text text-anchor="start" font-size="7" x="2" y="8">6</text>
@@ -704,7 +698,6 @@
<g transform="translate(204,306)">
<path fill="#cead78" stroke="#5c3a1e" stroke-linejoin="round" stroke-width="1.5" d="M38.3 38.3H12.8V12.9h25.5zm0 0"/>
<path fill="#fff" stroke="#5c3a1e" stroke-width="1.5" d="m25.9 13-9.6 24.9m9.3-25.1 9.1 25.4"/>
-<path fill="#5c3a1e" d="M23.8 34.8c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3m8.2 0c0 1.3-1 2.3-2.4 2.3-1.3 0-2.4-1-2.4-2.3s1-2.3 2.4-2.3c1.3 0 2.4 1 2.4 2.3"/>
<use href="#cv3" fill="#5c3a1e"/>
<g fill="#5c3a1e">
<text text-anchor="start" font-size="7" x="2" y="8">12</text>