1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00
Commit Graph

23 Commits

Author SHA1 Message Date
tobspr
722c8ef836 Start to rework the graphics for the wires layer, make wires cooler than belts 2020-06-30 12:38:20 +02:00
tobspr
0967d5114c Initial take on wires 2020-06-28 19:34:10 +02:00
tobspr
5dab3508cd Improve tunnel performance by caching receivers 2020-06-27 11:39:32 +02:00
tobspr
2e266f5f21 Get rid of 'builtins' file since its useless and causes performance issues 2020-06-27 10:51:52 +02:00
tobspr
419401b9be Improve performance by getting rid of instanceof 2020-06-27 10:38:11 +02:00
tobspr
c844dd4798 Improve performance by only updating belt ejectors on the end of paths 2020-06-27 09:52:26 +02:00
tobspr
e594b6a4a7 Add belt rendering (very slow for now) 2020-06-26 17:28:19 +02:00
tobspr
182b62d604 Add method to debug changed areas 2020-06-25 12:42:48 +02:00
tobspr
6677ff0a44 Initial take on wires 2020-06-24 22:23:10 +02:00
tobspr
9789468c2d Improve performance by caching area of changed ejectors 2020-06-24 20:25:43 +02:00
Phlosioneer
eb182d6e94 Fix lint issues 2020-06-16 22:48:29 -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
tobspr
cda24ceb04 Refactor item acceptor system for huge performance improvement 2020-06-14 14:37:13 +02:00
tobspr
ffd011ac45 Preparations for the trailer 2020-05-30 17:50:29 +02:00
tobspr
1577ebe48c Add storage building 2020-05-20 15:51:06 +02:00
tobspr
14edac0f93 Fix wrong belt stats 2020-05-18 23:58:30 +02:00
tobspr
2c48cb72aa Major performance improvements 2020-05-18 17:40:20 +02:00
tobspr
ca0e17f3dd Support dynamic tick rates 2020-05-18 12:53:01 +02:00
tobspr
d58d15ef8c Add building speed infos to all buildings 2020-05-17 15:32:19 +02:00
tobspr
13c6fc7598 Multiple improvements 2020-05-17 10:07:20 +02:00
Tobias Springer
eb46b45c9a Minor fixes 2020-05-10 17:51:54 +02:00
Tobias Springer
93c6ea683d Initial commit 2020-05-09 16:45:23 +02:00