No more bundle (#7789)
1
tgui/.gitattributes
vendored
@@ -13,7 +13,6 @@
|
|||||||
*.md text eol=lf
|
*.md text eol=lf
|
||||||
*.bat text eol=lf
|
*.bat text eol=lf
|
||||||
yarn.lock text eol=lf
|
yarn.lock text eol=lf
|
||||||
bin/tgui text eol=lf
|
|
||||||
|
|
||||||
## Treat bundles as binary
|
## Treat bundles as binary
|
||||||
*.bundle.* binary
|
*.bundle.* binary
|
||||||
|
|||||||
6
tgui/.gitignore
vendored
@@ -14,9 +14,9 @@ package-lock.json
|
|||||||
|
|
||||||
## Build artifacts
|
## Build artifacts
|
||||||
/public/.tmp/**/*
|
/public/.tmp/**/*
|
||||||
/public/*.map
|
/public/**/*
|
||||||
/public/tgui-bench.bundle.js
|
!/public/*.html
|
||||||
/public/tgui-bench.bundle.css
|
!/public/tgui-polyfill.min.js
|
||||||
/coverage
|
/coverage
|
||||||
|
|
||||||
## Previously ignored locations that are kept to avoid confusing git
|
## Previously ignored locations that are kept to avoid confusing git
|
||||||
|
|||||||
@@ -1,177 +0,0 @@
|
|||||||
## Copyright (c) 2020 Aleksej Komarov
|
|
||||||
## SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
## Initial set-up
|
|
||||||
## --------------------------------------------------------
|
|
||||||
|
|
||||||
## Enable strict mode and stop of first cmdlet error
|
|
||||||
Set-StrictMode -Version Latest
|
|
||||||
$ErrorActionPreference = "Stop"
|
|
||||||
$PSDefaultParameterValues['*:ErrorAction'] = 'Stop'
|
|
||||||
|
|
||||||
## Validates exit code of external commands
|
|
||||||
function Throw-On-Native-Failure {
|
|
||||||
if (-not $?) {
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
## Normalize current directory
|
|
||||||
$basedir = Split-Path $MyInvocation.MyCommand.Path
|
|
||||||
$basedir = Resolve-Path "$($basedir)\.."
|
|
||||||
Set-Location $basedir
|
|
||||||
[Environment]::CurrentDirectory = $basedir
|
|
||||||
|
|
||||||
|
|
||||||
## Functions
|
|
||||||
## --------------------------------------------------------
|
|
||||||
|
|
||||||
function yarn {
|
|
||||||
$YarnRelease = Get-ChildItem -Filter ".yarn\releases\yarn-*.cjs" | Select-Object -First 1
|
|
||||||
node ".yarn\releases\$YarnRelease" @Args
|
|
||||||
Throw-On-Native-Failure
|
|
||||||
}
|
|
||||||
|
|
||||||
function Remove-Quiet {
|
|
||||||
Remove-Item -ErrorAction SilentlyContinue @Args
|
|
||||||
}
|
|
||||||
|
|
||||||
function task-install {
|
|
||||||
yarn install
|
|
||||||
}
|
|
||||||
|
|
||||||
## Runs webpack
|
|
||||||
function task-webpack {
|
|
||||||
yarn run webpack-cli @Args
|
|
||||||
}
|
|
||||||
|
|
||||||
## Runs a development server
|
|
||||||
function task-dev-server {
|
|
||||||
yarn node --experimental-modules "packages/tgui-dev-server/index.js" @Args
|
|
||||||
}
|
|
||||||
|
|
||||||
function task-bench {
|
|
||||||
yarn tgui:bench @Args
|
|
||||||
}
|
|
||||||
|
|
||||||
function task-prettier {
|
|
||||||
yarn tgui:prettier @Args
|
|
||||||
}
|
|
||||||
|
|
||||||
function task-prettify {
|
|
||||||
yarn prettier --write packages @Args
|
|
||||||
}
|
|
||||||
|
|
||||||
## Run a linter through all packages
|
|
||||||
function task-lint {
|
|
||||||
yarn run tsc
|
|
||||||
Write-Output "tgui: type check passed"
|
|
||||||
yarn run eslint packages --ext ".js,.cjs,.ts,.tsx" @Args
|
|
||||||
Write-Output "tgui: eslint check passed"
|
|
||||||
}
|
|
||||||
|
|
||||||
function task-test {
|
|
||||||
yarn run jest
|
|
||||||
}
|
|
||||||
|
|
||||||
## Mr. Proper
|
|
||||||
function task-clean {
|
|
||||||
## Build artifacts
|
|
||||||
Remove-Quiet -Recurse -Force "public\.tmp"
|
|
||||||
Remove-Quiet -Force "public\*.map"
|
|
||||||
Remove-Quiet -Force "public\*.hot-update.*"
|
|
||||||
## Yarn artifacts
|
|
||||||
Remove-Quiet -Recurse -Force ".yarn\cache"
|
|
||||||
Remove-Quiet -Recurse -Force ".yarn\unplugged"
|
|
||||||
Remove-Quiet -Recurse -Force ".yarn\webpack"
|
|
||||||
Remove-Quiet -Force ".yarn\build-state.yml"
|
|
||||||
Remove-Quiet -Force ".yarn\install-state.gz"
|
|
||||||
Remove-Quiet -Force ".yarn\install-target"
|
|
||||||
Remove-Quiet -Force ".pnp.*"
|
|
||||||
## NPM artifacts
|
|
||||||
Get-ChildItem -Path "." -Include "node_modules" -Recurse -File:$false | Remove-Item -Recurse -Force
|
|
||||||
Remove-Quiet -Force "package-lock.json"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
## Main
|
|
||||||
## --------------------------------------------------------
|
|
||||||
|
|
||||||
if ($Args.Length -gt 0) {
|
|
||||||
if ($Args[0] -eq "--clean") {
|
|
||||||
task-clean
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Args[0] -eq "--dev") {
|
|
||||||
$Rest = $Args | Select-Object -Skip 1
|
|
||||||
task-install
|
|
||||||
task-dev-server @Rest
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Args[0] -eq "--lint") {
|
|
||||||
$Rest = $Args | Select-Object -Skip 1
|
|
||||||
task-install
|
|
||||||
task-lint @Rest
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Args[0] -eq "--lint-harder") {
|
|
||||||
$Rest = $Args | Select-Object -Skip 1
|
|
||||||
task-install
|
|
||||||
task-lint -c ".eslintrc-harder.yml" @Rest
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Args[0] -eq "--fix") {
|
|
||||||
$Rest = $Args | Select-Object -Skip 1
|
|
||||||
task-install
|
|
||||||
task-lint --fix @Rest
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Args[0] -eq "--test") {
|
|
||||||
$Rest = $Args | Select-Object -Skip 1
|
|
||||||
task-install
|
|
||||||
task-test @Rest
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Args[0] -eq "--pretty") {
|
|
||||||
$Rest = $Args | Select-Object -Skip 1
|
|
||||||
task-install
|
|
||||||
task-prettify
|
|
||||||
task-prettier
|
|
||||||
task-lint
|
|
||||||
task-webpack --mode=production
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
## Analyze the bundle
|
|
||||||
if ($Args[0] -eq "--analyze") {
|
|
||||||
task-install
|
|
||||||
task-webpack --mode=production --analyze
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Args[0] -eq "--bench") {
|
|
||||||
$Rest = $Args | Select-Object -Skip 1
|
|
||||||
task-install
|
|
||||||
task-bench --wait-on-error
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
## Make a production webpack build
|
|
||||||
if ($Args.Length -eq 0) {
|
|
||||||
task-install
|
|
||||||
task-prettier
|
|
||||||
task-lint
|
|
||||||
task-webpack --mode=production
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
## Run webpack with custom flags
|
|
||||||
task-install
|
|
||||||
task-webpack @Args
|
|
||||||
1
tgui/packages/tgfont/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/dist
|
||||||
50
tgui/packages/tgfont/dist/tgfont.css
vendored
@@ -1,50 +0,0 @@
|
|||||||
@font-face {
|
|
||||||
font-family: "tgfont";
|
|
||||||
src: url("./tgfont.woff2?958b912b123580c55529f68c4e2261bd") format("woff2"),
|
|
||||||
url("./tgfont.eot?958b912b123580c55529f68c4e2261bd#iefix") format("embedded-opentype");
|
|
||||||
}
|
|
||||||
|
|
||||||
i[class^="tg-"]:before, i[class*=" tg-"]:before {
|
|
||||||
font-family: tgfont !important;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal !important;
|
|
||||||
font-variant: normal;
|
|
||||||
text-transform: none;
|
|
||||||
line-height: 1;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tg-air-tank-slash:before {
|
|
||||||
content: "\f101";
|
|
||||||
}
|
|
||||||
.tg-air-tank:before {
|
|
||||||
content: "\f102";
|
|
||||||
}
|
|
||||||
.tg-bad-touch:before {
|
|
||||||
content: "\f103";
|
|
||||||
}
|
|
||||||
.tg-image-minus:before {
|
|
||||||
content: "\f104";
|
|
||||||
}
|
|
||||||
.tg-image-plus:before {
|
|
||||||
content: "\f105";
|
|
||||||
}
|
|
||||||
.tg-nanotrasen-logo:before {
|
|
||||||
content: "\f106";
|
|
||||||
}
|
|
||||||
.tg-non-binary:before {
|
|
||||||
content: "\f107";
|
|
||||||
}
|
|
||||||
.tg-prosthetic-leg:before {
|
|
||||||
content: "\f108";
|
|
||||||
}
|
|
||||||
.tg-sound-minus:before {
|
|
||||||
content: "\f109";
|
|
||||||
}
|
|
||||||
.tg-sound-plus:before {
|
|
||||||
content: "\f10a";
|
|
||||||
}
|
|
||||||
.tg-syndicate-logo:before {
|
|
||||||
content: "\f10b";
|
|
||||||
}
|
|
||||||
BIN
tgui/packages/tgfont/dist/tgfont.eot
vendored
BIN
tgui/packages/tgfont/dist/tgfont.woff2
vendored
@@ -1,8 +1,6 @@
|
|||||||
bad-touch.svg contains:
|
bad-touch.svg contains:
|
||||||
|
|
||||||
- hug by Phạm Thanh Lộc from the Noun Project
|
- hug by Phạm Thanh Lộc from the Noun Project
|
||||||
- Fight by Rudez Studio from the Noun Project
|
- Fight by Rudez Studio from the Noun Project
|
||||||
|
|
||||||
prosthetic-leg.svg contains:
|
prosthetic-leg.svg contains:
|
||||||
|
|
||||||
- prosthetic leg by Gan Khoon Lay from the Noun Project
|
- prosthetic leg by Gan Khoon Lay from the Noun Project
|
||||||
|
|||||||
@@ -1,23 +1,46 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
<svg
|
||||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
viewBox="0 0 500 388" style="enable-background:new 0 0 500 388;" xml:space="preserve">
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
<g>
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
<g>
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
<ellipse transform="matrix(0.7071 -0.7071 0.7071 0.7071 471.6391 371.7563)" cx="684.6" cy="-383.4" rx="83.1" ry="83.1"/>
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
<polygon points="947,-49.1 885.8,46.5 870.2,71.6 813.7,159.4 769.8,131.2 718.1,96.7 793.3,-19.3 694.6,-89.9 669.5,55.9
|
version="1.1"
|
||||||
671,55.9 724.3,200.2 774.5,333.4 697.7,452.6 628.7,560.8 531.5,499.7 647.5,319.3 598.9,187.6 359,560.8 263.4,499.7
|
id="Layer_1"
|
||||||
556.6,43.4 556.6,43.4 575.4,-66.4 355.9,112.4 283.7,24.6 603.6,-235.7 608.3,-240.4 625.6,-237.3 666.3,-231 700.8,-224.7
|
x="0px"
|
||||||
714.9,-215.3 854.5,-115 "/>
|
y="0px"
|
||||||
|
viewBox="0 0 1393.2231 1085.6566"
|
||||||
|
xml:space="preserve"
|
||||||
|
width="1393.2231"
|
||||||
|
height="1085.6566"><metadata
|
||||||
|
id="metadata21"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||||
|
id="defs19" />
|
||||||
|
<g
|
||||||
|
id="g8"
|
||||||
|
transform="translate(446.22317,524.85658)">
|
||||||
|
<g
|
||||||
|
id="g6">
|
||||||
|
<circle
|
||||||
|
transform="matrix(0.7071,-0.7071,0.7071,0.7071,471.6391,371.7563)"
|
||||||
|
cx="684.59998"
|
||||||
|
cy="-383.39999"
|
||||||
|
id="ellipse2"
|
||||||
|
r="83.099998" />
|
||||||
|
<polygon
|
||||||
|
points="870.2,71.6 813.7,159.4 769.8,131.2 718.1,96.7 793.3,-19.3 694.6,-89.9 669.5,55.9 671,55.9 724.3,200.2 774.5,333.4 697.7,452.6 628.7,560.8 531.5,499.7 647.5,319.3 598.9,187.6 359,560.8 263.4,499.7 556.6,43.4 556.6,43.4 575.4,-66.4 355.9,112.4 283.7,24.6 603.6,-235.7 608.3,-240.4 625.6,-237.3 666.3,-231 700.8,-224.7 714.9,-215.3 854.5,-115 947,-49.1 885.8,46.5 "
|
||||||
|
id="polygon4" />
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
<g transform="translate(-1.9001193,-43.556581)">
|
<g
|
||||||
<path d="M131.6-382.3c0-54.7-44.3-99-99-99s-99,44.3-99,99l0,0c0,54.7,44.3,99,99,99S131.6-327.6,131.6-382.3z"/>
|
transform="translate(444.32305,481.3)"
|
||||||
<path d="M321.8-85.3C231.4-90.8,142.5-111,58.5-145c-6.6-2.7-9.7-10.1-7.1-16.7c1.9-4.9,6.7-8,11.9-8h243.8
|
id="g14">
|
||||||
c22.3,0,40.5-18.1,40.5-40.5s-18.1-40.5-40.5-40.5H-41.1c-36.3,0-68.1,24.1-77.9,59l-69.8,248.5l-35.9,209.6l-178,32
|
<path
|
||||||
c-27.5,4.9-45.8,31.2-40.8,58.7c4.9,27.5,31.2,45.8,58.7,40.8l200.4-36.1c33.5-6,59.7-32.4,65.5-66l16.7-97.4
|
d="m 131.6,-382.3 c 0,-54.7 -44.3,-99 -99,-99 -54.7,0 -99,44.3 -99,99 v 0 c 0,54.7 44.3,99 99,99 54.7,0 99,-44.3 99,-99 z"
|
||||||
c0.8-4.4,5.1-7.3,9.5-6.4c2.4,0.5,4.5,2,5.6,4.2l53.2,107.2l-84.2,229.3c-9.2,26.4,4.6,55.2,31,64.4c25.8,9,54.1-4.1,63.9-29.6
|
id="path10" />
|
||||||
l91-247.9c7.7-20.9,6.4-44-3.4-63.9L-24,77.6L21.6-72.7c94,38.9,193.7,61.9,295.2,68.2c22.3,1.4,41.5-15.6,42.9-37.9
|
<path
|
||||||
C361.1-64.7,344.1-83.9,321.8-85.3z"/>
|
d="M 321.8,-85.3 C 231.4,-90.8 142.5,-111 58.5,-145 c -6.6,-2.7 -9.7,-10.1 -7.1,-16.7 1.9,-4.9 6.7,-8 11.9,-8 h 243.8 c 22.3,0 40.5,-18.1 40.5,-40.5 0,-22.4 -18.1,-40.5 -40.5,-40.5 H -41.1 c -36.3,0 -68.1,24.1 -77.9,59 l -69.8,248.5 -35.9,209.6 -178,32 c -27.5,4.9 -45.8,31.2 -40.8,58.7 4.9,27.5 31.2,45.8 58.7,40.8 l 200.4,-36.1 c 33.5,-6 59.7,-32.4 65.5,-66 l 16.7,-97.4 c 0.8,-4.4 5.1,-7.3 9.5,-6.4 2.4,0.5 4.5,2 5.6,4.2 l 53.2,107.2 -84.2,229.3 c -9.2,26.4 4.6,55.2 31,64.4 25.8,9 54.1,-4.1 63.9,-29.6 l 91,-247.9 c 7.7,-20.9 6.4,-44 -3.4,-63.9 L -24,77.6 21.6,-72.7 c 94,38.9 193.7,61.9 295.2,68.2 22.3,1.4 41.5,-15.6 42.9,-37.9 1.4,-22.3 -15.6,-41.5 -37.9,-42.9 z"
|
||||||
|
id="path12" />
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.2 KiB |
27
tgui/packages/tgfont/icons/prosthetic-full.svg
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
version="1.1"
|
||||||
|
id="Layer_1"
|
||||||
|
x="0px"
|
||||||
|
y="0px"
|
||||||
|
viewBox="0 0 1077.457 1380.7793"
|
||||||
|
xml:space="preserve"
|
||||||
|
width="1077.457"
|
||||||
|
height="1380.7793"><metadata
|
||||||
|
id="metadata7"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||||
|
id="defs6565" />
|
||||||
|
|
||||||
|
<g
|
||||||
|
id="layer1"
|
||||||
|
style="display:inline"
|
||||||
|
transform="translate(288.72852,599.71289)"><path
|
||||||
|
id="rect7608"
|
||||||
|
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:50;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:20;stroke-dasharray:none;stroke-dashoffset:0;paint-order:normal"
|
||||||
|
d="M 250,-574.71289 A 222.22223,222.22223 0 0 0 27.777344,-352.49023 222.22223,222.22223 0 0 0 250,-130.26758 222.22223,222.22223 0 0 0 472.22266,-352.49023 222.22223,222.22223 0 0 0 250,-574.71289 Z m -469.49805,528.736328 c -24.50365,0 -44.23047,19.726819 -44.23047,44.2304682 V 78.375 c 0,24.50365 19.72682,44.23047 44.23047,44.23047 H -1.5039062 v 421.625 3.0332 164.57227 c 0,24.50365 19.7268202,44.23047 44.2304682,44.23047 H 161.16211 c 24.50365,0 44.23047,-19.72682 44.23047,-44.23047 v -120.3418 h 87.71094 v 120.3418 c 0,24.50365 19.72682,44.23047 44.23046,44.23047 H 455.76953 C 480.27318,756.06641 500,736.33959 500,711.83594 v -164.57227 -3.0332 -421.625 h 219.49805 c 24.50365,0 44.23047,-19.72682 44.23047,-44.23047 V -1.7460938 c 0,-24.5036492 -19.72682,-44.2304682 -44.23047,-44.2304682 z" /></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -1,22 +1,35 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
<svg
|
||||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
viewBox="0 0 500 500" style="enable-background:new 0 0 500 500;" xml:space="preserve">
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
<g>
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
<ellipse cx="97" cy="-305.1" rx="141.8" ry="141.8"/>
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
<path d="M654.7,11.6L455.2-212.6c-22.9-25.8-101.3,34.4-118.8,76.8c-42.1,11.9-85.6,16.4-126.2,16.4c-49.5,0-94.4-6.6-126.6-13.2
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
c-16.1-3.3-29-6.6-37.6-9c-4.3-1.1-7.6-2.2-9.7-2.8c-1.1-0.3-1.8-0.6-2.3-0.7c-0.4-0.2-0.4-0.2-0.4-0.2c-0.5-0.2-0.9-0.2-1.4-0.4
|
version="1.1"
|
||||||
c-4.2-2-8.6-3.7-13.2-4.8c-53.8-13.4-131.9,15.8-163.7,108.1c-42.9,127.3-52.2,210.1-35.8,350.2c17.3,89.2,73.2,108.1,125.7,110.8
|
id="Layer_1"
|
||||||
c4,0.7,8.1,1.1,12.3,1.1l0,0h302.7L359.9,687c11.9,31.7,41.9,51.3,73.9,51.3c9.2,0,18.5-1.6,27.6-5c40.8-15.2,61.5-60.6,46.3-101.4
|
x="0px"
|
||||||
L388.8,313.4c-11.5-30.8-41-51.3-73.9-51.3h-98.5l59.5-37.2c36.9-23.1-46.8-156.7-83.7-133.7L46.3,182.6
|
y="0px"
|
||||||
c5.6-48.8,14.9-96.4,23.5-138.7c-54.2-9.9-89.7-24-99.2-28c-15.9-7-27.7-19.3-33.9-35s-5.8-32.8,1-48.3
|
viewBox="0 0 862.82184 1185.2"
|
||||||
c10.1-23,32.7-37.8,57.8-37.8c8.8,0,17.3,1.8,25.3,5.3l1.2,0.5c1.8,0.7,4.5,1.7,8,3c7,2.5,18.3,6.1,33.1,9.8
|
xml:space="preserve"
|
||||||
c26.9,6.8,70,14.8,122.5,14.8c79.8,0,157.6-18.2,231.1-54c8.7-4.3,18-6.4,27.6-6.4c24.4,0,46.1,13.6,56.8,35.5
|
width="862.82184"
|
||||||
c15.2,31.2,2.1,69.1-29.1,84.3c-11.7,5.7-23.5,11-35.3,16l100.3,112.7c29,32.6,78.8,35.4,111.3,6.5c21-18.7,29.7-46.2,25.3-72.2
|
height="1185.2"><metadata
|
||||||
C671.2,36.6,665,23,654.7,11.6z"/>
|
id="metadata15"><rdf:RDF><cc:Work
|
||||||
<path d="M489.7-91.2c-12.2-25-42.4-35.5-67.5-23.3c-87.4,42.6-169.1,55.3-236.6,55.3c-52,0-95.5-7.6-125.7-15.2
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
c-15-3.8-26.7-7.4-34.3-10.1c-3.8-1.3-6.6-2.4-8.3-3.1c-0.8-0.3-1.5-0.6-1.7-0.7h-0.1c-25.5-11.1-55.3,0.5-66.4,26
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||||
C-62-36.8-50.4-7.1-24.8,4.1l0,0c4.3,1.8,86.6,37.5,210.6,37.7c0.1,0,0.2,0,0.2,0c80.2,0,177.9-15.5,280.6-65.4
|
id="defs13" />
|
||||||
C491.5-35.9,501.9-66,489.7-91.2z"/>
|
<g
|
||||||
|
id="g8"
|
||||||
|
transform="translate(188.10963,446.90001)">
|
||||||
|
<circle
|
||||||
|
cx="97"
|
||||||
|
cy="-305.10001"
|
||||||
|
id="ellipse2"
|
||||||
|
r="141.8" />
|
||||||
|
<path
|
||||||
|
d="M 654.7,11.6 455.2,-212.6 c -22.9,-25.8 -101.3,34.4 -118.8,76.8 -42.1,11.9 -85.6,16.4 -126.2,16.4 -49.5,0 -94.4,-6.6 -126.6,-13.2 -16.1,-3.3 -29,-6.6 -37.6,-9 -4.3,-1.1 -7.6,-2.2 -9.7,-2.8 -1.1,-0.3 -1.8,-0.6 -2.3,-0.7 -0.4,-0.2 -0.4,-0.2 -0.4,-0.2 -0.5,-0.2 -0.9,-0.2 -1.4,-0.4 -4.2,-2 -8.6,-3.7 -13.2,-4.8 -53.8,-13.4 -131.9,15.8 -163.7,108.1 -42.9,127.3 -52.2,210.1 -35.8,350.2 17.3,89.2 73.2,108.1 125.7,110.8 4,0.7 8.1,1.1 12.3,1.1 v 0 H 260.2 L 359.9,687 c 11.9,31.7 41.9,51.3 73.9,51.3 9.2,0 18.5,-1.6 27.6,-5 40.8,-15.2 61.5,-60.6 46.3,-101.4 L 388.8,313.4 c -11.5,-30.8 -41,-51.3 -73.9,-51.3 h -98.5 l 59.5,-37.2 C 312.8,201.8 229.1,68.2 192.2,91.2 L 46.3,182.6 C 51.9,133.8 61.2,86.2 69.8,43.9 15.6,34 -19.9,19.9 -29.4,15.9 c -15.9,-7 -27.7,-19.3 -33.9,-35 -6.2,-15.7 -5.8,-32.8 1,-48.3 10.1,-23 32.7,-37.8 57.8,-37.8 8.8,0 17.3,1.8 25.3,5.3 l 1.2,0.5 c 1.8,0.7 4.5,1.7 8,3 7,2.5 18.3,6.1 33.1,9.8 26.9,6.8 70,14.8 122.5,14.8 79.8,0 157.6,-18.2 231.1,-54 8.7,-4.3 18,-6.4 27.6,-6.4 24.4,0 46.1,13.6 56.8,35.5 15.2,31.2 2.1,69.1 -29.1,84.3 -11.7,5.7 -23.5,11 -35.3,16 L 537,116.3 c 29,32.6 78.8,35.4 111.3,6.5 21,-18.7 29.7,-46.2 25.3,-72.2 -2.4,-14 -8.6,-27.6 -18.9,-39 z"
|
||||||
|
id="path4" />
|
||||||
|
<path
|
||||||
|
d="m 489.7,-91.2 c -12.2,-25 -42.4,-35.5 -67.5,-23.3 -87.4,42.6 -169.1,55.3 -236.6,55.3 -52,0 -95.5,-7.6 -125.7,-15.2 -15,-3.8 -26.7,-7.4 -34.3,-10.1 -3.8,-1.3 -6.6,-2.4 -8.3,-3.1 -0.8,-0.3 -1.5,-0.6 -1.7,-0.7 h -0.1 c -25.5,-11.1 -55.3,0.5 -66.4,26 -11.1,25.5 0.5,55.2 26.1,66.4 v 0 c 4.3,1.8 86.6,37.5 210.6,37.7 0.1,0 0.2,0 0.2,0 80.2,0 177.9,-15.5 280.6,-65.4 24.9,-12.3 35.3,-42.4 23.1,-67.6 z"
|
||||||
|
id="path6" />
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.4 KiB |
@@ -1,3 +1,13 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" viewBox="0 0 200 289.742" opacity=".33"><path d="M93.538 0c-18.113 0-34.22 3.112-48.324 9.334-13.965 6.222-24.612 15.072-31.94 26.547C6.084 47.22 2.972 60.631 2.972 76.116c0 10.647 2.725 20.465 8.175 29.453 5.616 8.987 14.039 17.352 25.27 25.094 11.23 7.606 26.507 15.419 45.83 23.438 19.984 8.296 34.849 15.555 44.593 21.776 9.744 6.223 16.761 12.859 21.055 19.91 4.295 7.052 6.442 15.764 6.442 26.134 0 16.178-5.202 28.483-15.606 36.917-10.24 8.435-25.022 12.653-44.345 12.653-14.039 0-25.516-1.66-34.434-4.978-8.918-3.457-16.186-8.711-21.8-15.763-5.616-7.052-10.076-16.661-13.379-28.829H0v56.827c33.857 7.328 63.749 10.994 89.678 10.994 16.02 0 30.72-1.383 44.098-4.148 13.542-2.904 25.104-7.467 34.683-13.69 9.744-6.359 17.34-14.519 22.79-24.474 5.45-10.093 8.175-22.4 8.175-36.917 0-12.997-3.302-24.335-9.908-34.014-6.44-9.818-15.525-18.527-27.251-26.132-11.561-7.604-27.911-15.831-49.051-24.68-17.506-7.19-30.72-13.69-39.638-19.497S54.969 93.756 49.479 87.316c-5.426-6.366-9.658-15.07-9.658-24.887 0-9.264 2.075-17.214 6.223-23.85C57.142 24.18 87.331 36.782 91.12 62.925c4.84 6.775 8.85 16.247 12.03 28.415h20.532v-56c-4.479-5.924-9.955-10.631-15.909-14.373 1.64.479 3.19 1.023 4.639 1.64 6.498 2.626 12.168 7.327 17.007 14.103 4.84 6.775 8.85 16.246 12.03 28.414 0 0 8.48-.129 8.49-.002.417 6.415-1.754 9.453-4.124 12.561-2.417 3.17-5.145 6.79-4.003 13.003 1.508 8.203 10.184 10.597 14.622 9.312-3.318-.5-5.318-1.75-5.318-1.75s1.876.999 5.65-1.36c-3.276.956-10.704-.797-11.8-6.763-.958-5.208.946-7.295 3.4-10.514 2.455-3.22 5.285-6.959 4.685-14.489l.003.002h8.927v-56c-15.072-3.871-27.653-6.36-37.747-7.465C114.279.552 104.046 0 93.537 0zm70.321 17.309.238 40.305c1.318 1.226 2.44 2.278 3.341 3.106 4.84 6.775 8.85 16.246 12.03 28.414H200v-56c-6.677-4.594-19.836-10.473-36.14-15.825zm-28.12 5.605 8.565 17.717c-11.97-6.467-13.847-9.717-8.565-17.717zm22.797 0c2.771 8 1.787 11.25-4.494 17.717l4.494-17.717zm15.222 24.009 8.565 17.716c-11.97-6.466-13.847-9.717-8.565-17.716zm22.797 0c2.771 8 1.787 11.25-4.494 17.716l4.494-17.716zM97.44 49.13l8.565 17.716c-11.97-6.467-13.847-9.717-8.565-17.716zm22.795 0c2.772 7.999 1.788 11.25-4.493 17.716l4.493-17.716z"/></svg>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. -->
|
<svg width="200mm" height="300mm" opacity=".33" version="1.0" viewBox="0 0 755.71 1133.9" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||||
<!-- http://creativecommons.org/licenses/by-sa/4.0/ -->
|
<metadata>
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||||
|
<dc:title/>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<path d="m353.55 49.811c-68.112 0-128.68 11.108-181.72 33.318-52.514 22.209-92.55 53.8-120.11 94.76-27.037 40.475-38.739 88.345-38.739 143.62 0 38.005 10.247 73.05 30.741 105.13 21.118 32.079 52.792 61.938 95.025 89.573 42.229 27.15 99.676 55.038 172.34 83.662 75.147 29.613 131.05 55.524 167.69 77.73 36.641 22.213 63.028 45.9 79.175 71.069 16.151 25.172 24.224 56.27 24.224 93.286 0 57.748-19.561 101.67-58.684 131.78-38.506 30.109-94.092 45.165-166.75 45.165-52.792 0-95.95-5.9254-129.48-17.769-33.535-12.34-60.865-31.094-81.976-56.266-21.118-25.172-37.89-59.472-50.31-102.91h-93.156v202.84c127.31 26.157 239.72 39.243 337.22 39.243 60.241 0 115.52-4.9365 165.82-14.806 50.923-10.366 94.4-26.654 130.42-48.867 36.641-22.699 65.205-51.826 85.699-87.36 20.494-36.027 30.741-79.957 30.741-131.78 0-46.393-12.417-86.864-37.258-121.41-24.217-35.045-58.38-66.132-102.47-93.278-43.474-27.143-104.96-56.509-184.45-88.096-65.829-25.665-115.52-48.867-149.05-69.595-33.535-20.728-69.969-44.383-90.614-67.371-20.404-22.724-36.318-53.793-36.318-88.834 0-33.068 7.8028-61.446 23.401-85.133 41.733-51.397 155.25-6.4144 169.5 86.903 18.2 24.183 33.279 57.994 45.237 101.43h77.208v-199.89c-16.843-21.146-37.434-37.947-59.824-51.305 6.167 1.7098 11.996 3.6516 17.444 5.854 24.435 9.3735 45.756 26.154 63.953 50.341 18.2 24.183 33.279 57.99 45.237 101.42 0 0 31.888-0.46046 31.926-7e-3 1.5681 22.898-6.5957 33.743-15.508 44.837-9.0888 11.315-19.347 24.237-15.053 46.414 5.6706 29.281 38.296 37.826 54.984 33.239-12.477-1.7848-19.998-6.2466-19.998-6.2466s7.0544 3.5659 21.246-4.8545c-12.319 3.4125-40.251-2.8449-44.372-24.141-3.6024-18.59 3.5573-26.04 12.785-37.53 9.2317-11.494 19.874-24.84 17.617-51.719l0.0114 7e-3h33.569v-199.89c-56.676-13.818-103.99-22.702-141.94-26.646-37.434-3.9514-75.914-5.9218-115.43-5.9218zm264.43 61.785 0.89496 143.87c4.9562 4.3762 9.1753 8.1314 12.563 11.087 18.2 24.183 33.279 57.99 45.237 101.42h77.208v-199.89c-25.108-16.398-74.591-37.383-135.9-56.488zm-105.74 20.007 32.208 63.241c-45.012-23.084-52.07-34.685-32.208-63.241zm85.725 0c10.42 28.556 6.7198 40.157-16.899 63.241zm57.24 85.7 32.208 63.237c-45.012-23.08-52.07-34.685-32.208-63.237zm85.725 0c10.42 28.556 6.7198 40.157-16.899 63.237zm-372.71 7.8779 32.208 63.237c-45.012-23.084-52.07-34.685-32.208-63.237zm85.718 0c10.424 28.553 6.7235 40.157-16.895 63.237z" stroke-width="3.6637"/>
|
||||||
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.8 KiB |
@@ -1,50 +1,53 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "tgfont";
|
font-family: "tgfont";
|
||||||
src: url("./tgfont.woff2?958b912b123580c55529f68c4e2261bd") format("woff2"),
|
src: url("./tgfont.woff2?ac4105718bed41e8015b97ba87c9ec71") format("woff2"),
|
||||||
url("./tgfont.eot?958b912b123580c55529f68c4e2261bd#iefix") format("embedded-opentype");
|
url("./tgfont.eot?ac4105718bed41e8015b97ba87c9ec71#iefix") format("embedded-opentype");
|
||||||
}
|
}
|
||||||
|
|
||||||
i[class^="tg-"]:before, i[class*=" tg-"]:before {
|
i[class^="tg-"]:before, i[class*=" tg-"]:before {
|
||||||
font-family: tgfont !important;
|
font-family: tgfont !important;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
font-variant: normal;
|
font-variant: normal;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tg-air-tank-slash:before {
|
.tg-air-tank-slash:before {
|
||||||
content: "\f101";
|
content: "\f101";
|
||||||
}
|
}
|
||||||
.tg-air-tank:before {
|
.tg-air-tank:before {
|
||||||
content: "\f102";
|
content: "\f102";
|
||||||
}
|
}
|
||||||
.tg-bad-touch:before {
|
.tg-bad-touch:before {
|
||||||
content: "\f103";
|
content: "\f103";
|
||||||
}
|
}
|
||||||
.tg-image-minus:before {
|
.tg-image-minus:before {
|
||||||
content: "\f104";
|
content: "\f104";
|
||||||
}
|
}
|
||||||
.tg-image-plus:before {
|
.tg-image-plus:before {
|
||||||
content: "\f105";
|
content: "\f105";
|
||||||
}
|
}
|
||||||
.tg-nanotrasen-logo:before {
|
.tg-nanotrasen-logo:before {
|
||||||
content: "\f106";
|
content: "\f106";
|
||||||
}
|
}
|
||||||
.tg-non-binary:before {
|
.tg-non-binary:before {
|
||||||
content: "\f107";
|
content: "\f107";
|
||||||
|
}
|
||||||
|
.tg-prosthetic-full:before {
|
||||||
|
content: "\f108";
|
||||||
}
|
}
|
||||||
.tg-prosthetic-leg:before {
|
.tg-prosthetic-leg:before {
|
||||||
content: "\f108";
|
content: "\f109";
|
||||||
}
|
}
|
||||||
.tg-sound-minus:before {
|
.tg-sound-minus:before {
|
||||||
content: "\f109";
|
content: "\f10a";
|
||||||
}
|
}
|
||||||
.tg-sound-plus:before {
|
.tg-sound-plus:before {
|
||||||
content: "\f10a";
|
content: "\f10b";
|
||||||
}
|
}
|
||||||
.tg-syndicate-logo:before {
|
.tg-syndicate-logo:before {
|
||||||
content: "\f10b";
|
content: "\f10c";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
source _build_dependencies.sh
|
|
||||||
|
|
||||||
source ~/.nvm/nvm.sh
|
|
||||||
nvm use $NODE_VERSION
|
|
||||||
cd tgui
|
|
||||||
chmod +x bin/tgui
|
|
||||||
bin/tgui --ci
|
|
||||||
yarn tgui:prettier
|
|
||||||
cd ..
|
|
||||||
@@ -25,6 +25,7 @@ elif grep -q '#include[[:space:]]\"maps\\groundbase\\groundbase.dm\"' $BASENAME.
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Compile a copy of the codebase, and print errors as Github Actions annotations
|
# Compile a copy of the codebase, and print errors as Github Actions annotations
|
||||||
|
tools/build/build --ci tgui tg-font # compile tgui bundle
|
||||||
DreamMaker $BASENAME.dme > compile.log
|
DreamMaker $BASENAME.dme > compile.log
|
||||||
exitVal=$?
|
exitVal=$?
|
||||||
cat compile.log
|
cat compile.log
|
||||||
|
|||||||