summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace PowerData struct with PowerLevelTiger Wang2020-08-211-6/+21
| | | | * We no longer need to track the powering block with the removal of SolidBlockHandler. PowerLevel is now just an unsigned char
* Remove std::make_unique from redstone handler creationTiger Wang2020-08-211-7/+6
|
* Remove the redstone solid block handlerTiger Wang2020-08-081-11/+5
| | | | | | | - Remove cSolidBlockHandler * Functionality now integrated into simulator dispatcher * Fix door double open/close issues, arisen due to the top/bottom halves getting different power + Small migration to block states for redstone wire
* Ensure updating relatives calls the correct base caseTiger Wang2020-08-021-1/+1
| | | | * Fixed recursive base unintentionally scheduling the origin position for an update because it called the wrong function
* Use SimulateChunk in redstone simulatorTiger Wang2020-07-261-25/+19
| | | | | | + Improved performance, reduces bottleneck in chunkmap lookup * Stop allocating and throwing away lots of small vectors in Update/GetValidSourcePositions return values - Remove unused GetPowerLevel virtual
* Fix SetBlockMeta call in observer handler (#4728)peterbell102020-05-081-2/+2
|
* ಠ_ಠ (#4660)Tiger Wang2020-04-161-0/+106
+ Provisional handling for observers