peterbell10
950aeffff8
CheckBasicStyle: Check number of empty lines between functions ( #4267 )
...
Add check for number of empty lines between functions and fix the corresponding failures
2018-07-26 22:24:36 +01:00
peterbell10
60dfaa0967
Allocate redstone component handlers upfront
2017-07-17 21:40:43 +02:00
Bond-009
2a129b01aa
Fix fence gates ( #3683 )
...
This commit fixes an issue where a pressureplate would only open oak fence gates
2017-04-29 00:15:47 +01:00
Lukas Pioch
2b78fd6227
Revert "Made redstone handlers static"
2016-07-01 23:23:22 +02:00
QUSpilPrgm
33cd7f4e75
- Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update.
...
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
2016-06-15 10:33:49 +02:00
QUSpilPrgm
a567b36a8a
Don't let redstone blocks power adjacent blocks. ( #3214 )
...
* Don't let redstone blocks power adjacent blocks.
This fixes issue #2966
2016-05-28 21:48:36 +01:00
Tiger Wang
98cc2a9987
Made redstone handlers static
...
* Improvements to performance? Maybe. Can't hurt (he says).
2016-05-28 15:06:57 +01:00
Marvin Kopf
af514acd8c
Update RedstoneSimulator to delete unused cached PowerData
...
When a new block was placed that has a corresponding RedstoneHandler the PowerData for the position was cached, but never deleted and remained unchanged when the block got destroyed. The RedstoneSimulator now erases all cached PowerData for positions where the block doesn't have a RedstoneHandler (i.e. Air).
2016-02-09 22:19:29 +01:00
Mattes D
78eb4c8ed8
Removed excessive logging in redstone simulator.
2015-12-28 11:06:41 +01:00
Lukas Pioch
50a908fdc9
Fixes for clang-3.7
2015-12-19 22:43:37 +01:00
Tiger Wang
5b62c4c314
Reorganised the redstone simulator
...
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan!
* Uses classes and inheritance now
* Speed should be improved
2015-12-18 13:17:38 +00:00