mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Performance optimizations for large unit counts
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
width: 180px;
|
||||
width: 250px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
html * {
|
||||
font-family: 'Open Sans', sans-serif !important;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
}
|
||||
|
||||
#connection-status-panel[data-is-connected] dt::before {
|
||||
content: "Connected";
|
||||
content: "Connected FPS: " attr(data-framerate) " Load: " attr(data-load);
|
||||
}
|
||||
|
||||
#connection-status-panel[data-is-connected] dd::after {
|
||||
|
||||
60
client/public/themes/olympus/images/units/groundunit-ewr.svg
Normal file
60
client/public/themes/olympus/images/units/groundunit-ewr.svg
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="50"
|
||||
height="50"
|
||||
viewBox="0 0 50 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="groundunit-ewr.svg"
|
||||
inkscape:version="1.1 (c68e22c387, 2021-05-23)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<rect
|
||||
x="25"
|
||||
y="2.37241"
|
||||
width="32"
|
||||
height="32"
|
||||
rx="1.1"
|
||||
transform="rotate(45 25 2.37241)"
|
||||
stroke="none"
|
||||
stroke-width="2"
|
||||
id="rect2" />
|
||||
<rect
|
||||
x="25"
|
||||
y="5.20083"
|
||||
width="28"
|
||||
height="28"
|
||||
transform="rotate(45 25 5.20083)"
|
||||
fill="none"
|
||||
stroke="#082E44"
|
||||
stroke-width="2"
|
||||
id="rect4" />
|
||||
<path
|
||||
stroke="#082E44"
|
||||
stroke-width="1.5"
|
||||
d="m 21.956541,27.690987 5.894515,-3.34903 -3.846924,-2.326589 5.759192,-3.618211"
|
||||
id="path942"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
stroke="#082E44"
|
||||
stroke-width="1.5"
|
||||
d="m 26.663842,17.477657 3.292749,0.82871 -0.740705,2.943076"
|
||||
id="path1230" />
|
||||
<path
|
||||
stroke="#082E44"
|
||||
stroke-width="2"
|
||||
id="path1657"
|
||||
sodipodi:type="arc"
|
||||
sodipodi:cx="27.107115"
|
||||
sodipodi:cy="22.407019"
|
||||
sodipodi:rx="10.069912"
|
||||
sodipodi:ry="10.084956"
|
||||
sodipodi:start="1.0594149"
|
||||
sodipodi:end="3.5325464"
|
||||
sodipodi:arc-type="arc"
|
||||
d="M 32.035153,31.201799 A 10.069912,10.084956 0 0 1 20.42801,29.95437 10.069912,10.084956 0 0 1 17.797018,18.563941"
|
||||
sodipodi:open="true" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="50"
|
||||
height="50"
|
||||
viewBox="0 0 50 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg6"
|
||||
sodipodi:docname="groundunit-sam-launcher.svg"
|
||||
inkscape:version="1.1 (c68e22c387, 2021-05-23)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
fill="#3BB9FF"
|
||||
stroke="none"
|
||||
stroke-width="2"
|
||||
d="M45.7733 41.3423L25.9481 7.63951C25.5228 6.91648 24.4772 6.91646 24.0519 7.63951L4.22671 41.3423C3.79536 42.0756 4.32409 43 5.17484 43H44.8252C45.6759 43 46.2046 42.0756 45.7733 41.3423Z"
|
||||
id="path2" />
|
||||
<path
|
||||
d="M6.74842 41L25 9.97231L43.2516 41H6.74842Z"
|
||||
fill="none"
|
||||
stroke="#082E44"
|
||||
stroke-width="2"
|
||||
id="path4" />
|
||||
<path
|
||||
stroke="#082E44"
|
||||
stroke-width="2"
|
||||
id="path849"
|
||||
sodipodi:type="arc"
|
||||
sodipodi:cx="25.284166"
|
||||
sodipodi:cy="43.365532"
|
||||
sodipodi:rx="8.2439137"
|
||||
sodipodi:ry="8.2651606"
|
||||
sodipodi:start="3.8397244"
|
||||
sodipodi:end="5.5850536"
|
||||
sodipodi:arc-type="arc"
|
||||
d="m 18.968962,38.052789 a 8.2439137,8.2651606 0 0 1 6.315204,-2.952418 8.2439137,8.2651606 0 0 1 6.315205,2.952418"
|
||||
sodipodi:open="true" />
|
||||
<path
|
||||
stroke="#082E44"
|
||||
stroke-width="1.5"
|
||||
d="M 25.114189,34.887901 V 19.887378"
|
||||
id="path1085" />
|
||||
<path
|
||||
stroke="#082E44"
|
||||
stroke-width="1.5"
|
||||
d="m 23.074458,23.244436 1.981982,-3.432894 1.923784,3.332092"
|
||||
id="path1087" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="50"
|
||||
height="50"
|
||||
viewBox="0 0 50 50"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg6"
|
||||
sodipodi:docname="groundunit-sam-radar.svg"
|
||||
inkscape:version="1.1 (c68e22c387, 2021-05-23)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M45.7733 41.3423L25.9481 7.63951C25.5228 6.91648 24.4772 6.91646 24.0519 7.63951L4.22671 41.3423C3.79536 42.0756 4.32409 43 5.17484 43H44.8252C45.6759 43 46.2046 42.0756 45.7733 41.3423Z"
|
||||
fill="#3BB9FF"
|
||||
stroke="none"
|
||||
stroke-width="2"
|
||||
id="path2" />
|
||||
<path
|
||||
d="M6.74842 41L25 9.97231L43.2516 41H6.74842Z"
|
||||
fill="none"
|
||||
stroke="#082E44"
|
||||
stroke-width="2"
|
||||
id="path4"
|
||||
style="fill:none;fill-opacity:1" />
|
||||
<path
|
||||
style="fill:none;stroke:#082e44;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
|
||||
d="m 23.148216,33.643859 5.192016,-2.949206 -3.388454,-2.048829 5.07282,-3.186251"
|
||||
id="path942"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#082e44;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
|
||||
d="m 27.294508,24.649847 2.900324,0.729775 -0.652429,2.591717"
|
||||
id="path1230" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;stroke:#082e44;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:5.6;stroke-opacity:1;paint-order:stroke fill markers"
|
||||
id="path1657"
|
||||
sodipodi:type="arc"
|
||||
sodipodi:cx="27.684952"
|
||||
sodipodi:cy="28.990719"
|
||||
sodipodi:rx="8.8697948"
|
||||
sodipodi:ry="8.8809643"
|
||||
sodipodi:start="1.0594149"
|
||||
sodipodi:end="3.5325464"
|
||||
sodipodi:arc-type="arc"
|
||||
sodipodi:open="true"
|
||||
d="M 32.025673,36.735535 A 8.8697948,8.8809643 0 0 1 21.801853,35.63703 8.8697948,8.8809643 0 0 1 19.484418,25.606446" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
Reference in New Issue
Block a user