summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-07-28 13:00:00 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:26 +0100
commit399ff9adb0d6deed741100311129248ebbff612c (patch)
tree9b8f61f0da23f7e5c8ced8cc7ae54d5d42a270b2 /play.html
parent0e0d5664045ce234b75a5cfe91dc4121c93b4bed (diff)
downloadrommel-in-the-desert-399ff9adb0d6deed741100311129248ebbff612c.tar.gz
Faster fortress control. Victory checks. Combined turn option.
Diffstat (limited to 'play.html')
-rw-r--r--play.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/play.html b/play.html
index 8a8167c..ad295c6 100644
--- a/play.html
+++ b/play.html
@@ -290,6 +290,10 @@ svg .side.allied_supply.axis_supply {
stroke: yellow;
}
+svg .fortress.axis {
+ fill: #264;
+}
+
svg .hex.action {
stroke: white;
stroke-width: 2;
@@ -394,12 +398,14 @@ svg .hex.tip {
box-shadow: 0 0 0 2px yellow;
}
-.unit.disrupted {
- border-color: crimson;
+.unit.moved {
+ //border-color: black;
+ //background-color: silver;
+ filter: grayscale(50%)
}
-.unit.moved {
- border-color: black;
+.unit.disrupted {
+ border-color: crimson;
}
.unit.unsupplied {
@@ -580,12 +586,7 @@ svg .hex.tip {
<div class="debug menu_item" onclick="send_restart('1941-42')">&#x26a0; Restart 1941-42</div>
</div>
</div>
- <div class="menu">
- <div class="menu_title"><img src="/images/wooden-sign.svg"></div>
- <div class="menu_popup">
- <div class="menu_item" onclick="send_query('supply')">Supply lines</div>
- </div>
- </div>
+ <div class="icon_button" onclick="toggle_supply()"><img src="/images/oil-drum.svg"></div>
<div class="icon_button" onclick="toggle_units()"><img src="/images/earth-africa-europe.svg"></div>
<div class="icon_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div>
<div class="icon_button" onclick="toggle_log()"><img src="/images/scroll-quill.svg"></div>
@@ -736,12 +737,11 @@ svg .hex.tip {
<path d="m 2405,501 10,0 -5,-10 z" />
</g>
-<path id="forts" d="M1095.63 181.17l-8.974-15.543 8.974-15.544h17.95l8.973 15.544-8.973 15.543zM169.443 294.884l-8.974-15.543 8.974-15.544h17.95l8.973 15.544-8.973 15.543zm1288.455-72.1l-8.975-15.543 8.975-15.543h17.95l8.972 15.543-8.972 15.543z"
- fill="#642"
- stroke="#cbae07"
- stroke-width="3"
- stroke-linejoin="round"
- />
+<g id="fortresses" fill="#642" stroke="#cbae07" stroke-width="3" stroke-linejoin="round">
+<path class="fortress" id="fortress_benghazi" d="M170 295l-8.974-15.543 8.974-15.544h17.95l8.973 15.544-8.973 15.543z" />
+<path class="fortress" id="fortress_tobruk" d="M1095 181l-8.974-15.543 8.974-15.544h17.95l8.973 15.544-8.973 15.543z" />
+<path class="fortress" id="fortress_bardia" d="M1458 223l-8.975-15.543 8.975-15.543h17.95l8.972 15.543-8.972 15.543z" />
+</g>
<path id="towns" d="M1606.5 422.4c0 4-6 4-6 0s6-4 6 0m80.2 47.6c0 4-6 4-6 0s6-4 6 0m816.6-178.8a3.7 3.7 0 01-3.7 3.7c-5 0-5-7.5 0-7.4a3.7 3.7 0 013.7 3.7M777.4 93c0 4-6 4-6 0s6-4 6 0M1800 585.3c0 4.5-6.8 4.5-6.8 0s6.8-4.5 6.8 0M303.2 250.6c0 4-6 4-6 0s6-4 6 0M813.6 286c0 4-6 4-6 0s6-4 6 0m7-131c0 4-6 4-6 0s6-4 6 0m1227.6 194.2c0 4-6 4-6 0s6-4 6 0M317.8 724.8a4.2 4.2 0 01-8.4 0c0-5.5 8.4-5.5 8.4 0M577 512.3c0 4-6 4-6 0 .1-3.9 5.9-3.9 6 0m-79.1 58.4a3 3 0 01-3 3c-4 0-4-6 0-6a3 3 0 013 3M420.8 279c0 4-6 4-6 0s6-4 6 0m-146 134.6a3 3 0 01-3 3c-4 0-4-6 0-6a3 3 0 013 3M1694 360a4.2 4.2 0 11-8.3 0c0-5.6 8.3-5.6 8.3 0m-257.8-85.6a4.2 4.2 0 01-8.3 0c0-5.5 8.3-5.5 8.3 0m-4.9 102.4a4.2 4.2 0 11-8.3 0c0-5.5 8.2-5.5 8.3 0M145.9 395.7a4.2 4.2 0 11-8.3 0c0-5.5 8.2-5.5 8.3 0M302 530a4.2 4.2 0 11-8.3 0c0-5.5 8.3-5.5 8.3 0m82.3 108.4a4.2 4.2 0 11-8.3 0c0-5.5 8.2-5.5 8.3 0m2031-336.2a4.2 4.2 0 11-8.4 0c0-5.5 8.3-5.5 8.3 0m-2259 380a4.2 4.2 0 11-8.3 0c0-5.6 8.3-5.6 8.3 0m110.4-409.5a4.2 4.2 0 01-8.3 0c0-5.4 8.2-5.4 8.3 0m143.8 137.5a4.2 4.2 0 11-8.4 0c.1-5.4 8.3-5.4 8.4 0M120 809.1c0 4-6 4-6 0s6-4 6 0m2159.4-524.6a3.7 3.7 0 01-3.7 3.7 3.7 3.7 0 01-3.7-3.7c0-5 7.4-5 7.4 0m-160.3 11c0 5-7.3 5-7.4 0 0-4.8 7.4-4.8 7.4 0m-333.3 184.9c0 4-6 4-6 0s6-4 6 0m-544.4-214.7a3.7 3.7 0 01-7.3 0c0-4.9 7.3-4.9 7.3 0m-25-40.4c-.1 3.8-5.8 3.8-6 0 0-4 6-4 6 0m88.4-15.4a3.7 3.7 0 11-7.4 0c.1-4.8 7.3-4.8 7.4 0m711.9 48a6.3 6.3 0 01-12.5 0 6.3 6.3 0 1112.5 0m-266.5 1.7a6.2 6.2 0 11-6.2-6.3 6.3 6.3 0 016.2 6.2m-246.7 23.6a6.3 6.3 0 11-12.5 0 6.3 6.3 0 0112.5 0m108.7 12.5a4.2 4.2 0 11-8.3 0 4.2 4.2 0 018.3 0M1919.8 401c0 4.5-6.7 4.5-6.7 0s6.7-4.5 6.7 0m-530 0c-.1 3.3-5 3.3-5.2 0 0-3.5 5.2-3.5 5.2 0M826.5 117.3a3.7 3.7 0 11-7.5 0c0-5 7.4-5 7.5 0M378 807.6c0 3.5-5.2 3.5-5.2 0s5.2-3.4 5.2 0M1323.7 379a4.2 4.2 0 11-8.3 0c0-5.5 8.2-5.5 8.3 0m111.6 130c0 4-6 4-6 0s6-4 6 0m-1219.8 2.9c0 4-6 4-6 0s6-4 6 0M350 171a6.3 6.3 0 11-12.5 0 6.3 6.3 0 0112.5 0m-70.3 15.4a4.2 4.2 0 11-8.4 0c.1-5.4 8.3-5.4 8.4 0M589.3 71.7A6.3 6.3 0 01583 78a6.3 6.3 0 116.3-6.3M495 165.5a4.2 4.2 0 11-8.4 0c.1-5.5 8.3-5.5 8.4 0m121-40.1a4.2 4.2 0 11-8.3 0c.1-5.5 8.2-5.5 8.3 0m46.2-36a4.2 4.2 0 11-8.4 0c0-5.6 8.4-5.6 8.4 0m20 176.2a4.2 4.2 0 11-8.3 0c0-5.5 8.2-5.5 8.3 0m77-198.1a6.3 6.3 0 11-12.5 0 6.3 6.3 0 0112.5 0m148.3 131a6.3 6.3 0 11-12.5 0 6.3 6.3 0 0112.5 0m42.8 87a4.2 4.2 0 01-8.4 0c.1-5.4 8.3-5.4 8.4 0m61.5-72.4a4.2 4.2 0 01-8.4 0c.1-5.5 8.3-5.5 8.4 0m-1.8 70.6a4.2 4.2 0 11-8.3 0c0-5.5 8.2-5.5 8.3 0m-20.4 84.8a4.2 4.2 0 11-8.3 0c0-5.5 8.2-5.5 8.3 0m148.4-107.8a4.2 4.2 0 01-8.4 0c.1-5.5 8.3-5.5 8.4 0m48 112.9a4.2 4.2 0 01-8.3 0c0-5.6 8.4-5.6 8.4 0m-451 50a4.2 4.2 0 01-4.2 4.1 4.2 4.2 0 114.1-4.1m350.6-25.5c0 3.5-5.2 3.5-5.2 0 0-3.4 5.2-3.4 5.2 0M437.2 116.5a4.2 4.2 0 11-8.4 0c.2-5.4 8.3-5.4 8.4 0M227.9 633a6.3 6.3 0 11-12.5 0 6.3 6.3 0 0112.5 0m124.2-50.5c0 4-6 4-6 0s6-4 6 0"
fill="#642"
@@ -824,10 +824,10 @@ svg .hex.tip {
<text x="180" y="70" font-size="13">Copyright &#xa9; 2022 Columbia Games Inc.</text>
</g>
-<g font-family="Source Sans" font-weight="bold" xfill="#fde4c4" fill="#fed">
-<text text-anchor="middle" font-size="19" x="178" y="285">2</text>
-<text text-anchor="middle" font-size="19" x="1104" y="172">5</text>
-<text text-anchor="middle" font-size="19" x="1466" y="213">2</text>
+<g font-family="Source Sans" font-weight="bold" fill="#fed">
+<text text-anchor="middle" font-size="19" x="179" y="285">2</text>
+<text text-anchor="middle" font-size="19" x="1104" y="171">5</text>
+<text text-anchor="middle" font-size="19" x="1467" y="213">2</text>
</g>
<g font-family="Source Serif" font-weight="bold" font-style="italic">