Clean up and update workspace files
* Remove deprecated TSLint config * Remove jsconfig.json jsconfig.json is an alternative name for tsconfig.json that has allowJs set to true. Since the directory already contains a tsconfig.json file, this file does nothing. * Remove Gitpod configuration Gitpod is not as useful in CE because we're focusing on standalone. Also, the configuration was added just to promote the service and there are other similar services which may be preferred by the user. * Remove Travis CI configuration Travis CI is not used in shapez anymore in favor of GitHub Actions. In addition to that, CI setup for the community edition will be done once the codebase is in a better condition. * Remove CONTRIBUTORS and CONTRIBUTING.md The contributors file is out of date and unneeded as GitHub now shows all collaborators anyway - however it could be still used in the future to show a list of contributors in the game. CONTRIBUTING.md contains the text of CLA, which is not enforced in this repository. * Replace VSC workspaces with regular settings files VSCode workspaces don't provide much benefit in a source tree like shapez. This commit also adds EditorConfig and ESLint VSCode extensions to the recommended extensions list. * Remove CI workflow for building the game It hasn't been updated in a while and we don't need it for now. Once the codebase is in a more managable state, a new workflow will be added. * Remove some unused resources There are still many resources left, but they will be removed along with the relevant code later.
29
.github/workflows/ci.yml
vendored
@ -10,35 +10,6 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
name: CI
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install ffmpeg
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2-beta
|
||||
with:
|
||||
node-version: 16.x
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Yarn Dependencies
|
||||
run: |
|
||||
yarn
|
||||
cd gulp/
|
||||
yarn
|
||||
cd ..
|
||||
- name: Lint
|
||||
run: |
|
||||
yarn lint
|
||||
|
||||
yaml-lint:
|
||||
name: yaml-lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
4
.gitpod.Dockerfile
vendored
@ -1,4 +0,0 @@
|
||||
FROM gitpod/workspace-full
|
||||
|
||||
RUN sudo apt-get update \
|
||||
&& sudo apt install ffmpeg -yq
|
||||
10
.gitpod.yml
@ -1,10 +0,0 @@
|
||||
image:
|
||||
file: .gitpod.Dockerfile
|
||||
tasks:
|
||||
- init: yarn && gp sync-done boot
|
||||
- before: cd gulp
|
||||
init: gp sync-await boot && yarn
|
||||
command: yarn gulp
|
||||
ports:
|
||||
- port: 3005
|
||||
onOpen: open-preview
|
||||
166
.travis.yml
@ -1,166 +0,0 @@
|
||||
# validate config at https://config.travis-ci.com/explore
|
||||
os: linux
|
||||
dist: xenial
|
||||
language: node_js
|
||||
node_js:
|
||||
- "12"
|
||||
cache: yarn
|
||||
|
||||
# platform specific configuration
|
||||
jobs:
|
||||
# jobs which have to succeed
|
||||
include:
|
||||
# OS: MAC
|
||||
## -> build darwin
|
||||
# - name: "Standalone MacOS on MacOS"
|
||||
# os: osx
|
||||
# osx_image: xcode11.3
|
||||
# before_install:
|
||||
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
|
||||
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
|
||||
# script:
|
||||
# - cd gulp
|
||||
# - yarn gulp build.standalone-prod || travis_terminate 1
|
||||
# - yarn gulp standalone.prepare
|
||||
# - yarn gulp standalone.package.prod.darwin64
|
||||
# - cd ..
|
||||
|
||||
## -> build win
|
||||
# - name: "Standalone Windows on MacOS"
|
||||
# os: osx
|
||||
# osx_image: xcode11.3
|
||||
# before_install:
|
||||
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
|
||||
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
|
||||
# - HOMEBREW_NO_AUTO_UPDATE=1 brew cask install wine-stable
|
||||
# # prevent Wine popup dialogs about installing additional packages
|
||||
# - export WINEDLLOVERRIDES="mscoree,mshtml="
|
||||
# - export WINEDEBUG="-all"
|
||||
# script:
|
||||
# - cd gulp
|
||||
# - yarn gulp build.standalone-prod || travis_terminate 1
|
||||
# - yarn gulp standalone.prepare
|
||||
# - yarn gulp standalone.package.prod.win64
|
||||
# - yarn gulp standalone.package.prod.win32
|
||||
# - cd ..
|
||||
|
||||
## -> build linux
|
||||
# - name: "Standalone Linux on MacOS"
|
||||
# os: osx
|
||||
# osx_image: xcode11.3
|
||||
# before_install:
|
||||
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
|
||||
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
|
||||
# script:
|
||||
# - cd gulp
|
||||
# - yarn gulp build.standalone-prod || travis_terminate 1
|
||||
# - yarn gulp standalone.prepare
|
||||
# - yarn gulp standalone.package.prod.linux64
|
||||
# - yarn gulp standalone.package.prod.linux32
|
||||
# - cd ..
|
||||
|
||||
# OS: LINUX
|
||||
## -> build darwin
|
||||
## not possible
|
||||
|
||||
## -> build win
|
||||
# - name: "Standalone Windows on Linux"
|
||||
# os: linux
|
||||
# addons:
|
||||
# apt:
|
||||
# packages:
|
||||
# - libavformat-dev
|
||||
# - libavfilter-dev
|
||||
# - libavdevice-dev
|
||||
# - ffmpeg
|
||||
# - wine
|
||||
# script:
|
||||
# - cd gulp
|
||||
# - yarn gulp build.standalone-prod || travis_terminate 1
|
||||
# - yarn gulp standalone.prepare
|
||||
# - yarn gulp standalone.package.prod.win64
|
||||
# - yarn gulp standalone.package.prod.win32
|
||||
# - cd ..
|
||||
|
||||
## -> build linux
|
||||
# - name: "Standalone Linux on Linux"
|
||||
# os: linux
|
||||
# addons:
|
||||
# apt:
|
||||
# packages:
|
||||
# - libavformat-dev
|
||||
# - libavfilter-dev
|
||||
# - libavdevice-dev
|
||||
# - ffmpeg
|
||||
# script:
|
||||
# - cd gulp
|
||||
# - yarn gulp build.standalone-prod || travis_terminate 1
|
||||
# - yarn gulp standalone.prepare
|
||||
# - yarn gulp standalone.package.prod.linux64
|
||||
# - yarn gulp standalone.package.prod.linux32
|
||||
# - cd ..
|
||||
|
||||
# OS: WINDOWS
|
||||
## -> build darwin
|
||||
## not possible
|
||||
|
||||
## -> build linux
|
||||
# - name: "Standalone Linux on Windows"
|
||||
# os: windows
|
||||
# env: YARN_GPG=no
|
||||
# before_install:
|
||||
# - choco install git-lfs -y -f || echo "0" # choco fails but git-lfs is still installed
|
||||
# - choco install ffmpeg --version=4.2.3
|
||||
# - export PATH=/C/ProgramData/chocolatey/lib/ffmpeg/tools/ffmpeg/bin:$PATH
|
||||
# - wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/avicap32.dll -P /C/Windows/System32/
|
||||
# - wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/msvfw32.dll -P /C/Windows/System32/
|
||||
# script:
|
||||
# - cd gulp
|
||||
# - yarn gulp build.standalone-prod || travis_terminate 1
|
||||
# - yarn gulp standalone.prepare
|
||||
# - yarn gulp standalone.package.prod.linux64
|
||||
# - yarn gulp standalone.package.prod.linux32
|
||||
# - cd ..
|
||||
|
||||
## -> build win
|
||||
- name: "Standalone Windows on Windows"
|
||||
os: windows
|
||||
env: YARN_GPG=no
|
||||
before_install:
|
||||
- choco install git-lfs -y -f || echo "0" # choco fails but git-lfs is still installed
|
||||
- choco install ffmpeg --version=4.2.3
|
||||
- choco install wget
|
||||
- export PATH=/C/ProgramData/chocolatey/lib/ffmpeg/tools/ffmpeg/bin:$PATH
|
||||
- wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/avicap32.dll -P /C/Windows/System32/
|
||||
- wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/msvfw32.dll -P /C/Windows/System32/
|
||||
script:
|
||||
- cd gulp
|
||||
- yarn gulp build.standalone-prod || travis_terminate 1
|
||||
- yarn gulp standalone.prepare
|
||||
- yarn gulp standalone.package.prod.win64
|
||||
- yarn gulp standalone.package.prod.win32
|
||||
- cd ..
|
||||
|
||||
# mark build as finished even if "allow_failures" are still running
|
||||
fast_finish: true
|
||||
|
||||
# optional jobs which may fail
|
||||
#allow_failures:
|
||||
# - name: ""
|
||||
|
||||
# shared
|
||||
install:
|
||||
- git lfs install
|
||||
- git lfs pull
|
||||
|
||||
- yarn
|
||||
|
||||
# electron dependencies
|
||||
- cd electron
|
||||
- yarn
|
||||
- cd ..
|
||||
|
||||
# gulp dependendencies
|
||||
- cd gulp
|
||||
- yarn
|
||||
- cd ..
|
||||
8
.vscode/extensions.json
vendored
@ -1,9 +1,3 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
||||
|
||||
// List of extensions which should be recommended for users of this workspace.
|
||||
"recommendations": ["esbenp.prettier-vscode"],
|
||||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
|
||||
"unwantedRecommendations": []
|
||||
"recommendations": ["esbenp.prettier-vscode", "EditorConfig.EditorConfig", "dbaeumer.vscode-eslint"]
|
||||
}
|
||||
|
||||
12
.vscode/settings.json
vendored
@ -1,5 +1,13 @@
|
||||
{
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"editor.formatOnSave": true
|
||||
}
|
||||
"editor.formatOnSave": true,
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/Thumbs.db": true,
|
||||
"node_modules/": true,
|
||||
"build/": true,
|
||||
"build_output/": true
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,33 +0,0 @@
|
||||
Contributor license agreement (CLA)
|
||||
|
||||
1. Preamble
|
||||
Thank you for your interest in shapez by tobspr IT Solutions (the "Company"). In order to clarify the intellectual property license granted with Contributions from any person or entity, the Company must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Company and its users; it does not change your rights to use your own Contributions for any other purpose.
|
||||
|
||||
2. General
|
||||
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Company. In return, the Company shall not use Your Contributions in a way that is contrary to the public benefit or inconsistent with its bylaws in effect at the time of the Contribution. Except for the license granted herein to the Company and recipients of software distributed by the Company, You reserve all right, title, and interest in and to Your Contributions.
|
||||
You represent that you have the full authority to enter into this agreement.
|
||||
|
||||
3. Definitions
|
||||
"You" (or "Your") "You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with the Company. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"Contribution" "Contribution" shall mean any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to the Company for inclusion in, or documentation of, any of the products owned or managed by the Company (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Company or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Company for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
|
||||
|
||||
4. Grant of Copyright License
|
||||
Subject to the terms and conditions of this Agreement, You hereby grant to the Company and to recipients of software distributed by the Company a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works.
|
||||
You agree that your changes/additions are incorporated into the source code under a GPL-3 license.
|
||||
You agree that the Company is free to use its code without a GPL-3 license as closed source in any context, including for commercial purposes, without any license whatsoever
|
||||
|
||||
5. Grant of Patent License
|
||||
Subject to the terms and conditions of this Agreement, You hereby grant to the Company and to recipients of software distributed by the Company a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that your Contribution, or the Work to which you have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed.
|
||||
|
||||
6. Liability / Obligations
|
||||
You represent that you are legally entitled to grant the above license. If your employer(s) has rights to intellectual property that you create that includes your Contributions, you represent that you have received permission to make Contributions on behalf of that employer, that your employer has waived such rights for your Contributions to the Company, or that your employer has executed a separate Corporate CLA with the Company.
|
||||
You represent that each of Your Contributions is Your original creation (see section 7 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions.
|
||||
If you make changes or additions to the code, you assume full liability for this and assure that the changes/additions do not infringe the rights of third parties (e.g. copyrights).
|
||||
You are not expected to provide support for Your Contributions, except to the extent You desire to provide support. You may provide support for free, for a fee, or not at all. Unless required by applicable law or agreed to in writing, You provide Your Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON- INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
Should You wish to submit work that is not Your original creation, You may submit it to the Company separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which you are personally aware, and conspicuously marking the work as "Submitted on behalf of a third-party: [named here]".
|
||||
You agree to notify the Company of any facts or circumstances of which you become aware that would make these representations inaccurate in any respect.
|
||||
|
||||
7. Final provisions
|
||||
The law of the Federal Republic of Germany applies to this agreement.
|
||||
The contract remains binding in its remaining parts even if individual points are legally ineffective. In place of the ineffective points, the statutory provisions, if any, apply. Insofar as this would represent unreasonable hardship for one of the contracting parties, the contract as a whole will become ineffective.
|
||||
@ -1,5 +0,0 @@
|
||||
dengr1065
|
||||
- Contributed various fixes to the dark mode
|
||||
|
||||
thelockj
|
||||
- Contributed the design and initial implementation for the storage building
|
||||
10
README.md
@ -47,16 +47,6 @@ Your goal is to produce shapes by cutting, rotating, merging and painting parts
|
||||
|
||||
Mods can be found [here](https://shapez.mod.io). The documentation for creating mods can be found [here](mod_examples/), including a bunch of sample mods.
|
||||
|
||||
## Build Online with one-click setup
|
||||
|
||||
You can use [Gitpod](https://www.gitpod.io/) (an Online Open Source VS Code-like IDE which is free for Open Source) for working on issues and making PRs to this project. With a single click it will start a workspace and automatically:
|
||||
|
||||
- clone the `shapez.io` repo.
|
||||
- install all of the dependencies.
|
||||
- start `gulp` in `gulp/` directory.
|
||||
|
||||
[](https://gitpod.io/#https://github.com/tobspr-games/shapez.io)
|
||||
|
||||
## Helping translate
|
||||
|
||||
Please checkout the [Translations readme](translations/).
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"files.exclude": {
|
||||
"**/node_modules": true,
|
||||
"**/typedefs_gen": true
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
res/logo_cn.png
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 297 KiB |
|
Before Width: | Height: | Size: 993 KiB |
|
Before Width: | Height: | Size: 809 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 531 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 502 KiB |
|
Before Width: | Height: | Size: 575 KiB |
|
Before Width: | Height: | Size: 776 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 317 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="Capa_1" enable-background="new 0 0 512 512" height="512px" viewBox="0 0 512 512" width="512px" class=""><g><path d="m106 512h300c24.814 0 45-20.186 45-45v-317h-105c-24.814 0-45-20.186-45-45v-105h-195c-24.814 0-45 20.186-45 45v422c0 24.814 20.186 45 45 45zm60-301h180c8.291 0 15 6.709 15 15s-6.709 15-15 15h-180c-8.291 0-15-6.709-15-15s6.709-15 15-15zm0 60h180c8.291 0 15 6.709 15 15s-6.709 15-15 15h-180c-8.291 0-15-6.709-15-15s6.709-15 15-15zm0 60h180c8.291 0 15 6.709 15 15s-6.709 15-15 15h-180c-8.291 0-15-6.709-15-15s6.709-15 15-15zm0 60h120c8.291 0 15 6.709 15 15s-6.709 15-15 15h-120c-8.291 0-15-6.709-15-15s6.709-15 15-15z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#00AF80"/><path d="m346 120h96.211l-111.211-111.211v96.211c0 8.276 6.724 15 15 15z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#00AF80"/></g> </svg>
|
||||
|
Before Width: | Height: | Size: 953 B |
@ -1 +0,0 @@
|
||||
<svg id="Layer_1" enable-background="new 0 0 100 100" height="512" viewBox="0 0 100 100" width="512" xmlns="http://www.w3.org/2000/svg"><g id="_x35_1.GitHub"><path id="Icon_83_" d="m35.913 90c2.845 0 3.621-1.122 3.621-2.504 0-1.237-.044-4.513-.066-8.854-14.741 3.14-17.85-6.986-17.85-6.986-2.411-6.01-5.896-7.618-5.896-7.618-4.8-3.228.371-3.162.371-3.162 5.322.362 8.117 5.366 8.117 5.366 4.725 7.962 12.405 5.662 15.435 4.332.477-3.37 1.842-5.662 3.356-6.964-11.769-1.303-24.139-5.781-24.139-25.733 0-5.684 2.054-10.329 5.454-13.973-.596-1.316-2.385-6.611.464-13.783 0 0 4.438-1.396 14.573 5.339 4.24-1.157 8.744-1.731 13.249-1.758 4.505.026 9.009.601 13.249 1.758 10.069-6.735 14.507-5.339 14.507-5.339 2.848 7.172 1.06 12.467.53 13.783 3.378 3.643 5.432 8.289 5.432 13.973 0 20.005-12.387 24.408-24.179 25.689 1.855 1.563 3.577 4.756 3.577 9.636 0 6.969-.066 12.569-.066 14.26 0 1.365.59 2.473 3.643 2.473z" fill="#212121"/></g></svg>
|
||||
|
Before Width: | Height: | Size: 937 B |
|
Before Width: | Height: | Size: 12 KiB |
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="Capa_1" enable-background="new 0 0 512 512" height="512px" viewBox="0 0 512 512" width="512px"><g><g><g><path d="m496 0h-210c-8.284 0-15 6.716-15 15v260c0 8.284 6.716 15 15 15h143.787l55.606 55.606c2.869 2.87 6.706 4.394 10.609 4.394 1.933 0 3.882-.374 5.737-1.142 5.605-2.322 9.26-7.792 9.26-13.858v-320c.001-8.284-6.715-15-14.999-15zm-40 130h-10.978c-3.123 23.867-13.59 45.455-29.054 62.414 10.691 4.857 22.545 7.586 35.032 7.586 8.284 0 15 6.716 15 15s-6.716 15-15 15c-21.972 0-42.521-6.198-60-16.931-17.478 10.733-38.028 16.931-60 16.931-8.284 0-15-6.716-15-15s6.716-15 15-15c12.487 0 24.342-2.729 35.032-7.586-15.464-16.959-25.932-38.547-29.054-62.414h-10.978c-8.284 0-15-6.716-15-15s6.716-15 15-15h50v-25c0-8.284 6.716-15 15-15s15 6.716 15 15v25h50c8.284 0 15 6.716 15 15s-6.716 15-15 15z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#4949E7"/><path d="m391 175.148c12.068-12.039 20.523-27.681 23.648-45.148h-47.295c3.124 17.467 11.579 33.11 23.647 45.148z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#4949E7"/></g><g><path d="m100.59 327.624h41.01l-20.411-54.086z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#4949E7"/><path d="m226 162h-210c-8.284 0-15 6.716-15 15v320c0 6.067 3.654 11.537 9.26 13.858 1.855.769 3.805 1.142 5.737 1.142 3.903 0 7.74-1.524 10.609-4.394l55.607-55.606h143.787c8.284 0 15-6.716 15-15v-260c0-8.284-6.716-15-15-15zm-44.438 229.034c-1.743.658-3.534.97-5.293.97-6.062 0-11.77-3.701-14.037-9.708l-9.311-24.673h-63.757l-9.413 24.715c-2.948 7.741-11.61 11.628-19.356 8.679-7.741-2.948-11.627-11.615-8.679-19.356l52.569-138.028c.043-.114.088-.228.135-.34 2.803-6.852 9.397-11.284 16.8-11.292h.021c7.396 0 13.99 4.416 16.806 11.256.057.137.11.275.163.413l52.092 138.034c2.924 7.751-.989 16.405-8.74 19.33z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#4949E7"/></g></g></g> </svg>
|
||||
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
@ -1,25 +0,0 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"files.exclude": {
|
||||
"**/build": true,
|
||||
"**/node_modules": true,
|
||||
"**/tmp_standalone_files": true,
|
||||
"**/typedefs_gen": true
|
||||
},
|
||||
"vetur.format.defaultFormatter.js": "vscode-typescript",
|
||||
"vetur.format.defaultFormatter.ts": "vscode-typescript",
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"workbench.colorCustomizations": {
|
||||
"activityBar.background": "#163328",
|
||||
"titleBar.activeBackground": "#1F4738",
|
||||
"titleBar.activeForeground": "#F7FBFA"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -16,9 +16,4 @@
|
||||
background: uiResource("puzzle_dlc_logo_inverse.png") center center / contain no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
&.china {
|
||||
/* @load-async */
|
||||
background: uiResource("puzzle_dlc_logo_china.png") center center / contain no-repeat !important;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
import { T } from "../translations";
|
||||
import { WEB_STEAM_SSO_AUTHENTICATED } from "./steam_sso";
|
||||
|
||||
const bigNumberSuffixTranslationKeys = ["thousands", "millions", "billions", "trillions"];
|
||||
|
||||
@ -748,14 +747,6 @@ export function getRomanNumber(number) {
|
||||
* Returns the appropriate logo sprite path
|
||||
*/
|
||||
export function getLogoSprite() {
|
||||
if (G_IS_STANDALONE || WEB_STEAM_SSO_AUTHENTICATED) {
|
||||
return "logo.png";
|
||||
}
|
||||
|
||||
if (G_IS_BROWSER) {
|
||||
return "logo_demo.png";
|
||||
}
|
||||
|
||||
return "logo.png";
|
||||
}
|
||||
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"checkJs": true
|
||||
},
|
||||
"include": ["./**/*.js"]
|
||||
}
|
||||
@ -1,16 +0,0 @@
|
||||
{
|
||||
"defaultSeverity": "error",
|
||||
"extends": ["tslint:recommended"],
|
||||
"jsRules": {
|
||||
"trailing-comma": false,
|
||||
"comma-dangle": ["error", "never"],
|
||||
"object-literal-sort-keys": false,
|
||||
"member-ordering": false,
|
||||
"max-line-length": false,
|
||||
"no-console": false,
|
||||
"forin": false,
|
||||
"no-empty": false,
|
||||
"space-before-function-paren": ["always"]
|
||||
},
|
||||
"rulesDirectory": []
|
||||
}
|
||||