tobspr
e594b6a4a7
Add belt rendering (very slow for now)
2020-06-26 17:28:19 +02:00
tobspr
a71c0b8039
Take 3 on the belt performance (+ tslint fixes)
2020-06-26 17:02:52 +02:00
tobspr
9ce912dbdd
Second take on belt performance
2020-06-26 16:31:36 +02:00
tobspr
192d1dbedb
Initial take on belt optimization
2020-06-26 13:57:07 +02:00
tobspr
7ca425c8f3
Fix belt rendering bug
2020-06-25 12:53:59 +02:00
tobspr
182b62d604
Add method to debug changed areas
2020-06-25 12:42:48 +02:00
tobspr
77ddef0170
Add more FPS to belt animation
2020-06-25 12:18:48 +02:00
tobspr
7b15a256b5
Further improve belt placement performance
2020-06-24 20:36:15 +02: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
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
tobspr
e95b055e10
Minor improvements to belt performance
2020-06-14 14:20:35 +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
a42b625aa5
Fix multiple bugs in the belt system
2020-05-18 19:23:37 +02:00
tobspr
2c48cb72aa
Major performance improvements
2020-05-18 17:40:20 +02:00
tobspr
260ba892c8
Properly process belt dependencies and fix items not travelling linear on belts
2020-05-18 16:08:33 +02:00
tobspr
ca0e17f3dd
Support dynamic tick rates
2020-05-18 12:53:01 +02:00
tobspr
65529cce1a
Fix hub not accepting all itmes
2020-05-18 11:47:17 +02:00
tobspr
d58d15ef8c
Add building speed infos to all buildings
2020-05-17 15:32:19 +02:00
tobspr
bce44188c8
Add underground belt tier 2
2020-05-16 23:48:56 +02:00
tobspr
5e3c28c150
Add support for different building variants
2020-05-16 22:45:40 +02:00
Tobias Springer
bb1758642b
Add originalRotation to static comp in order to fix bugs with the automatic placement
2020-05-10 17:45:48 +02:00
Tobias Springer
72476486b7
Improve placement of belts
2020-05-10 17:00:02 +02:00
Tobias Springer
93c6ea683d
Initial commit
2020-05-09 16:45:23 +02:00