summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-22Redstone: inline -> staticTiger Wang1-5/+5
2020-08-21Replace PowerData struct with PowerLevelTiger Wang1-6/+21
* We no longer need to track the powering block with the removal of SolidBlockHandler. PowerLevel is now just an unsigned char
2020-08-21Remove std::make_unique from redstone handler creationTiger Wang1-7/+6
2020-08-08Remove the redstone solid block handlerTiger Wang1-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
2020-08-02Ensure updating relatives calls the correct base caseTiger Wang1-1/+1
* Fixed recursive base unintentionally scheduling the origin position for an update because it called the wrong function
2020-07-26Use SimulateChunk in redstone simulatorTiger Wang1-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
2020-05-08Fix SetBlockMeta call in observer handler (#4728)peterbell101-2/+2
2020-04-16ಠ_ಠ (#4660)Tiger Wang1-0/+106
+ Provisional handling for observers