Даниїл Григор'єв
6ff5cc26d2
Merge pull request #41 from tobspr-games/dengr1065/electron-updates
...
Update the Electron wrapper
2024-08-13 12:12:22 +03:00
Даниїл Григор'єв
a2e192f610
Modify Electron wrapper
...
Minimal set of changes, not a refactor yet. Make shapez store all of
its data in a single directory whose path is provided by Electron APIs.
Useless checks and web preferences are removed and app.isPackaged is
used to detect whether the app should try to load a localhost URL.
2024-07-27 23:08:57 +03:00
Даниїл Григор'єв
7bc48c1f28
Update Electron
2024-07-27 22:32:52 +03:00
Даниїл Григор'єв
cbd3f20f20
Merge pull request #40 from tobspr-games/dengr1065/even-more-cleanups
...
Even more cleanups
2024-07-27 21:59:26 +03:00
Даниїл Григор'єв
ad6e3c3b92
Fix Vector#equalsEpsilon ignoring parameter
...
Provided epsilon parameter was used for Y axis but ignored for X axis.
Some useless return statements are also removed.
2024-07-26 18:59:55 +03:00
Даниїл Григор'єв
67f7babd09
Drop support for SHA1 checksums
...
Also remove an unused function and switch to crypto.randomUUID() for
savegame ID generation.
2024-07-26 18:01:38 +03:00
Даниїл Григор'єв
bbde68df23
Remove some polyfills
...
The Math polyfills might still be needed (even though they are polluting
the Math object) and I'm not sure about DOM polyfills yet.
2024-07-26 17:48:52 +03:00
Даниїл Григор'єв
ed44ff1ebe
Remove prefixed imageSmoothingEnabled
...
webkitImageSmoothingEnabled got deprecated back in 2016.
globalConfig.smoothing.quality is now properly typed as well.
2024-07-26 17:39:38 +03:00
Даниїл Григор'єв
79c4f3b9b0
[TS] Rename globalConfig
2024-07-26 17:36:31 +03:00
Даниїл Григор'єв
e618776013
Minor globalConfig and unused code cleanup
...
Remove secrets that are no longer used and fetchDiscounts preload step.
2024-07-26 17:01:57 +03:00
Даниїл Григор'єв
bf0e3f7949
Remove compression prefix fallback
...
All modern browsers should support \1 as the compression prefix, even
outside of Electron or recent Chromium versions. Local storage /
IndexedDB platform wrappers were removed a while ago.
2024-07-26 16:27:31 +03:00
Даниїл Григор'єв
89ca498613
Remove some legacy browser support code
...
Includes prefixed document.hidden property with respective
visibilitychanged event and redundant support for navigator.language /
lack of navigator.languages check.
2024-07-26 16:24:20 +03:00
Даниїл Григор'єв
a3d82cc46a
Remove accessNestedPropertyReverse
...
Obfuscation is useless in an open source game.
2024-07-26 16:15:41 +03:00
Даниїл Григор'єв
04e96e0d68
Merge pull request #37 from tobspr-games/dengr1065/avoid-storedshapes-direct-access
...
Replace some outside usages of HubGoals#storedShapes
2024-07-24 19:56:13 +03:00
Acquario1310
807f3306aa
Update italian translation ( #38 )
2024-07-20 10:52:25 +03:00
Даниїл Григор'єв
ad8eccef55
Avoid direct HubGoals#storedShapes access
...
Use getShapesStored and getShapesStoredByKey when possible instead. Only
covers usages outside of hub goals.
2024-07-11 10:36:44 +03:00
Даниїл Григор'єв
8b7560a09c
Merge pull request #36 from tobspr-games/fix/shapez-exports-nondev
...
Fix shapez exports not being exposed in production
2024-07-10 10:14:53 +03:00
Даниїл Григор'єв
318baaa42d
Fix shapez exports not being exposed in production
...
A previous commit has mistakenly changed the behavior of a condition
checking for standalone version. Instead of always being true, shapez
exports were only exposed if the game was built in development mode.
2024-07-02 15:09:51 +03:00
Даниїл Григор'єв
ddc4513e46
Merge pull request #35 from tobspr-games/dengr1065/more-cleanups
...
Various cleanups
2024-06-25 21:31:16 +03:00
Даниїл Григор'єв
4bf8011b88
Remove unused typehints block
2024-06-25 21:15:50 +03:00
Даниїл Григор'єв
f5d8b73d8a
Remove FTP tasks
2024-06-20 19:48:57 +03:00
Даниїл Григор'єв
1e24b11834
Fix external link handling
2024-06-20 19:46:26 +03:00
Даниїл Григор'єв
a7ec1e53bf
Remove more unused styles
2024-06-20 19:43:59 +03:00
Даниїл Григор'єв
0e7082dbbd
Get rid of more Steam leftovers
2024-06-20 18:31:52 +03:00
Даниїл Григор'єв
4940135140
Remove some mobile-web code
2024-06-20 16:09:43 +03:00
Даниїл Григор'єв
903b196e1e
Remove unused webpack files
2024-06-20 16:05:06 +03:00
Даниїл Григор'єв
031a7c05d5
Merge pull request #34 from tobspr-games/dengr1065/fix/update-fluent-ffmpeg
...
Update fluent-ffmpeg to 2.1.3
2024-06-20 15:37:21 +03:00
Даниїл Григор'єв
3a05b458db
Update indirect dependency fluent-ffmpeg
...
fluent-ffmpeg@2.1.3 fixes support for FFmpeg 7.x.
2024-06-20 15:24:42 +03:00
Даниїл Григор'єв
6581955ccf
Merge pull request #33 from tobspr-games/dengr1065/formatting-update
...
Update formatting configurations and format all files
2024-06-20 15:17:33 +03:00
Даниїл Григор'єв
25614e2d7e
Merge branch 'master' into dengr1065/formatting-update
2024-06-20 15:16:46 +03:00
Даниїл Григор'єв
96aef3d9e7
Merge pull request #31 from tobspr-games/dengr1065/eslint-config2
...
Fix and modify ESLint configuration
2024-06-20 15:14:40 +03:00
Даниїл Григор'єв
0c8b87983b
Update prettier-all script
...
Also exclude files with extensions that are usually large. Reduces the
format time by approximately 4 seconds.
2024-06-20 13:29:06 +03:00
Даниїл Григор'єв
2f0a505297
Apply formatting to the rest of files
2024-06-20 13:02:02 +03:00
Даниїл Григор'єв
5ff15f3029
Apply formatting to gulp
2024-06-20 13:00:58 +03:00
Даниїл Григор'єв
f49def0c19
Apply formatting to src/css
2024-06-20 12:59:43 +03:00
Даниїл Григор'єв
89992e2299
Apply formatting to src/js
2024-06-20 12:59:07 +03:00
Даниїл Григор'єв
392b4cad13
Merge .gitignore files
...
Prettier only takes the root .gitignore into account, which leads to
formatting of auto-generated files. Moving ignore patterns into the root
.gitignore file makes Prettier follow them and cleans up the workspace.
2024-06-20 12:50:37 +03:00
Даниїл Григор'єв
1d26ba67ea
Update formatting configurations
...
EditorConfig applies to all files, LF is enforced instead of CRLF,
Prettier configuration moved to JSON, properties are inherited from
EditorConfig.
2024-06-20 12:43:30 +03:00
Даниїл Григор'єв
e0fd899cb8
Update Prettier to 3.3.2
2024-06-20 12:43:03 +03:00
Даниїл Григор'єв
e142c1211f
Merge pull request #32 from cody-ferguson/feat/remove-all-web-stuff
...
Remove all web related stuff
2024-06-20 02:12:52 +03:00
cody-ferguson
168e0bcb6d
Fix import assertion
2024-06-19 18:05:46 -05:00
cody-ferguson
894ceab854
Remove folders and steam stuff
2024-06-19 17:12:08 -05:00
cody-ferguson
6662cb2694
Remove all references of "G_IS_STANDALONE"
2024-06-19 13:47:50 -05:00
Даниїл Григор'єв
6f1706aa23
Modify ESLint configuration
...
Fix minimatch patterns, disable no-unused-vars entirely, stop calling
tsc in the lint script.
2024-06-19 12:25:13 +03:00
Даниїл Григор'єв
60b2727b42
Merge pull request #30 from tobspr-games/dengr1065/eslint-tsc-revamp
...
Redo ESLint and TypeScript configuration
2024-06-18 18:27:18 +03:00
Даниїл Григор'єв
84350a4cd0
Simplify ESLint file matching patterns
2024-06-18 14:43:55 +03:00
Даниїл Григор'єв
878f0e1488
Merge pull request #26 from tobspr-games/chore/remove-mod-examples
...
Remove mod examples
2024-06-18 12:43:05 +03:00
EmeraldBlock
b4bbfcb4f0
remove mod_examples
2024-06-18 04:14:21 -05:00
Даниїл Григор'єв
d8f378d7e1
Redo ESLint and TypeScript compiler config
...
Many configuration files in this repository were created a long time
ago, then were modified as problems occurred. Now that there is
TypeScript support, it makes sense to clean up this mess, at least by
making small steps. This configuration is based on strict settings, but
most of these are currently disabled - otherwise it would be too hard to
work with existing JavaScript code. The downside of this change is
pollution of files with warnings and errors, even though they are valid.
- ESLint/TypeScript upgraded
- TS configuration is now shared between arbitrary Node scripts, Gulp
files and the Electron wrapper
- A few eslint-disable comments are removed
2024-04-27 00:23:34 +03:00
Даниїл Григор'єв
7aeb687d14
Merge pull request #27 from tobspr-games/refactor/gulp
...
Refactor gulp setup; switch from webpack watch to gulp.watch exclusively
2024-04-26 22:42:00 +03:00