summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-04Do not GetBlock individually in simulatorsTiger Wang1-1/+2
* Have the simulator manager get the block and pass it on + Add new overload for WakeUp, called when the manager wakes face positions
2020-08-02Always use relative coordinates in AddBlockTiger Wang1-21/+15
+ Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available
2020-08-02Add WakeUp/AddBlock distinctionTiger Wang1-1/+5
* WakeUp is for singular changes (block breaking for example). The simulator should check blocks around the position and discover other affected blocks as it sees fit * AddBlock is for when you know a whole area is to be updated; chunk loading, or area wakeups for example + Prepares for correct handling of destroyed blocks after removal of SolidBlockHandler in the redstone simulator
2020-07-26Use SimulateChunk in redstone simulatorTiger Wang1-11/+8
+ 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-04-16ಠ_ಠ (#4660)Tiger Wang1-0/+2
+ Provisional handling for observers
2020-04-16Using Super.Mattes D1-4/+6
2020-04-05Filter blocks to add to redstone sim's wake queue (#4621)peterbell101-4/+1
2017-08-17Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly1-2/+2
2017-07-17Allocate redstone component handlers upfrontpeterbell101-1/+4
2016-07-01Revert "Made redstone handlers static"Lukas Pioch1-3/+1
2016-05-28Made redstone handlers staticTiger Wang1-1/+3
* Improvements to performance? Maybe. Can't hurt (he says).
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-12-18Reorganised the redstone simulatorTiger Wang1-0/+167
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved