summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-2/+2
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-062-3/+0
|
* Remove double includes part 2 (#3890)peterbell102017-08-032-2/+0
|
* Allocate redstone component handlers upfrontpeterbell102017-07-1722-299/+264
|
* Clang 5.0 fixesLukas Pioch2017-05-211-1/+1
| | | | | - Added override keyword - Removed inherited member variables
* Fix fence gates (#3683)Bond-0092017-04-291-0/+5
| | | This commit fixes an issue where a pressureplate would only open oak fence gates
* Updated sounds and effect IDs (#3422)mathiascode2017-02-152-2/+2
|
* Fix comparator segfaultsMarvin Kopf2016-12-061-1/+8
| | | | The handler would get called for any BlockEntity, but not every BlockEntity is a BlockEntityWithItems. Downcasting with static_cast is UB on fail.
* Redstone fixes (#3285)Tiger Wang2016-07-312-52/+86
| | | | | | | | * Comparators and pistons no longer update instantly * Fixes #3168. * Consolidated comparator code * As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did)
* Revert "Redstone fixes"Mattes D2016-07-292-86/+52
|
* Consolidated comparator codeTiger Wang2016-07-291-46/+37
| | | | | * As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did)
* Comparators and pistons no longer update instantlyTiger Wang2016-07-292-12/+55
| | | | * Fixes #3168.
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-1/+0
|
* Revert "Made redstone handlers static"Lukas Pioch2016-07-012-93/+31
|
* - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update.QUSpilPrgm2016-06-152-5/+28
| | | | - Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
* Don't let redstone blocks power adjacent blocks. (#3214)QUSpilPrgm2016-05-282-3/+2
| | | | | * Don't let redstone blocks power adjacent blocks. This fixes issue #2966
* Made redstone handlers staticTiger Wang2016-05-282-31/+93
| | | | * Improvements to performance? Maybe. Can't hurt (he says).
* Update RedstoneSimulator to delete unused cached PowerDataMarvin Kopf2016-02-092-1/+10
| | | | 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).
* Bulk clearing of whitespaceLogicParrot2016-02-052-3/+3
|
* Fixed issue #2218Austin Martin2016-01-111-3/+5
|
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-1/+1
| | | | Also upgraded the user setting file for MSVC to 2013.
* Removed excessive logging in redstone simulator.Mattes D2015-12-281-7/+0
|
* Silenced the Redstone Simulator console spamSafwat Halaby2015-12-2417-20/+20
|
* Fixes for clang-3.7Lukas Pioch2015-12-194-6/+6
|
* Reorganised the redstone simulatorTiger Wang2015-12-1824-0/+2195
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved