Commit Graph

205 Commits

Author SHA1 Message Date
tobspr bba29b8a8b Improve (rendering-) performance in DEV mode 2020-09-18 19:51:15 +02:00
tobspr 0238de1260 Minor performance improvements, improve underground belt performance 2020-09-18 19:21:12 +02:00
tobspr 746f4935ad Improve item ejector system 2020-09-18 18:32:53 +02:00
tobspr c0c624135b Fix belt underlays 2020-09-18 18:20:18 +02:00
tobspr b8f27aec44 Proper belt underlays for splitters 2020-09-18 18:18:38 +02:00
tobspr 16902bed8d Rename belt_base -> belt, minor refactorings 2020-09-18 12:55:46 +02:00
tobspr 0377c6d58f Highlight connected miners, improve miner performance 2020-09-13 18:39:06 +02:00
Yoshie2000 50e40888fd
Music & Sound volume sliders in the settings menu (#611)
* Added music & sound volume sliders in the settings menu

* Changed the order of the sound options in the settings menu

* Fixed the formatting, removed extra semicolon

* Removed a bad character

* Update base-en.yaml

* Updated base-en.yaml

* Removed trailing spaces

* Type safety fixes

* Replaced logical XOR (^) with !==
2020-08-31 15:46:21 +02:00
tobspr 244cede010 Make logic gates output empty if there is a conflict 2020-08-30 16:12:01 +02:00
tobspr b248c4d1f5 Show 2 digits in item processor 2020-08-30 15:44:19 +02:00
tobspr 9b8745535b Refactor item processor to use charges and thus be more correct, even at low tick rates 2020-08-30 15:31:53 +02:00
tobspr 091401e52b Store wires state on save 2020-08-29 23:38:49 +02:00
tobspr bca379ee89 Add setting to show chunk borders 2020-08-29 22:52:52 +02:00
tobspr 78fe34840a Fix buildings not working at their advertised speed, closes #440, closes #442, closes #437, closes #449 2020-08-29 22:35:30 +02:00
tobspr 12892dcf54 Improve visibility of color items 2020-08-29 21:45:32 +02:00
tobspr cf0f02826b Make comparer compare shapes, colors and booleans 2020-08-29 21:40:57 +02:00
tobspr 238b08d4d1 Make shapes truthy 2020-08-29 11:08:30 +02:00
tobspr b210db2361 Revert item filter behaviour 2020-08-29 10:45:38 +02:00
tobspr 06e276f021 Add belt reader building 2020-08-29 10:38:23 +02:00
tobspr bb739c80fa Rework quad painter and filter, rework logic gates 2020-08-29 09:35:14 +02:00
dengr1065 5487ec9818
"Logic pain fix" - Fixing quad painter pain... (#607)
* (wip) 4-painter accept pins

* fix everything

* finish 4-painer fix

* refactor processing requirement
2020-08-29 07:56:47 +02:00
tobspr 707323591b Fix crash on constant signal dialog 2020-08-28 23:10:07 +02:00
tobspr a67448fbdf Fix being able to create constant signals without value 2020-08-28 22:56:56 +02:00
tobspr 5076c03dab Fixed rotated levers not being rendered correctly 2020-08-28 22:25:31 +02:00
tobspr 93f9d7ae23 Fix cutter 2020-08-18 20:12:18 +02:00
tobspr 1a6c91f4e9 Fix crash 2020-08-18 20:07:44 +02:00
tobspr 296b76bf11 Add virtual shape processing buildings 2020-08-18 20:02:39 +02:00
tobspr 1dfb5f7476 Give more blueprint shapes in sandbox controller, create wire network even if it consists of tunnels only 2020-08-15 23:19:55 +02:00
tobspr d4cbb5b124 Fix belt underlays not rendering 2020-08-15 22:52:16 +02:00
tobspr b7efda9bf6 Further performance improvements 2020-08-15 22:44:15 +02:00
tobspr b2880700e8 Huge rendering performance improvements and minor other changes, lots of refactorings 2020-08-15 22:32:55 +02:00
tobspr 7e139d116d Catch up with enum change / merge 2020-08-15 19:50:22 +02:00
Bjorn Stromberg 6a447e3583 Remove enumLayer and enumItemType 2020-08-15 19:47:01 +02:00
tobspr 7b40292be3 Start to optimize rendering 2020-08-15 19:43:03 +02:00
tobspr b1fb0fca7e Fix wires blueprint pasting bug, do not show wire info on unconnected wires 2020-08-15 18:14:00 +02:00
tobspr 7279b75187 Improve information when hovering wires 2020-08-15 17:51:28 +02:00
tobspr 5a0d3dcbe8 Add wire coating 2020-08-15 16:16:17 +02:00
tobspr 6c8a29cea6 Sneak preview to the wires layer when placing on the regular layer 2020-08-14 15:48:26 +02:00
tobspr 390c4ce1a5 Add display 2020-08-14 14:55:37 +02:00
tobspr 349657bafc Update storage to also return if its full or not 2020-08-14 13:15:26 +02:00
dengr1065 1dab9539bf
Add storage shape ejector pin (#568) 2020-08-14 13:10:57 +02:00
tobspr 8c39d31c5b Optimize performance by using singletons for items 2020-08-14 13:09:10 +02:00
tobspr 3c34227c24 Unify assets, refactor waypoints 2020-08-14 12:14:15 +02:00
tobspr 9085f32ec3 Add multiple performance settings 2020-08-14 09:38:48 +02:00
tobspr 7fcfae747a Fix tunnels, nr. 2 2020-08-14 08:53:35 +02:00
tobspr c982827d60 New building sprites 2020-08-14 08:20:39 +02:00
tobspr f69af63aa3 Fix wires tunnel bug 2020-08-14 07:21:49 +02:00
tobspr fd7ae79971 Fix hub not accepting items 2020-08-13 21:06:54 +02:00
tobspr efd8ba7ae9 Add wire bridges and fix Q on hub crash 2020-08-13 21:04:44 +02:00
tobspr ff02508361 Add transistor building (Gate) 2020-08-13 20:47:33 +02:00
tobspr f44563fc05 Add item filter 2020-08-13 20:30:43 +02:00
tobspr 984bea1921 Add OR gate and different colors of wire based on the value 2020-08-13 20:01:54 +02:00
tobspr 49da768b73 Add NOT gate 2020-08-13 19:33:35 +02:00
tobspr 52b4d4d742 Implement wire networks, add levers 2020-08-13 19:23:00 +02:00
tobspr 75ab655998 Add basic logic gate and improve wires in general 2020-08-13 10:23:50 +02:00
tobspr f4ac6dfe03 Add constant signal emitters 2020-08-12 21:05:32 +02:00
tobspr f65b3728ed Improve wire auto-connect 2020-08-12 20:11:24 +02:00
tobspr f16ab2389a initial take on wire auto-rotation 2020-08-11 20:02:59 +02:00
tobspr 850461df8f Further take on logic wires 2020-08-11 18:40:09 +02:00
tobspr 20718ca05c Fix tslint 2020-08-11 13:29:47 +02:00
tobspr 9701a143ec Only store changed properties for all components 2020-08-10 22:53:02 +02:00
tobspr bb431b8490 Reduce savegame size by not storing the tileSize in the static entity 2020-08-10 22:13:26 +02:00
tobspr 8d329990ef Fix item filters being ignored 2020-08-10 22:04:38 +02:00
tobspr 93975df4d5 Get rid of item ejector / acceptor layers and new wires buildings for now 2020-08-10 21:24:58 +02:00
tobspr 89294c7072 Remove instant eject flag 2020-08-10 20:32:45 +02:00
tobspr b3b8da04a1 Refactor belt underlay feature into seperate component 2020-08-10 20:26:47 +02:00
tobspr 08a5b9070d Simplify hub component 2020-08-10 20:09:04 +02:00
tobspr e0ba1452b2 Start to work on logical pins 2020-08-10 15:02:49 +02:00
tobspr 6f28aff78f Vastly improve belt performance 2020-08-10 15:02:14 +02:00
tobspr bf2eee908f Refactor static map entity component to store building metaclass 2020-07-27 17:14:29 +02:00
RogiJAG f77d47d9f7 Add fl rotater variant 2020-07-18 12:03:49 -05:00
tobspr 0d6b855253 Allow color inverter to process colors as well 2020-07-07 09:06:17 +02:00
tobspr 04ea105584 Fix lots of bugs, add wire splitters / mergers 2020-07-06 21:33:37 +02:00
tobspr 54be64c0e2 Fix energy generator being not rotateable 2020-07-06 19:31:00 +02:00
tobspr 0bba6a9d79 Fix entity rendering bug when zooming out, add "Wires update" label to main menu 2020-07-06 18:36:10 +02:00
tobspr 756bcdb473 Fix tunnels entrances connecting to exits sometimes when they shouldn't 2020-07-06 14:19:46 +02:00
tobspr a1007591e5 Fix multiple bugs, 2 2020-07-05 18:33:46 +02:00
tobspr 65337f90fc Fix multiple bugs 2020-07-05 18:33:41 +02:00
tobspr d09bd0bcd7 Huge refactoring of the whole placement logic 2020-07-05 17:56:54 +02:00
tobspr d75fb184a4 Implement color inverter building 2020-07-02 18:16:04 +02:00
tobspr a77911263d Implement concept of energy consumption 2020-07-02 17:43:47 +02:00
tobspr bd899df5fe Further progress on the energy generator / wires, fix translations 2020-07-01 17:51:11 +02:00
tobspr 8667739e5e MInor wires adjustment 2020-06-30 12:42:37 +02:00
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 755f4bd2ea Update artwork and minor fixes 2020-06-30 09:27:30 +02:00
tobspr 989ed2db87 Fix wires placement not snapping 2020-06-30 08:23:05 +02:00
tobspr b499760d74 Start to work on advanced shape processing 2020-06-28 20:28:46 +02:00
tobspr 0967d5114c Initial take on wires 2020-06-28 19:34:10 +02:00
tobspr 17123fd7b9 Further work on the energy generator 2020-06-28 11:44:30 +02:00
tobspr 5dab3508cd Improve tunnel performance by caching receivers 2020-06-27 11:39:32 +02:00
tobspr a057d68a8e Micro optimization for item acceptor 2020-06-27 11:03:34 +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 d8bf4f9cd8 fix belt animation seeming to go 'backwards' on high belt speeds 2020-06-27 09:59:48 +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 8ba0a36ee1 Re-Enable automatic belt placement 2 2020-06-27 09:34:09 +02:00
Mike Winger a96b4a290d Fix tunnel incorrect delete bug 2020-06-26 20:00:44 -06:00
tobspr 42c569d91f Implement saving and restoring belt paths 2020-06-26 18:24:02 +02:00
tobspr 9a6029279d Disable some logging 2020-06-26 17:46:12 +02:00
tobspr e594b6a4a7 Add belt rendering (very slow for now) 2020-06-26 17:28:19 +02:00