summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ಠ_ಠ (#4660)Tiger Wang2020-04-161-0/+3
| | | + Provisional handling for observers
* Filter blocks to add to redstone sim's wake queue (#4621)peterbell102020-04-051-2/+61
|
* Lock hopper when powered by redstone (#4347)Bond-0092020-03-271-0/+2
| | | | | | | | | * Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is>
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-1/+1
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Allocate redstone component handlers upfrontpeterbell102017-07-171-26/+49
|
* Fix fence gates (#3683)Bond-0092017-04-291-0/+5
| | | This commit fixes an issue where a pressureplate would only open oak fence gates
* Revert "Made redstone handlers static"Lukas Pioch2016-07-011-90/+30
|
* - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update.QUSpilPrgm2016-06-151-3/+3
| | | | - Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
* Don't let redstone blocks power adjacent blocks. (#3214)QUSpilPrgm2016-05-281-1/+1
| | | | | * Don't let redstone blocks power adjacent blocks. This fixes issue #2966
* Made redstone handlers staticTiger Wang2016-05-281-30/+90
| | | | * Improvements to performance? Maybe. Can't hurt (he says).
* Update RedstoneSimulator to delete unused cached PowerDataMarvin Kopf2016-02-091-1/+4
| | | | 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).
* Removed excessive logging in redstone simulator.Mattes D2015-12-281-7/+0
|
* Fixes for clang-3.7Lukas Pioch2015-12-191-2/+2
|
* Reorganised the redstone simulatorTiger Wang2015-12-181-0/+170
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved