xSparfuchs
a5e5cd9e4f
fix large screenshots
2020-06-17 19:44:53 +02:00
tobspr
a6ed85e9da
Fix belt planner
2020-06-17 15:57:34 +02:00
tobspr
61bcc31861
Fix mouse handling
2020-06-17 14:56:21 +02:00
tobspr
4c20094878
Do not choose direction lock side automatically, instead make it toggleable
2020-06-17 14:39:12 +02:00
tobspr
fc883f1e5e
Add keybinding hint for direction lock
2020-06-17 14:29:43 +02:00
tobspr
3ddc0de2c4
Improve flickering
2020-06-17 14:05:17 +02:00
tobspr
317b7d72ff
Add setting to disable vignette
2020-06-17 13:58:59 +02:00
tobspr
26949d5e3d
Fix flickering in direction lock
2020-06-17 13:55:44 +02:00
tobspr
6d59847153
Update changelog
2020-06-17 13:43:14 +02:00
tobspr
b6964ad1bf
Improve direction lock
2020-06-17 13:42:53 +02:00
tobspr
0a35c9f5b2
Improve belt direction lock
2020-06-17 13:37:41 +02:00
tobspr
a95e69401d
Improve belt direction lock
2020-06-17 13:21:34 +02:00
tobspr
84969a9205
Refactor building placer
2020-06-17 13:12:39 +02:00
tobspr
9feecb2ac3
Merge branch 'master' of https://github.com/tobspr/shapez.io
2020-06-17 11:18:45 +02:00
Phlosioneer
eb182d6e94
Fix lint issues
2020-06-16 22:48:29 -04:00
Andifaind
89a1b8bb0c
Fixed lint issue
2020-06-16 23:18:12 -03:00
Andifaind
d371726861
Translation for "Made by" text in the main menu
2020-06-16 23:11:10 -03:00
Phlosioneer
da24c472d7
Fix click and drag
...
Clicking and dragging can trigger up to 4 add/destroy signals, and it's
a common case.
2020-06-16 22:08:46 -04:00
Phlosioneer
aef96cff6e
Optimize ejector cache for common case
...
This commit optimizes the ejector cache for clicking and dragging belts,
or adding/removing a building. It's a big performance improvement for
large maps; on average, it only has to visit 60 slots per update,
compared to 20,000+ slots.
2020-06-16 21:50:16 -04:00
Phlosioneer
36cf28029e
Remove ejector cache; use slot caches instead
...
This is a small refactoring that removes the main ejector cache. The
cache is now tracked by slots and ejector components.
It avoids a large array allocation and many small object allocations,
but adds many small array allocations. It's net neutral for performance.
2020-06-16 21:11:26 -04:00
Phlosioneer
2341772425
Optimize belt cache for common case
...
Most of the time, we're adding/removing one building at a time. We don't
need to recheck every belt, only the ones near the changed belt.
2020-06-16 20:23:11 -04:00
Phlosioneer
8a50fdb392
Remove belt cache array; use BeltComponent instead
...
Removed the belt cache array. Follow-up belts are cached in the belt's
BeltComponent instead. This change also removes the recursive follow-up
search, which could cause a stack overflow for an extremely long belt
chain.
Saves one object allocation per belt per change, two very large array
allocations per change, many function calls, and belts are only visited
exactly once per change.
2020-06-16 19:56:09 -04:00
dengr1065
97c52169da
Changelog, support for dark theme in document root
2020-06-17 02:55:13 +03:00
Phlosioneer
d4fc2e6dcd
Fix lint errors
2020-06-16 16:21:45 -04:00
Phlosioneer
83a4928be5
Make miners cache mined item
...
Saves two chunk+tile lookups per update, and one chunk+tile lookup per
draw.
2020-06-16 16:02:29 -04:00
tobspr
736e5fb432
Fix crash
2020-06-16 20:13:46 +02:00
tobspr
bbd50fdce9
Update changelog
2020-06-16 20:10:22 +02:00
tobspr
31ab5f3422
Disable direction lock for everything but belts
2020-06-16 20:10:00 +02:00
tobspr
e2d6d9d51d
Update changelog
2020-06-16 20:05:45 +02:00
tobspr
46ceefd0d8
Disable automatic orientation when using belt lock
2020-06-16 20:02:52 +02:00
tobspr
4fc1ff6b0d
Improve belt lock
2020-06-16 19:45:16 +02:00
tobspr
3afe2eb329
Update changelog
2020-06-16 19:40:44 +02:00
tobspr
35a13a09e5
Add belt lock feature
2020-06-16 19:40:00 +02:00
tobspr
b753187cde
Add setting to disable smart tunnels
2020-06-16 19:24:23 +02:00
tobspr
1e1224b496
Merge branch 'master' of https://github.com/tobspr/shapez.io
2020-06-16 17:50:44 +02:00
tobspr
68ec3561c9
Update changelog
2020-06-16 17:50:42 +02:00
tobspr
3c3c5acc8e
Merge pull request #85 from jaysc/continue
...
Added continue button
2020-06-16 17:48:43 +02:00
tobspr
5ddf7bbd58
Merge pull request #148 from Demivan/gulp-4
...
Update gulp to version 4
2020-06-16 16:56:56 +02:00
tobspr
4ed004f902
Merge pull request #186 from mini-bomba/fix-standalone-only-settings-hint
...
Fixed standalone only setting hint not being translated
2020-06-16 16:51:09 +02:00
mini-bomba
b6e03d6cd0
Fixed standalone only setting hint not being translated
2020-06-16 14:51:48 +02:00
tobspr
512a1eb0d3
Update changelog
2020-06-16 14:09:05 +02:00
tobspr
b8c3668d88
Placing underground belts now removes belts and other (unneeded) tunnels inbetween
2020-06-16 13:19:53 +02:00
tobspr
1af564e816
Add mirrored painter variant
2020-06-16 11:57:17 +02:00
tobspr
fccb30b5a5
Fix dark mode for markers
2020-06-16 10:36:32 +02:00
tobspr
5c12c605f5
Reworked waypoints
2020-06-16 10:25:31 +02:00
tobspr
2d4a67aa11
update changelog
2020-06-15 22:44:29 +02:00
tobspr
32d169b7db
Bump fast pan speed from 2 to 4
2020-06-15 22:29:55 +02:00
Glenn Martin Jensen
159e2e1262
Capitalize N in "norsk" to match other languages
2020-06-15 22:24:06 +02:00
tobspr
4f37d1e3f0
Update translations & changelog
2020-06-15 22:16:29 +02:00
tobspr
c1ecc4c3e7
Further update translations
2020-06-15 22:03:28 +02:00